public class OrderXMLUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright
|
static java.lang.String | XML_ENCODING
XML encoding
|
static java.lang.String | XML_HEADER
XML header field.
|
static java.lang.String | XML_TAG_END
XML element end tag flag.
|
static java.lang.String | XML_TAG_END_LEFT_PART
XML element end tag flag left part.
|
static java.lang.String | XML_TAG_START
XML element start tag flag.
|
static java.lang.String | XML_TAG_WC_CALADJUSTMETNT
XML child tag of WC_CALADJUSTMETNTS - WC_CALADJUSTMETNT
|
static java.lang.String | XML_TAG_WC_CALADJUSTMETNTS
XML child tag of WC_ORDER - WC_CALADJUSTMETNTS
|
static java.lang.String | XML_TAG_WC_CUSTOMIZABLE_ELEMENT
XML child tag of WC_ORDER - WC_CUSTOMIZABLE_ELEMENT
|
static java.lang.String | XML_TAG_WC_OICOMPONENT
XML child tag of WC_OICOMPONENTLISTS - WC_OICOMPONENT
|
static java.lang.String | XML_TAG_WC_OICOMPONENTLIST
XML child tag of WC_ORDER_ITEM - WC_OICOMPONENTLIST
|
static java.lang.String | XML_TAG_WC_ORDER
XML root tag WC_ORDER
|
static java.lang.String | XML_TAG_WC_ORDER_ITEM
XML child tag of WC_ORDER_ITEMS - WC_ORDER_ITEM
|
static java.lang.String | XML_TAG_WC_ORDER_ITEMS
XML child tag of WC_ORDER - WC_ORDER_ITEMS
|
static java.lang.String | XML_TAG_WC_ORDERBLOCK
XML child tag of WC_CALADJUSTMETNTS - WC_ORDERBLOCK
|
static java.lang.String | XML_TAG_WC_ORDERBLOCKS
XML child tag of WC_ORDER - WC_ORDERBLOCKS
|
static java.lang.String | XML_TAG_WC_PAYMENTINFO
XML child tag of wc:PaymentInfos - WC_PAYMENTINFO
|
static java.lang.String | XML_TAG_WC_PAYMENTINFOS
XML child tag of WC_ORDER - WC_PAYMENTINFOS
|
static java.lang.String | XML_TAG_WC_SHIPINFO
XML child tag of WC_SHIPINFOS - WC_SHIPINFO
|
static java.lang.String | XML_TAG_WC_SHIPINFOS
XML child tag of WC_ORDER - WC_SHIPINFOS
|
static java.lang.String | XML_VERSION
XML Version number
|
Constructor and Description |
---|
OrderXMLUtil() |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Node | getChildElementByName(org.w3c.dom.Node node, java.lang.String name)
This method returns a child element of current node.
|
static java.lang.String | getChildElementValue(org.w3c.dom.Element thisNode, java.lang.String childName)
This method helps to find the string value of a Child XML element.
|
static java.lang.String | getChildElementValue(org.w3c.dom.Node thisNode, java.lang.String childName)
This method returns the value of the child element identified by childName parameter.
|
static java.lang.String | getChildValue(org.w3c.dom.Element element, java.lang.String tagName)
This method gets the element value.
|
static org.w3c.dom.Document | getDocument(java.lang.String xmlStr)
This method builds the XML string to a document tree.
|
static java.lang.String | getElementValue(org.w3c.dom.Node node)
This method returns the value of the current element.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String XML_TAG_WC_ORDER
public static final java.lang.String XML_TAG_WC_ORDER_ITEMS
public static final java.lang.String XML_TAG_WC_ORDER_ITEM
public static final java.lang.String XML_TAG_WC_PAYMENTINFOS
public static final java.lang.String XML_TAG_WC_PAYMENTINFO
public static final java.lang.String XML_TAG_WC_SHIPINFOS
public static final java.lang.String XML_TAG_WC_SHIPINFO
public static final java.lang.String XML_TAG_WC_CALADJUSTMETNTS
public static final java.lang.String XML_TAG_WC_CALADJUSTMETNT
public static final java.lang.String XML_TAG_WC_ORDERBLOCKS
public static final java.lang.String XML_TAG_WC_ORDERBLOCK
public static final java.lang.String XML_TAG_WC_CUSTOMIZABLE_ELEMENT
public static final java.lang.String XML_TAG_WC_OICOMPONENTLIST
public static final java.lang.String XML_TAG_WC_OICOMPONENT
public static final java.lang.String XML_ENCODING
public static final java.lang.String XML_VERSION
public static final java.lang.String XML_HEADER
public static final java.lang.String XML_TAG_START
public static final java.lang.String XML_TAG_END_LEFT_PART
public static final java.lang.String XML_TAG_END
public static java.lang.String getChildValue(org.w3c.dom.Element element, java.lang.String tagName)
public static org.w3c.dom.Document getDocument(java.lang.String xmlStr)
public static java.lang.String getChildElementValue(org.w3c.dom.Element thisNode, java.lang.String childName)
public static org.w3c.dom.Node getChildElementByName(org.w3c.dom.Node node, java.lang.String name)
public static java.lang.String getChildElementValue(org.w3c.dom.Node thisNode, java.lang.String childName)
public static java.lang.String getElementValue(org.w3c.dom.Node node)