com.unitesk.requality.nodetypes
Class Document
java.lang.Object
com.unitesk.requality.core.TreeNode
com.unitesk.requality.nodetypes.Document
public class Document
- extends TreeNode
Fields inherited from class com.unitesk.requality.core.TreeNode |
id |
Methods inherited from class com.unitesk.requality.core.TreeNode |
addBaseNode, createChild, createChild, delete, equals, findChild, getAttribute, getAttributeKeys, getAttributeValue, getAttributeValue, getBaseNodes, getBooleanAttributeValue, getBooleanAttributeValue, getChild, getDescription, getFloatAttributeValue, getFloatAttributeValue, getId, getIntAttributeValue, getIntAttributeValue, getListAttributeValue, getParent, getParentUUId, getPredicate, getQualifiedId, getSortedChildren, getSortedChildren, getSortedChildren, getStringAttributeValue, getStringAttributeValue, getTreeDB, getType, getUUId, putAttribute, removeAttribute, removeBaseNode, removeChild, saveAttributes, setDescription, setId, setPredicate, setType, sizeChildren |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Document
public Document()
Document
public Document(TreeDB db,
java.util.UUID uuid)
setMetaCharset
public void setMetaCharset(java.lang.String charset)
getMetaCharset
public java.lang.String getMetaCharset()
getTypeRootQId
public static java.lang.String getTypeRootQId()
setResourceName
public void setResourceName(java.lang.String name)
setParent
public void setParent(TreeNode parent)
- Overrides:
setParent
in class TreeNode
getResourceName
public java.lang.String getResourceName()
getHTMLPath
public java.lang.String getHTMLPath()
getLocations
public java.util.List<java.util.UUID> getLocations()
removeLocation
public void removeLocation(java.lang.String uuid)
saveDOM
public void saveDOM()
getLocation
public Location getLocation(java.lang.String locationId)
getDOM
public org.w3c.dom.Document getDOM()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadDOM
public org.w3c.dom.Document loadDOM()
throws java.lang.Exception
- Throws:
java.lang.Exception
extractLocationText
public java.lang.String extractLocationText(java.lang.String locUUID)
sizeLocations
public int sizeLocations()
toString
public java.lang.String toString()
- Overrides:
toString
in class TreeNode
resetCache
public void resetCache()