|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.iscream.cms.util.XMLPacketMaker
XMLPacketMaker - Creates an XMLPacket object.
Field Summary | |
private SAXParserFactory |
_factory
A reference to the system saxParser factory |
private String |
_name
This is the friendly identifier of the component this class is running in. |
String |
REVISION
The current CVS revision of this class |
Constructor Summary | |
XMLPacketMaker()
|
Method Summary | |
XMLPacket |
createXMLPacket(String xml)
Method to create an XML packet from the data this class was constructed with. |
String |
toString()
Overrides the Object.toString()
method to provide clean logging (every class should have this). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final String REVISION
private final SAXParserFactory _factory
private String _name
Constructor Detail |
public XMLPacketMaker()
Method Detail |
public XMLPacket createXMLPacket(String xml) throws InvalidXMLException
xml
- the XML String to parse
InvalidXMLException
- if the XML cannot be parsedpublic String toString()
Object.toString()
method to provide clean logging (every class should have this).
This uses the uk.org.iscream.cms.server.util.NameFormat class
to format the toString()
toString
in class Object
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |