java.lang.Object
org.merlotxml.util.xml.xml4j.DTDContentSpecImpl
- All Implemented Interfaces:
- org.merlotxml.util.xml.DTDConstants, org.merlotxml.util.xml.DTDContentSpec
- public class DTDContentSpecImpl
- extends java.lang.Object
- implements org.merlotxml.util.xml.DTDContentSpec, org.merlotxml.util.xml.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.1.1.1 2001/07/02 15:41:28 flament Exp $
| 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, IDREFS, 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 |
_el
private ElementDecl _el
_root
private org.merlotxml.util.xml.DTDContentSpecNode _root
DTDContentSpecImpl
public DTDContentSpecImpl(ElementDecl el)
getType
public int getType()
- Description copied from interface:
org.merlotxml.util.xml.DTDContentSpec
- Returns the type of this content specification
- Specified by:
getType in interface org.merlotxml.util.xml.DTDContentSpec
getRootNode
public org.merlotxml.util.xml.DTDContentSpecNode getRootNode()
- Description copied from interface:
org.merlotxml.util.xml.DTDContentSpec
- returns the root node of the spec tree or null if this doesn't
apply to this type
- Specified by:
getRootNode in interface org.merlotxml.util.xml.DTDContentSpec