public final class SegmentXMLConditionConverter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
| Constructor and Description |
|---|
SegmentXMLConditionConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Condition |
convertToCondition(java.io.Reader xmlReader)
Converts an XML document to a Condition object.
|
static Condition |
convertToCondition(java.lang.String xml)
Converts an XML document to a Condition object.
|
static java.lang.String |
convertToExternalXML(java.lang.String xml,
java.lang.String path)
Converts an XML document to an external XML document.
|
static java.lang.String |
convertToXML(Condition condition)
Converts a Condition object to XML format.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String convertToXML(Condition condition)
condition - A condition object.public static java.lang.String convertToExternalXML(java.lang.String xml,
java.lang.String path)
xml - An XML document.path - The external location for the XML documentpublic static Condition convertToCondition(java.lang.String xml)
xml - An XML document.public static Condition convertToCondition(java.io.Reader xmlReader)
xmlReader - An XML document.