|
|||||||||
| 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.NOMWriteTypeElement
public class NOMWriteTypeElement
NOMTypeElement extends NOMElement and represents an element within a type hierarchy or "ontology". Such elements extend NOMElement so that they can be used in the query language (though in general they will not be returned as search results). Type elements only have one attribute (named in the metadata file) which holds the type name.
| 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 | |
|---|---|
NOMWriteTypeElement(NOMCorpus corpus,
java.lang.String name)
This public constructor creates a corpus type (ontology) element |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NOMWriteTypeElement(NOMCorpus corpus,
java.lang.String name)
throws NOMException
NOMException| Method Detail |
|---|
public void addFirstChild(NOMElement child)
throws NOMException
addFirstChild in interface NOMElementaddFirstChild in class NOMWriteElementNOMException
public void addLastChild(NOMElement child)
throws NOMException
addLastChild in interface NOMElementaddLastChild in class NOMWriteElementNOMException
public void addChildBefore(NOMElement oldchild,
NOMElement newchild)
throws NOMException
addChildBefore in interface NOMElementaddChildBefore in class NOMWriteElementNOMException
public void addChildAfter(NOMElement oldchild,
NOMElement newchild)
throws NOMException
addChildAfter in interface NOMElementaddChildAfter in class NOMWriteElementNOMException
public void addChild(NOMElement child)
throws NOMException
addChild in interface NOMElementaddChild in class NOMWriteElementNOMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||