|
VLJ Iteration II, v. 1.0.0.193 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.va.med.foundations.xml.XmlUtilities
This class contains a number of static utility methods to help developers work with XML documents, nodes, attributes and strings
Field Summary | |
static java.lang.String |
XML_HEADER
Represents the default header used for all xml documents that communicate with an M server via VistALink. |
Constructor Summary | |
XmlUtilities()
|
Method Summary | |
static java.lang.String |
convertXmlToStr(org.w3c.dom.Document doc)
Method ConvertXmlToStr. |
static org.w3c.dom.Attr |
getAttr(org.w3c.dom.Node node,
java.lang.String attrName)
Method getAttr. |
static org.w3c.dom.Document |
getDocumentForXmlInputStream(java.io.InputStream xml)
Method getDocumentForXmlInputStream. |
static org.w3c.dom.Document |
getDocumentForXmlString(java.lang.String xml)
Method getDocumentForXmlString. |
static org.w3c.dom.Node |
getNode(java.lang.String xpathStr,
org.w3c.dom.Node node)
Method getNode. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String XML_HEADER
Constructor Detail |
public XmlUtilities()
Method Detail |
public static java.lang.String convertXmlToStr(org.w3c.dom.Document doc) throws FoundationsException
doc
-
FoundationsException
public static org.w3c.dom.Node getNode(java.lang.String xpathStr, org.w3c.dom.Node node)
xpathStr
- - XPath strnode
- - Node to search
public static org.w3c.dom.Attr getAttr(org.w3c.dom.Node node, java.lang.String attrName)
node
- - Node to searchattrName
- - Name of the attribute to find
public static org.w3c.dom.Document getDocumentForXmlString(java.lang.String xml) throws FoundationsException
xml
- - serialized XML document
FoundationsException
public static org.w3c.dom.Document getDocumentForXmlInputStream(java.io.InputStream xml) throws FoundationsException
xml
- - input stream to processed
FoundationsException
|
VLJ Iteration II, v. 1.0.0.193 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |