|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.util.xml.WcmDocumentImpl
Perform DOM manipulations of FileNet-specific XML.
Field Summary | |
static java.lang.String |
ELEM_OBJECTSET
The XML nodes that are created and handled by this class |
protected org.w3c.dom.Document |
thisDoc
The Document object this class refers to |
Constructor Summary | |
WcmDocumentImpl(org.w3c.dom.Document newDocumentXML)
Constructor takes the Document object to implement |
Method Summary | |
org.w3c.dom.Element |
createCDATAChildElement(org.w3c.dom.Element oRoot,
java.lang.String sTagName,
java.lang.String sValue)
Create a child CDATA element |
org.w3c.dom.Element |
createChildElement(org.w3c.dom.Element oRootElement,
java.lang.String sTagName)
Create a child element |
org.w3c.dom.Element |
createChildElement(org.w3c.dom.Element oRoot,
java.lang.String sTagName,
java.lang.String sValue)
Create a child element |
protected org.w3c.dom.Element |
createNamespace()
private helper function to create the namespace Element required by WcmXPathUtil |
static WcmDocumentImpl |
getDocumentImpl(org.w3c.dom.Document newDocumentXML)
Get method creates this object using the given Document. |
org.w3c.dom.Element |
getElement(org.w3c.dom.Node startingNode,
java.lang.String XPathStr)
Returns the Element refered by the XPathStr |
org.w3c.dom.Element |
getElement(java.lang.String XPathStr)
Returns the Element refered by the XPathStr |
java.lang.String |
getElementText(java.lang.String XPathStr)
Returns the text of the Element refered by the XPathStr |
org.w3c.dom.NodeList |
getNodeList(java.lang.String XPathStr)
Returns the NodeList refered by the XPathStr |
org.w3c.dom.Document |
getThis()
Returns the Document object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ELEM_OBJECTSET
protected org.w3c.dom.Document thisDoc
Constructor Detail |
public WcmDocumentImpl(org.w3c.dom.Document newDocumentXML)
newDocumentXML
- The new Document objectMethod Detail |
public static WcmDocumentImpl getDocumentImpl(org.w3c.dom.Document newDocumentXML)
newDocumentXML
- The Document to implement
public org.w3c.dom.Document getThis()
public org.w3c.dom.Element createChildElement(org.w3c.dom.Element oRoot, java.lang.String sTagName, java.lang.String sValue)
oRoot
- The parent of the new childsTagName
- The tag name for the new childsValue
- The value to put into the child Element
public org.w3c.dom.Element createCDATAChildElement(org.w3c.dom.Element oRoot, java.lang.String sTagName, java.lang.String sValue)
oRoot
- The parent of the new childsTagName
- The tag name for the new childsValue
- The value to put into the child Element
public org.w3c.dom.Element createChildElement(org.w3c.dom.Element oRootElement, java.lang.String sTagName)
oRootElement
- The parent of the new childsTagName
- The tag name for the new child
protected org.w3c.dom.Element createNamespace()
public java.lang.String getElementText(java.lang.String XPathStr) throws java.lang.Exception
XPathStr
- Specifies the XPath string
java.lang.Exception
public org.w3c.dom.Element getElement(java.lang.String XPathStr) throws java.lang.Exception
XPathStr
- Specifies the XPath string
java.lang.Exception
public org.w3c.dom.Element getElement(org.w3c.dom.Node startingNode, java.lang.String XPathStr) throws java.lang.Exception
startingNode
- Specifies the starting nodeXPathStr
- Specifies the XPath string
java.lang.Exception
public org.w3c.dom.NodeList getNodeList(java.lang.String XPathStr) throws java.lang.Exception
XPathStr
- Specifies the XPath string
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |