Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.merlotxml.util.xml.xml4j
Class DTDContentSpecImpl  view DTDContentSpecImpl download DTDContentSpecImpl.java

java.lang.Object
  extended byorg.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 $

Field Summary
private  ElementDecl _el
           
private  org.merlotxml.util.xml.DTDContentSpecNode _root
           
 
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
 
Constructor Summary
DTDContentSpecImpl(ElementDecl el)
           
 
Method Summary
 org.merlotxml.util.xml.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
 
Methods inherited from interface org.merlotxml.util.xml.DTDContentSpec
toString
 

Field Detail

_el

private ElementDecl _el

_root

private org.merlotxml.util.xml.DTDContentSpecNode _root
Constructor Detail

DTDContentSpecImpl

public DTDContentSpecImpl(ElementDecl el)
Method Detail

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