public class DTDParser.DTDElement
extends java.lang.Object
Constructor and Description |
---|
DTDParser.DTDElement(java.lang.String pName)
Creates a new element declaration with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(DTDParser.DTDAttribute pAttribute)
Adds a new attribute to the element.
|
DTDParser.DTDAttribute[] |
getAttributes()
Returns the elements attributes.
|
org.xml.sax.Locator |
getLocator()
Returns the elements locator.
|
java.lang.String |
getModel()
Returns the elements content model.
|
java.lang.String |
getName()
Returns the elements name.
|
void |
setModel(java.lang.String pModel)
Sets the elements content model.
|
public DTDParser.DTDElement(java.lang.String pName)
public void setModel(java.lang.String pModel)
public java.lang.String getModel()
public java.lang.String getName()
public void addAttribute(DTDParser.DTDAttribute pAttribute) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public DTDParser.DTDAttribute[] getAttributes()
public org.xml.sax.Locator getLocator()