public class ProxyXmlStartTag extends Object implements org.gjt.xpp.XmlStartTag
ProxyXmlStartTag
implements the XPP XmlSmartTag
interface while creating a dom4j Element underneath.
Modifier and Type | Field and Description |
---|---|
private Element |
element
The element being constructed
|
private DocumentFactory |
factory
The factory used to create new elements
|
Constructor and Description |
---|
ProxyXmlStartTag() |
ProxyXmlStartTag(Element element) |
private DocumentFactory factory
public ProxyXmlStartTag()
public ProxyXmlStartTag(Element element)
public void resetStartTag()
resetStartTag
in interface org.gjt.xpp.XmlStartTag
public int getAttributeCount()
getAttributeCount
in interface org.gjt.xpp.XmlStartTag
public String getAttributeNamespaceUri(int index)
getAttributeNamespaceUri
in interface org.gjt.xpp.XmlStartTag
public String getAttributeLocalName(int index)
getAttributeLocalName
in interface org.gjt.xpp.XmlStartTag
public String getAttributePrefix(int index)
getAttributePrefix
in interface org.gjt.xpp.XmlStartTag
public String getAttributeRawName(int index)
getAttributeRawName
in interface org.gjt.xpp.XmlStartTag
public String getAttributeValue(int index)
getAttributeValue
in interface org.gjt.xpp.XmlStartTag
public String getAttributeValueFromRawName(String rawName)
getAttributeValueFromRawName
in interface org.gjt.xpp.XmlStartTag
public String getAttributeValueFromName(String namespaceURI, String localName)
getAttributeValueFromName
in interface org.gjt.xpp.XmlStartTag
public boolean isAttributeNamespaceDeclaration(int index)
isAttributeNamespaceDeclaration
in interface org.gjt.xpp.XmlStartTag
public void addAttribute(String namespaceURI, String localName, String rawName, String value) throws org.gjt.xpp.XmlPullParserException
addAttribute
in interface org.gjt.xpp.XmlStartTag
org.gjt.xpp.XmlPullParserException
public void addAttribute(String namespaceURI, String localName, String rawName, String value, boolean isNamespaceDeclaration) throws org.gjt.xpp.XmlPullParserException
addAttribute
in interface org.gjt.xpp.XmlStartTag
org.gjt.xpp.XmlPullParserException
public void ensureAttributesCapacity(int minCapacity) throws org.gjt.xpp.XmlPullParserException
ensureAttributesCapacity
in interface org.gjt.xpp.XmlStartTag
org.gjt.xpp.XmlPullParserException
public void removeAtttributes() throws org.gjt.xpp.XmlPullParserException
removeAtttributes
in interface org.gjt.xpp.XmlStartTag
org.gjt.xpp.XmlPullParserException
public String getLocalName()
getLocalName
in interface org.gjt.xpp.XmlTag
public String getNamespaceUri()
getNamespaceUri
in interface org.gjt.xpp.XmlTag
public String getRawName()
getRawName
in interface org.gjt.xpp.XmlTag
public void modifyTag(String namespaceURI, String localName, String rawName)
modifyTag
in interface org.gjt.xpp.XmlTag
public void resetTag()
resetTag
in interface org.gjt.xpp.XmlTag
public DocumentFactory getDocumentFactory()
public void setDocumentFactory(DocumentFactory factory)
public Element getElement()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses