|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gcapmedia.dab.epg.xml.XmlMarshaller
public class XmlMarshaller
Marshalls an EPG to/from XML
| Constructor Summary | |
|---|---|
XmlMarshaller()
|
|
| Method Summary | |
|---|---|
byte[] |
marshall(Epg epg)
Marshall a single instance of the EPG |
java.lang.String |
marshallToXmlString(Epg epg)
Marshalls an EPG to an XML string adherent to the ISO/IEC 10646 character set and using UTF-8 encoding. |
Epg |
unmarshall(byte[] bytes)
Unmarshall a single marshalled instance of the EPG |
Epg |
unmarshallFromFile(java.io.File file)
Unmarshall an EPG from a file. |
Epg |
unmarshallFromUrl(java.net.URL url)
Unmarshall a document located at the specified URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlMarshaller()
| Method Detail |
|---|
public byte[] marshall(Epg epg)
throws MarshallException
Marshaller
marshall in interface MarshallerMarshallExceptionMarshaller.marshall(com.gcapmedia.dab.epg.Epg)
public java.lang.String marshallToXmlString(Epg epg)
throws java.io.UnsupportedEncodingException,
MarshallException
java.io.UnsupportedEncodingException
MarshallExceptionpublic Epg unmarshall(byte[] bytes)
Marshaller
unmarshall in interface MarshallerMarshaller.unmarshall(byte[])
public Epg unmarshallFromUrl(java.net.URL url)
throws java.io.IOException
java.io.IOException
public Epg unmarshallFromFile(java.io.File file)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||