org.apache.ws.jaxme.xs.util
Class DTDParser.DTDElement
java.lang.Object
org.apache.ws.jaxme.xs.util.DTDParser.DTDElement
- DTDParser
public class DTDParser.DTDElement
extends java.lang.Object
This class is used to collect the elements in the
DTD temporarily.
DTDElement(String pName) - Creates a new element declaration with the given name.
|
DTDElement
public DTDElement(String pName)
Creates a new element declaration with the given name.
addAttribute
public void addAttribute(DTDParser.DTDAttribute pAttribute)
throws SAXException
Adds a new attribute to the element.
getLocator
public Locator getLocator()
Returns the elements locator.
getModel
public String getModel()
Returns the elements content model.
getName
public String getName()
Returns the elements name.
setModel
public void setModel(String pModel)
Sets the elements content model.