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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AlternativeSpecs
public AlternativeSpecs()
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