com.gomjabbar.xml.doctypes.dtd
Class AlternativeSpecs

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

public class AlternativeSpecs
extends ElementSpec
implements AlternativeDescriptor


Constructor Summary
AlternativeSpecs()
           
 
Method Summary
static ElementSpec createSpec(java.lang.String s)
           
 ContentDescriptor[] getContentDescriptors()
           
 ElementSpec[] getElementSpecs()
           
static boolean matchKind(java.lang.String s)
           
 org.w3c.dom.Element toDocument(org.w3c.dom.Document d)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlternativeSpecs

public AlternativeSpecs()
Method Detail

getElementSpecs

public ElementSpec[] getElementSpecs()

getContentDescriptors

public ContentDescriptor[] getContentDescriptors()
Specified by:
getContentDescriptors in interface AlternativeDescriptor

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

matchKind

public static boolean matchKind(java.lang.String s)
                         throws DtdException

createSpec

public static ElementSpec createSpec(java.lang.String s)
                              throws DtdException