com.gomjabbar.xml.doctypes.dtd
Class RepetitionSpecs

java.lang.Object
  |
  +--com.gomjabbar.xml.doctypes.dtd.ElementSpec
        |
        +--com.gomjabbar.xml.doctypes.dtd.RepetitionSpecs
All Implemented Interfaces:
ContentDescriptor, RepetitionDescriptor

public class RepetitionSpecs
extends ElementSpec
implements RepetitionDescriptor


Constructor Summary
RepetitionSpecs()
           
 
Method Summary
 ContentDescriptor getContentDescriptor()
           
 ElementSpec getElementSpec()
           
 boolean oneAtMost()
           
 org.w3c.dom.Element toDocument(org.w3c.dom.Document d)
           
 java.lang.String toString()
           
 boolean zeroAllowed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepetitionSpecs

public RepetitionSpecs()
Method Detail

getElementSpec

public ElementSpec getElementSpec()

zeroAllowed

public boolean zeroAllowed()
Specified by:
zeroAllowed in interface RepetitionDescriptor

oneAtMost

public boolean oneAtMost()
Specified by:
oneAtMost in interface RepetitionDescriptor

getContentDescriptor

public ContentDescriptor getContentDescriptor()
Specified by:
getContentDescriptor in interface RepetitionDescriptor

toString

public java.lang.String toString()
Overrides:
toString in class ElementSpec

toDocument

public org.w3c.dom.Element toDocument(org.w3c.dom.Document d)
Overrides:
toDocument in class ElementSpec