net.sourceforge.nite.nom.nomread.impl
Class NOMReadObject

java.lang.Object
  extended by net.sourceforge.nite.nom.nomwrite.impl.NOMWriteElement
      extended by net.sourceforge.nite.nom.nomread.impl.NOMReadElement
          extended by net.sourceforge.nite.nom.nomread.impl.NOMReadObject
All Implemented Interfaces:
NOMElement, NOMObject

public class NOMReadObject
extends NOMReadElement
implements NOMObject

NOMObject extends NOMElement and represents an element within an object set. Such elements extend NOMElement so that they can be used in the query language. Objects may not have any children.

Author:
jonathan

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.nite.nom.nomwrite.impl.NOMWriteElement
NOMWriteElement.SharedElement, NOMWriteElement.XMLComment
 
Nested classes/interfaces inherited from interface net.sourceforge.nite.nom.nomwrite.NOMElement
NOMElement.SharedEl
 
Field Summary
 
Fields inherited from interface net.sourceforge.nite.nom.nomwrite.NOMElement
FEATURAL_LAYER, IMPLICIT_ORDER, STRUCTURAL_LAYER, TEMPORAL_ORDER, TIME_ALIGNED_LAYER, UNORDERED, UNTIMED
 
Constructor Summary
NOMReadObject(NOMCorpus corpus, java.lang.String name)
          This constructor will be the most commonly used in application programs.
 
Method Summary
 
Methods inherited from class net.sourceforge.nite.nom.nomread.impl.NOMReadElement
addAfterSibling, addAttribute, addBeforeSibling, addChild, addChildAfter, addChildBefore, addFirstChild, addLastChild, addPointer, addToCorpus, appendText, deleteChild, getLink, getShared, removeAttribute, removeChild, removePointer, setComment, setDoubleAttribute, setEndTime, setGVM, setName, setStartTime, setStringAttribute, setText
 
Methods inherited from class net.sourceforge.nite.nom.nomwrite.impl.NOMWriteElement
addChildAboveChildren, addExternalPointer, endElementString, findAncestorInLayer, findAncestorNamed, findAncestorsInFile, findAncestorsInLayer, findAncestorsNamed, findCommonAncestorInFile, findDescendantsInLayer, findDescendantsNamed, getAgent, getAgentName, getAttribute, getAttributeComparableValue, getAttributes, getChildOrder, getChildren, getChildrenWithInterleavedComments, getColour, getComment, getCorpus, getEndTime, getExternalPointerValue, getGVM, getID, getIDLink, getKeyStroke, getLayer, getMetadataElement, getName, getNextElement, getNextSibling, getNiteChildren, getObservation, getParentInFile, getParents, getPointers, getPointersTo, getPointerWithRole, getPreviousSibling, getRecursiveDepth, getRecursiveHeight, getStartTime, getText, getTimeType, getXLink, hasNextElement, inheritTimes, insertParent, isComment, isLeaf, isStreamElement, isStreamElementOld, removeParentAndAdjust, setKeyStroke, setStreamElement, startElementString, updateTimes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.nite.nom.nomwrite.NOMElement
addAfterSibling, addAttribute, addBeforeSibling, addChild, addChildAboveChildren, addChildAfter, addChildBefore, addExternalPointer, addFirstChild, addLastChild, addPointer, addToCorpus, appendText, deleteChild, findAncestorInLayer, findAncestorNamed, findAncestorsInFile, findAncestorsInLayer, findAncestorsNamed, findCommonAncestorInFile, findDescendantsInLayer, findDescendantsNamed, getAgent, getAgentName, getAttribute, getAttributeComparableValue, getAttributes, getChildOrder, getChildren, getChildrenWithInterleavedComments, getColour, getComment, getCorpus, getEndTime, getExternalPointerValue, getGVM, getID, getKeyStroke, getLayer, getLink, getMetadataElement, getName, getNextElement, getNextSibling, getObservation, getParentInFile, getParents, getPointers, getPointersTo, getPointerWithRole, getPreviousSibling, getRecursiveDepth, getRecursiveHeight, getShared, getStartTime, getText, getTimeType, getXLink, hasNextElement, insertParent, isComment, isStreamElement, removeAttribute, removeChild, removeParentAndAdjust, removePointer, setComment, setDoubleAttribute, setEndTime, setGVM, setKeyStroke, setName, setStartTime, setStreamElement, setStringAttribute, setText
 

Constructor Detail

NOMReadObject

public NOMReadObject(NOMCorpus corpus,
                     java.lang.String name)
              throws NOMException
This constructor will be the most commonly used in application programs. The colour of the element is derived from the metadata and the ID is derived from that. IDs generated will be unique with respect to the corpus subset that is currently loaded.

Throws:
NOMException