|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.nite.nom.nomwrite.impl.NOMWriteElement
net.sourceforge.nite.nom.nomwrite.impl.NOMWriteObject
public class NOMWriteObject
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.
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 | |
---|---|
NOMWriteObject(NOMCorpus corpus,
java.lang.String name)
This constructor will be the most commonly used in application programs. |
Method Summary | |
---|---|
void |
addChild(NOMElement child)
adds a child to this element. |
void |
addChildAfter(NOMElement oldchild,
NOMElement newchild)
adds the NOMElement newchild immediately after the given existing child, or reports an exception if the child cannot be found |
void |
addChildBefore(NOMElement oldchild,
NOMElement newchild)
adds the NOMElement newchild immediately before the given existing child, or reports an exception if the child cannot be found |
void |
addFirstChild(NOMElement child)
adds the NOMElement as the first child |
void |
addLastChild(NOMElement child)
adds the NOMElement as the last child |
void |
deleteChild(NOMElement child)
Delete an element. |
void |
removeChild(NOMElement child)
Remove a nite:child from an element without actually deleting the element referred to. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NOMWriteObject(NOMCorpus corpus, java.lang.String name) throws NOMException
NOMException
Method Detail |
---|
public void addFirstChild(NOMElement child) throws NOMException
addFirstChild
in interface NOMElement
addFirstChild
in class NOMWriteElement
NOMException
public void addLastChild(NOMElement child) throws NOMException
addLastChild
in interface NOMElement
addLastChild
in class NOMWriteElement
NOMException
public void addChildBefore(NOMElement oldchild, NOMElement newchild) throws NOMException
addChildBefore
in interface NOMElement
addChildBefore
in class NOMWriteElement
NOMException
public void addChildAfter(NOMElement oldchild, NOMElement newchild) throws NOMException
addChildAfter
in interface NOMElement
addChildAfter
in class NOMWriteElement
NOMException
public void removeChild(NOMElement child) throws NOMException
removeChild
in interface NOMElement
removeChild
in class NOMWriteElement
NOMException
public void deleteChild(NOMElement child) throws NOMException
deleteChild
in interface NOMElement
deleteChild
in class NOMWriteElement
NOMException
public void addChild(NOMElement child) throws NOMException
addChild
in interface NOMElement
addChild
in class NOMWriteElement
NOMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |