|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.xml.dtd.DTDElement
public class DTDElement
Represents an element declaration in an SGML/XML Document Type Definition (DTD).
Constructor Summary | |
---|---|
DTDElement(String elementName,
String contentModel)
Constructor. |
Method Summary | |
---|---|
String |
getName()
Returns the element name. |
boolean |
hasElementChildren()
Indicates whether this element's content model contains child elements. |
boolean |
hasPCDATA()
Indicates whether this element's content model contains PCDATA. |
boolean |
isEmpty()
Indicates whether this element's content model is empty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTDElement(String elementName, String contentModel)
elementName
- The name of this element.contentModel
- The unparsed content model for this element.Method Detail |
---|
public String getName()
public boolean hasPCDATA()
public boolean isEmpty()
public boolean hasElementChildren()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |