|
||||||||||
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
com.filenet.wcm.toolkit.server.util.xml.WcmXMLObject
com.filenet.wcm.toolkit.server.util.xml.WcmXMLProperties
com.filenet.wcm.toolkit.server.util.xml.XMLLinks
WcmXMLProperties derived class for manipulating the Link specific XML
Field Summary | |
static java.lang.String |
ELEM_LINK
|
Fields inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmXMLProperties |
ELEM_PROPERTY |
Fields inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmXMLObject |
ELEM_CLASSID, ELEM_CLASSNAME, ELEM_OBJECT, ELEM_OBJECTSTORE |
Fields inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmDocumentImpl |
ELEM_OBJECTSET, thisDoc |
Method Summary | |
org.w3c.dom.Document |
getClasses(org.w3c.dom.Document allClasses,
java.lang.String[] desiredClasses,
java.lang.String allLinks)
Deprecated. use getClasses with additional parameter of allLinksLabel instead. The additional parameter is for localizeation where all links needs to display in user's locale format. |
org.w3c.dom.Document |
getClasses(org.w3c.dom.Document allClasses,
java.lang.String[] desiredClasses,
java.lang.String allLinks,
java.lang.String allLinksLabel)
Return Link classes XML which contains all link classes of the specified desired classes |
java.lang.String[] |
getClassIds(java.lang.String[] otherClasses)
Get the IDs of all link classes and append to passed in list |
static XMLLinks |
getXMLLinks()
Get method returns a new instance of this object. |
static XMLLinks |
getXMLLinks(org.w3c.dom.Document newXMLLinks)
get method creates or contains the Document as one of this type |
static org.w3c.dom.Document |
mergeLinks(org.w3c.dom.Document headLinks,
org.w3c.dom.Document tailLinks)
Merge the head and tail links and return the result. |
void |
removeProperties()
Remove all properties except the Head and Tail properties |
Methods inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmXMLObject |
getClassdescElement, getClassId, getClassName, getObjectElement, getObjectId, getObjectStoreElement, getObjectStoreId, getObjectTagValue, getObjectXPath, getXMLObject, getXMLObject, setClassDescription, setObjectStoreId, setObjectTagValue, setObjectXPath |
Methods inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmDocumentImpl |
createCDATAChildElement, createChildElement, createChildElement, createNamespace, getDocumentImpl, getElement, getElement, getElementText, getNodeList, getThis |
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_LINK
Method Detail |
public static XMLLinks getXMLLinks() throws java.lang.Exception
java.lang.Exception
- on errorpublic static XMLLinks getXMLLinks(org.w3c.dom.Document newXMLLinks) throws java.lang.Exception
newXMLLinks
- The Document to contain
java.lang.Exception
- on errorpublic void removeProperties() throws java.lang.Exception
removeProperties
in class WcmXMLProperties
java.lang.Exception
- on errorpublic org.w3c.dom.Document getClasses(org.w3c.dom.Document allClasses, java.lang.String[] desiredClasses, java.lang.String allLinks) throws java.lang.Exception
allClasses
- XML that contains all link classesdesiredClasses
- Array of classes to add to the link classes XML returnedallLinks
- String to use in the for selecting all links
java.lang.Exception
- on errorpublic org.w3c.dom.Document getClasses(org.w3c.dom.Document allClasses, java.lang.String[] desiredClasses, java.lang.String allLinks, java.lang.String allLinksLabel) throws java.lang.Exception
allClasses
- XML that contains all link classesdesiredClasses
- Array of classes to add to the link classes XML returnedallLinks
- String to use in the for selecting all links
java.lang.Exception
- on errorpublic java.lang.String[] getClassIds(java.lang.String[] otherClasses) throws java.lang.Exception
otherClasses
- Classes found in other XML
java.lang.Exception
- on errorpublic static org.w3c.dom.Document mergeLinks(org.w3c.dom.Document headLinks, org.w3c.dom.Document tailLinks) throws java.lang.Exception
headLinks
- The XML containing HeadlinkstailLinks
- The XML containing Taillinks
java.lang.Exception
- on error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |