|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.dtd.DTDdocument
public class DTDdocument
Implementation of DTD document specification.
Constructor Summary | |
---|---|
DTDdocument()
|
|
DTDdocument(java.lang.String name)
Constructor, setting the name of the document. |
Method Summary | |
---|---|
void |
addElement(Element element)
Adds Element Declaration to the document. |
void |
addGeneralEntity(GeneralEntity generalEntity)
Adds General Entity Declaration to the document. |
void |
addNotation(Notation notation)
Adds a Notation Declaration to the document. |
Element |
getElement(java.lang.String name)
Returns requested Element Declaration. |
java.util.Enumeration |
getElements()
Returns enumeration of the Element declarations in the DTD document. |
java.util.Enumeration |
getGeneralEntities()
Returns enumeration of the General Entity declarations in the DTD document. |
GeneralEntity |
getGeneralEntity(java.lang.String name)
Returns requested Genaral Entity Declaration. |
java.lang.String |
getName()
Returns the name of the document. |
Notation |
getNotation(java.lang.String name)
Returns requested Notation Declaration. |
java.util.Enumeration |
getNotations()
Returns enumeration of the Notation declarations in the DTD document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTDdocument()
public DTDdocument(java.lang.String name)
Method Detail |
---|
public java.lang.String getName()
public void addElement(Element element) throws DTDException
DTDException
- if an element has no name or there already exists
element with the same name in the document.public Element getElement(java.lang.String name)
public void addNotation(Notation notation) throws DTDException
DTDException
- if a notation has no name or there already exists
notation with the same name in the document.public Notation getNotation(java.lang.String name)
public void addGeneralEntity(GeneralEntity generalEntity)
public GeneralEntity getGeneralEntity(java.lang.String name)
public java.util.Enumeration getElements()
public java.util.Enumeration getGeneralEntities()
public java.util.Enumeration getNotations()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |