org.merlotxml.util.xml.xml4j
Class DTDContentSpecImpl

java.lang.Object
  |
  +--org.merlotxml.util.xml.xml4j.DTDContentSpecImpl

public class DTDContentSpecImpl
extends java.lang.Object
implements DTDContentSpec, DTDConstants

A Content Specification based on xml4j

This is mostly unimplemented due to a possible requirements change while working on this. Do not try to use this stuff :-)

Version:
$Id: DTDContentSpecImpl.java,v 1.4 2000/06/16 05:01:28 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
DTDContentSpecImpl(com.ibm.xml.parser.ElementDecl el)
           
 
Method Summary
 DTDContentSpecNode getRootNode()
          returns the root node of the spec tree or null if this doesn't apply to this type
 int getType()
          Returns the type of this content specification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDContentSpecImpl

public DTDContentSpecImpl(com.ibm.xml.parser.ElementDecl el)
Method Detail

getType

public int getType()
Description copied from interface: DTDContentSpec
Returns the type of this content specification
Specified by:
getType in interface DTDContentSpec

getRootNode

public DTDContentSpecNode getRootNode()
Description copied from interface: DTDContentSpec
returns the root node of the spec tree or null if this doesn't apply to this type
Specified by:
getRootNode in interface DTDContentSpec