|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.spieleck.pcs.xml.XmlProducerBase
Abstract base class for XmlProducer
Constructor Summary | |
XmlProducerBase()
Creates a new instance of XmlProducerBase using the following version <? |
Method Summary | |
java.lang.String |
getVersion()
returns the version of the created Xml as a String |
void |
setVersion(java.lang.String version)
sets the version of the created Xml |
abstract java.lang.String |
toXmlString(java.lang.Object o)
converts the given Object to an Xml String. |
abstract java.lang.String |
toXmlString(java.lang.Object[] o)
converts the given Objects to an Xml String. |
abstract java.lang.String |
toXmlString(java.lang.Object[] o,
boolean versionInfo)
converts the given Objects to an Xml String. |
abstract java.lang.String |
toXmlString(java.lang.Object o,
boolean versionInfo)
converts the given Object to an Xml String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlProducerBase()
Method Detail |
public java.lang.String getVersion()
getVersion
in interface XmlProducer
public void setVersion(java.lang.String version)
setVersion
in interface XmlProducer
public abstract java.lang.String toXmlString(java.lang.Object[] o) throws XmlProducingException
toXmlString
in interface XmlProducer
o
- Objects to convertpublic abstract java.lang.String toXmlString(java.lang.Object o) throws XmlProducingException
toXmlString
in interface XmlProducer
o
- Object to convertpublic abstract java.lang.String toXmlString(java.lang.Object[] o, boolean versionInfo) throws XmlProducingException
toXmlString
in interface XmlProducer
o
- Objects to convertversionInfo
- indicates whether the returned Xml should contain a
version header or notpublic abstract java.lang.String toXmlString(java.lang.Object o, boolean versionInfo) throws XmlProducingException
toXmlString
in interface XmlProducer
o
- Object to convertversionInfo
- indicates whether the returned Xml should contain a
version header or not
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |