org.mule.examples.leagues.response
Class Fixture

java.lang.Object
  extended by org.mule.examples.leagues.response.Fixture
All Implemented Interfaces:
Serializable

public class Fixture
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Fixture()
           
 
Method Summary
 List<Match> getFixture()
           
 void setFixture(List<Match> fixture)
           
 String toJson(Fixture fixture)
           
 String toXml(Fixture fixture)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fixture

public Fixture()
Method Detail

getFixture

public List<Match> getFixture()

setFixture

public void setFixture(List<Match> fixture)

toJson

@Transformer(resultMimeType="application/json")
public String toJson(Fixture fixture)
              throws IOException
Throws:
IOException

toXml

@Transformer(resultMimeType="text/xml")
public String toXml(Fixture fixture)
             throws IOException,
                    JAXBException
Throws:
IOException
JAXBException


Copyright © 2013. All rights reserved.