public class ProxyXmlStartTag
extends java.lang.Object
implements org.gjt.xpp.XmlStartTag
ProxyXmlStartTag
implements the XPP XmlSmartTag interface
while creating a dom4j Element underneath.
Constructor and Description |
---|
ProxyXmlStartTag() |
ProxyXmlStartTag(Element element) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
java.lang.String value)
parameters modeled after SAX2 attribute approach
|
void |
addAttribute(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
java.lang.String value,
boolean isNamespaceDeclaration) |
void |
ensureAttributesCapacity(int minCapacity) |
int |
getAttributeCount() |
java.lang.String |
getAttributeLocalName(int index) |
java.lang.String |
getAttributeNamespaceUri(int index) |
java.lang.String |
getAttributePrefix(int index) |
java.lang.String |
getAttributeRawName(int index) |
java.lang.String |
getAttributeValue(int index) |
java.lang.String |
getAttributeValueFromName(java.lang.String namespaceURI,
java.lang.String localName) |
java.lang.String |
getAttributeValueFromRawName(java.lang.String rawName) |
DocumentFactory |
getDocumentFactory() |
Element |
getElement() |
java.lang.String |
getLocalName() |
java.lang.String |
getNamespaceUri() |
java.lang.String |
getPrefix() |
java.lang.String |
getRawName() |
boolean |
isAttributeNamespaceDeclaration(int index) |
void |
modifyTag(java.lang.String namespaceURI,
java.lang.String lName,
java.lang.String rawName) |
boolean |
removeAttributeByName(java.lang.String s,
java.lang.String s1) |
boolean |
removeAttributeByRawName(java.lang.String s) |
void |
removeAttributes()
remove all atribute
|
void |
resetStartTag() |
void |
resetTag() |
void |
setDocumentFactory(DocumentFactory documentFactory) |
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 java.lang.String getAttributeNamespaceUri(int index)
getAttributeNamespaceUri
in interface org.gjt.xpp.XmlStartTag
public java.lang.String getAttributeLocalName(int index)
getAttributeLocalName
in interface org.gjt.xpp.XmlStartTag
public java.lang.String getAttributePrefix(int index)
getAttributePrefix
in interface org.gjt.xpp.XmlStartTag
public java.lang.String getAttributeRawName(int index)
getAttributeRawName
in interface org.gjt.xpp.XmlStartTag
public java.lang.String getAttributeValue(int index)
getAttributeValue
in interface org.gjt.xpp.XmlStartTag
public java.lang.String getAttributeValueFromRawName(java.lang.String rawName)
getAttributeValueFromRawName
in interface org.gjt.xpp.XmlStartTag
public java.lang.String getAttributeValueFromName(java.lang.String namespaceURI, java.lang.String localName)
getAttributeValueFromName
in interface org.gjt.xpp.XmlStartTag
public boolean isAttributeNamespaceDeclaration(int index)
isAttributeNamespaceDeclaration
in interface org.gjt.xpp.XmlStartTag
public void addAttribute(java.lang.String namespaceURI, java.lang.String localName, java.lang.String rawName, java.lang.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(java.lang.String namespaceURI, java.lang.String localName, java.lang.String rawName, java.lang.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 boolean removeAttributeByName(java.lang.String s, java.lang.String s1) throws org.gjt.xpp.XmlPullParserException
removeAttributeByName
in interface org.gjt.xpp.XmlStartTag
org.gjt.xpp.XmlPullParserException
public boolean removeAttributeByRawName(java.lang.String s) throws org.gjt.xpp.XmlPullParserException
removeAttributeByRawName
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 java.lang.String getLocalName()
getLocalName
in interface org.gjt.xpp.XmlTag
public java.lang.String getNamespaceUri()
getNamespaceUri
in interface org.gjt.xpp.XmlTag
public java.lang.String getPrefix()
getPrefix
in interface org.gjt.xpp.XmlTag
public java.lang.String getRawName()
getRawName
in interface org.gjt.xpp.XmlTag
public void modifyTag(java.lang.String namespaceURI, java.lang.String lName, java.lang.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()