org.merlotxml.util.xml.xml4j
Class DTDContentSpecNodeImpl
java.lang.Object
|
+--org.merlotxml.util.xml.xml4j.DTDContentSpecNodeImpl
- public class DTDContentSpecNodeImpl
- extends java.lang.Object
- implements DTDContentSpecNode, DTDConstants
A Content Specification Node based on xml4j
mostly dead unused code right now... requirements changes
- Version:
- $Id: DTDContentSpecNodeImpl.java,v 1.3 2000/03/10 05:31:17 camk Exp $
- Author:
- Kelly A. Campbell
Fields inherited from interface org.merlotxml.util.xml.DTDConstants |
ANY,
CDATA,
COMMENT,
COMMENT_KEY,
CONTENT_CONCAT,
CONTENT_GROUP,
CONTENT_LEAF,
CONTENT_ONEMAX,
CONTENT_OR,
CONTENT_PLUS,
CONTENT_SINGLE,
CONTENT_STAR,
EMPTY,
GROUP,
ID,
IDREF,
IMPLIED,
NMTOKEN,
NMTOKENS,
NONE,
PCDATA,
PCDATA_KEY,
PROCESSING_INSTRUCTION,
PROCESSING_INSTRUCTION_KEY,
REQUIRED,
TOKEN_GROUP |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DTDContentSpecNodeImpl
protected DTDContentSpecNodeImpl()
- creates a blank node
DTDContentSpecNodeImpl
protected DTDContentSpecNodeImpl(java.lang.String val)
- Creates a leaf node
DTDContentSpecNodeImpl
public DTDContentSpecNodeImpl(int type,
int ord,
DTDContentSpecNode left,
DTDContentSpecNode right)
getName
public java.lang.String getName()
- Specified by:
- getName in interface DTDContentSpecNode
getType
public int getType()
- Specified by:
- getType in interface DTDContentSpecNode
setType
protected void setType(int t)
getValue
public java.lang.String getValue()
setValue
protected void setValue(java.lang.String v)
getLeft
public DTDContentSpecNode getLeft()
- Specified by:
- getLeft in interface DTDContentSpecNode
setLeft
protected void setLeft(DTDContentSpecNodeImpl left)
getRight
public DTDContentSpecNode getRight()
- Specified by:
- getRight in interface DTDContentSpecNode
setRight
protected void setRight(DTDContentSpecNodeImpl right)
isLeaf
public boolean isLeaf()
- Specified by:
- isLeaf in interface DTDContentSpecNode
getOrdinality
public int getOrdinality()
- Specified by:
- getOrdinality in interface DTDContentSpecNode
setOrdinality
protected void setOrdinality(int o)