org.gjt.xpp.XmlStartTag
, org.gjt.xpp.XmlTag
public class ProxyXmlStartTag extends Object implements org.gjt.xpp.XmlStartTag
ProxyXmlStartTag
implements the XPP XmlSmartTag interface
while creating a dom4j Element underneath.
Constructor | Description |
---|---|
ProxyXmlStartTag() |
|
ProxyXmlStartTag(Element element) |
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
namespaceURI
- DOCUMENT ME!localName
- DOCUMENT ME!rawName
- DOCUMENT ME!value
- DOCUMENT ME!org.gjt.xpp.XmlPullParserException
- DOCUMENT ME!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 removeAttributes() throws org.gjt.xpp.XmlPullParserException
removeAttributes
in interface org.gjt.xpp.XmlStartTag
org.gjt.xpp.XmlPullParserException
- DOCUMENT ME!public boolean removeAttributeByName(String namespaceURI, String localName) throws org.gjt.xpp.XmlPullParserException
removeAttributeByName
in interface org.gjt.xpp.XmlStartTag
org.gjt.xpp.XmlPullParserException
public boolean removeAttributeByRawName(String rawName) throws org.gjt.xpp.XmlPullParserException
removeAttributeByRawName
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 getPrefix()
getPrefix
in interface org.gjt.xpp.XmlTag
public String getRawName()
getRawName
in interface org.gjt.xpp.XmlTag
public void modifyTag(String namespaceURI, String lName, 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 documentFactory)
public Element getElement()