com.unitesk.requality.nodetypes
Class Document

java.lang.Object
  extended by com.unitesk.requality.core.TreeNode
      extended by com.unitesk.requality.nodetypes.Document

public class Document
extends TreeNode


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

Constructor Detail

Document

public Document()

Document

public Document(TreeDB db,
                java.util.UUID uuid)
Method Detail

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)

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