|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.japisoft.dtdparser.node.DTDNode
Main node type for DTD document type
Field Summary | |
static int |
ATTRIBUTE
Attribute type |
static int |
COMMENT
Comment type |
static int |
ELEMENT
Element type |
static int |
ELEMENT_REF
Element set content |
static int |
ELEMENT_SET
Element set |
static int |
ENTITY
Entity type |
static int |
ROOT
Root type |
Constructor Summary | |
DTDNode()
|
Method Summary | |
void |
addDTDNode(DTDNode node)
Add a DTDNode child / @return the added node |
DTDNode |
getDTDNodeAt(int index)
|
int |
getDTDNodeCount()
|
java.util.Enumeration |
getDTDNodeForType(int type)
|
int |
getDTDNodeIndex(DTDNode node)
|
java.util.Enumeration |
getDTDNodes()
|
DTDNode |
getDTDParentNode()
|
java.lang.String |
getNodeComment()
|
int |
getNodeType()
|
RootDTDNode |
getRoot()
|
boolean |
isAttribute()
|
boolean |
isComment()
|
boolean |
isElement()
|
boolean |
isElementRef()
|
boolean |
isElementSet()
|
boolean |
isEmpty()
|
boolean |
isEntity()
|
boolean |
isRoot()
|
void |
removeDTDNode(DTDNode node)
Remove a DTDNode child |
void |
setDTDParentNode(DTDNode parent)
Reset the parent node |
void |
setNodeComment(java.lang.String value)
Set the node comment |
void |
setNodeType(int type)
Reset the node type : COMMENT, ENTITY, ELEMENT or ATTRIBUTE |
void |
setRoot(RootDTDNode node)
Reset the root node |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int COMMENT
public static final int ENTITY
public static final int ELEMENT
public static final int ATTRIBUTE
public static final int ROOT
public static final int ELEMENT_SET
public static final int ELEMENT_REF
Constructor Detail |
public DTDNode()
Method Detail |
public void setNodeType(int type)
public int getNodeType()
public void setRoot(RootDTDNode node)
public RootDTDNode getRoot()
public boolean isComment()
public boolean isEntity()
public boolean isElement()
public boolean isAttribute()
public boolean isRoot()
public boolean isElementSet()
public boolean isElementRef()
public void setNodeComment(java.lang.String value)
public java.lang.String getNodeComment()
public boolean isEmpty()
public void addDTDNode(DTDNode node)
public void removeDTDNode(DTDNode node)
public int getDTDNodeCount()
public DTDNode getDTDNodeAt(int index)
public int getDTDNodeIndex(DTDNode node)
public java.util.Enumeration getDTDNodes()
public void setDTDParentNode(DTDNode parent)
public DTDNode getDTDParentNode()
public java.util.Enumeration getDTDNodeForType(int type)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |