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
 
Constructor Summary
protected DTDContentSpecNodeImpl()
          creates a blank node
  DTDContentSpecNodeImpl(int type, int ord, DTDContentSpecNode left, DTDContentSpecNode right)
           
protected DTDContentSpecNodeImpl(java.lang.String val)
          Creates a leaf node
 
Method Summary
 DTDContentSpecNode getLeft()
           
 java.lang.String getName()
           
 int getOrdinality()
           
 DTDContentSpecNode getRight()
           
 int getType()
           
 java.lang.String getValue()
           
 boolean isLeaf()
           
protected  void setLeft(DTDContentSpecNodeImpl left)
           
protected  void setOrdinality(int o)
           
protected  void setRight(DTDContentSpecNodeImpl right)
           
protected  void setType(int t)
           
protected  void setValue(java.lang.String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)