com.ibm.commerce.condition.test
Class XMLConditionConverter
java.lang.Object
com.ibm.commerce.condition.test.XMLConditionConverter
- public final class XMLConditionConverter
- extends java.lang.Object
The class Test contains automatic test cases that test the functionality of the classes in the condition package.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
static Condition |
convertToCondition(java.lang.String xml)
This method can be used to convert an xml document to an boolean expression tree. |
static java.lang.String |
convertToXML(Condition condition)
This method can be used to convert a boolean expression to XML format. |
static java.lang.String |
convertToXMLNoDTD(Condition condition)
This method can be used to convert a boolean expression to XML format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
-
- See Also:
- Constant Field Values
XMLConditionConverter
public XMLConditionConverter()
convertToXML
public static java.lang.String convertToXML(Condition condition)
- This method can be used to convert a boolean expression to XML format.
convertToXMLNoDTD
public static java.lang.String convertToXMLNoDTD(Condition condition)
- This method can be used to convert a boolean expression to XML format.
convertToCondition
public static Condition convertToCondition(java.lang.String xml)
throws org.xml.sax.SAXException,
java.io.IOException
- This method can be used to convert an xml document to an boolean expression tree.
-
- Throws:
- org.xml.sax.SAXException
- java.io.IOException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.