|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.jcoderz.commons.util.XmlUtil
public final class XmlUtil
This class holds utility methods for common xml topics.
| Field Summary | |
|---|---|
static |
EMPTY_ATTRIBUTES
Immutable and always empty version of a object. |
| Method Summary | |
|---|---|
static |
attributeEscape( attribute)
Encode a string so that it can be safely used as attribute value in XML output. |
static |
escape( text)
Encode a string so that it can be safely used as text in an element for XML output. |
static |
formatXml( org)
Simple xml formatter. |
| Methods inherited from class java.lang. |
|---|
, , , , , , , , , , |
| Field Detail |
|---|
public static final EMPTY_ATTRIBUTES
| Method Detail |
|---|
public static attributeEscape( attribute)
attribute - the attribute value to be encoded.
public static escape( text)
text - the element text body.
public static formatXml( org)
org - the input to be formated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||