|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.admin.XmlSerializer
public class XmlSerializer
This class defines the methods for serializing an object to XML
Constructor Summary | |
---|---|
XmlSerializer()
|
Method Summary | |
---|---|
static java.lang.String |
indent(int indent)
Return indent spaces. |
static java.lang.String |
xmlAttribute(java.lang.String value,
java.lang.String xmlTag)
Return the xml representation of the specified attribute value |
static java.lang.String |
xmlElement(java.lang.String value,
java.lang.String xmlTag,
int indent)
Return the xml representation of the specified value with the root-element xmlTag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlSerializer()
Method Detail |
---|
public static java.lang.String indent(int indent)
indent
- number of indentation.
public static java.lang.String xmlElement(java.lang.String value, java.lang.String xmlTag, int indent)
value
- String value to represent in XMLxmlTag
- tag of the root-elementindent
- indent to use
public static java.lang.String xmlAttribute(java.lang.String value, java.lang.String xmlTag)
value
- String value to represent in XMLxmlTag
- tag of the attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |