|
||||||||||
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
WcmDocumentImpl derived class for manipulating the Object Level specific XML
Field Summary | |
static java.lang.String |
ELEM_CLASSID
XPath for class Id |
static java.lang.String |
ELEM_CLASSNAME
XPath for class name |
static java.lang.String |
ELEM_OBJECT
XPath for object node |
static java.lang.String |
ELEM_OBJECTSTORE
XPath for target node |
Fields inherited from class com.filenet.wcm.toolkit.server.util.xml.WcmDocumentImpl |
ELEM_OBJECTSET, thisDoc |
Constructor Summary | |
WcmXMLObject(org.w3c.dom.Document newXMLObject)
Constructor takes the Document object to implement |
Method Summary | |
org.w3c.dom.Element |
getClassdescElement()
Returns the classdesc Element if it exists |
java.lang.String |
getClassId()
Returns the class Id or null if not yet set. |
java.lang.String |
getClassName()
Returns the classdesc name or null if not yet set. |
org.w3c.dom.Element |
getObjectElement()
Returns the folder or document Element |
java.lang.String |
getObjectId()
Returns the Object Id |
org.w3c.dom.Element |
getObjectStoreElement()
Returns the Object Store Element |
java.lang.String |
getObjectStoreId()
Returns the Object Store Name/Id |
java.lang.String |
getObjectTagValue(java.lang.String sTag)
Get the object level tag's value |
protected java.lang.String |
getObjectXPath()
XPath for Object Node |
static WcmXMLObject |
getXMLObject()
get method returns a new instance of this object |
static WcmXMLObject |
getXMLObject(org.w3c.dom.Document newXMLObject)
get method creates or contains the Document as one of this type |
boolean |
setClassDescription(org.w3c.dom.Element oRoot,
java.lang.String sId,
java.lang.String sLabel,
java.lang.String sAllowsInst,
java.lang.String sSelectable)
Creates the Class description Element and sets the sub Elements to the values specified |
org.w3c.dom.Element |
setObjectStoreId(java.lang.String sObjectStoreName)
Sets the objectStore ID to the indicated value. |
org.w3c.dom.Element |
setObjectTagValue(java.lang.String sTag,
java.lang.String sValue)
Set the object level tag's value |
protected void |
setObjectXPath(java.lang.String newObjectXPath)
new XPath for object node |
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_OBJECT
public static final java.lang.String ELEM_OBJECTSTORE
public static final java.lang.String ELEM_CLASSID
public static final java.lang.String ELEM_CLASSNAME
Constructor Detail |
public WcmXMLObject(org.w3c.dom.Document newXMLObject)
newXMLObject
- The new Document objectMethod Detail |
public static WcmXMLObject getXMLObject()
public static WcmXMLObject getXMLObject(org.w3c.dom.Document newXMLObject)
newXMLObject
- The Document to contain
protected java.lang.String getObjectXPath() throws java.lang.Exception
java.lang.Exception
protected void setObjectXPath(java.lang.String newObjectXPath) throws java.lang.Exception
newObjectXPath
-
java.lang.Exception
public org.w3c.dom.Element getObjectElement() throws java.lang.Exception
java.lang.Exception
public java.lang.String getObjectTagValue(java.lang.String sTag) throws java.lang.Exception
sTag
- The tag name
java.lang.Exception
public org.w3c.dom.Element setObjectTagValue(java.lang.String sTag, java.lang.String sValue) throws java.lang.Exception
sTag
- The tag namesValue
- The value to give the element
java.lang.Exception
public org.w3c.dom.Element getObjectStoreElement() throws java.lang.Exception
java.lang.Exception
public java.lang.String getObjectStoreId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getObjectId() throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element setObjectStoreId(java.lang.String sObjectStoreName) throws java.lang.Exception
sObjectStoreName
- The objectStore ID value to use.
java.lang.Exception
public java.lang.String getClassId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getClassName() throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element getClassdescElement() throws java.lang.Exception
java.lang.Exception
public boolean setClassDescription(org.w3c.dom.Element oRoot, java.lang.String sId, java.lang.String sLabel, java.lang.String sAllowsInst, java.lang.String sSelectable) throws java.lang.Exception
oRoot
- The root folder or document Element - included to make it
safer to use this object and avoid two methodssId
- The class description IDsLabel
- The class description namesAllowsInst
- Indicates if this class description allows instancessSelectable
- Indicates if this class is selectable
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |