Package org.dom4j.xpp
Class ProxyXmlStartTag
- java.lang.Object
-
- org.dom4j.xpp.ProxyXmlStartTag
-
- All Implemented Interfaces:
org.gjt.xpp.XmlStartTag,org.gjt.xpp.XmlTag
public class ProxyXmlStartTag extends Object implements org.gjt.xpp.XmlStartTag
ProxyXmlStartTagimplements the XPP XmlSmartTag interface while creating a dom4j Element underneath.
-
-
Constructor Summary
Constructors Constructor Description ProxyXmlStartTag()ProxyXmlStartTag(Element element)
-
Method Summary
-
-
-
Constructor Detail
-
ProxyXmlStartTag
public ProxyXmlStartTag()
-
ProxyXmlStartTag
public ProxyXmlStartTag(Element element)
-
-
Method Detail
-
resetStartTag
public void resetStartTag()
- Specified by:
resetStartTagin interfaceorg.gjt.xpp.XmlStartTag
-
getAttributeCount
public int getAttributeCount()
- Specified by:
getAttributeCountin interfaceorg.gjt.xpp.XmlStartTag
-
getAttributeNamespaceUri
public String getAttributeNamespaceUri(int index)
- Specified by:
getAttributeNamespaceUriin interfaceorg.gjt.xpp.XmlStartTag
-
getAttributeLocalName
public String getAttributeLocalName(int index)
- Specified by:
getAttributeLocalNamein interfaceorg.gjt.xpp.XmlStartTag
-
getAttributePrefix
public String getAttributePrefix(int index)
- Specified by:
getAttributePrefixin interfaceorg.gjt.xpp.XmlStartTag
-
getAttributeRawName
public String getAttributeRawName(int index)
- Specified by:
getAttributeRawNamein interfaceorg.gjt.xpp.XmlStartTag
-
getAttributeValue
public String getAttributeValue(int index)
- Specified by:
getAttributeValuein interfaceorg.gjt.xpp.XmlStartTag
-
getAttributeValueFromRawName
public String getAttributeValueFromRawName(String rawName)
- Specified by:
getAttributeValueFromRawNamein interfaceorg.gjt.xpp.XmlStartTag
-
getAttributeValueFromName
public String getAttributeValueFromName(String namespaceURI, String localName)
- Specified by:
getAttributeValueFromNamein interfaceorg.gjt.xpp.XmlStartTag
-
isAttributeNamespaceDeclaration
public boolean isAttributeNamespaceDeclaration(int index)
- Specified by:
isAttributeNamespaceDeclarationin interfaceorg.gjt.xpp.XmlStartTag
-
addAttribute
public void addAttribute(String namespaceURI, String localName, String rawName, String value) throws org.gjt.xpp.XmlPullParserException
parameters modeled after SAX2 attribute approach- Specified by:
addAttributein interfaceorg.gjt.xpp.XmlStartTag- Parameters:
namespaceURI- DOCUMENT ME!localName- DOCUMENT ME!rawName- DOCUMENT ME!value- DOCUMENT ME!- Throws:
org.gjt.xpp.XmlPullParserException- DOCUMENT ME!
-
addAttribute
public void addAttribute(String namespaceURI, String localName, String rawName, String value, boolean isNamespaceDeclaration) throws org.gjt.xpp.XmlPullParserException
- Specified by:
addAttributein interfaceorg.gjt.xpp.XmlStartTag- Throws:
org.gjt.xpp.XmlPullParserException
-
ensureAttributesCapacity
public void ensureAttributesCapacity(int minCapacity) throws org.gjt.xpp.XmlPullParserException- Specified by:
ensureAttributesCapacityin interfaceorg.gjt.xpp.XmlStartTag- Throws:
org.gjt.xpp.XmlPullParserException
-
removeAttributes
public void removeAttributes() throws org.gjt.xpp.XmlPullParserExceptionremove all atribute- Specified by:
removeAttributesin interfaceorg.gjt.xpp.XmlStartTag- Throws:
org.gjt.xpp.XmlPullParserException- DOCUMENT ME!
-
removeAttributeByName
public boolean removeAttributeByName(String namespaceURI, String localName) throws org.gjt.xpp.XmlPullParserException
- Specified by:
removeAttributeByNamein interfaceorg.gjt.xpp.XmlStartTag- Throws:
org.gjt.xpp.XmlPullParserException
-
removeAttributeByRawName
public boolean removeAttributeByRawName(String rawName) throws org.gjt.xpp.XmlPullParserException
- Specified by:
removeAttributeByRawNamein interfaceorg.gjt.xpp.XmlStartTag- Throws:
org.gjt.xpp.XmlPullParserException
-
getLocalName
public String getLocalName()
- Specified by:
getLocalNamein interfaceorg.gjt.xpp.XmlTag
-
getNamespaceUri
public String getNamespaceUri()
- Specified by:
getNamespaceUriin interfaceorg.gjt.xpp.XmlTag
-
getPrefix
public String getPrefix()
- Specified by:
getPrefixin interfaceorg.gjt.xpp.XmlTag
-
getRawName
public String getRawName()
- Specified by:
getRawNamein interfaceorg.gjt.xpp.XmlTag
-
modifyTag
public void modifyTag(String namespaceURI, String lName, String rawName)
- Specified by:
modifyTagin interfaceorg.gjt.xpp.XmlTag
-
resetTag
public void resetTag()
- Specified by:
resetTagin interfaceorg.gjt.xpp.XmlTag
-
getDocumentFactory
public DocumentFactory getDocumentFactory()
-
setDocumentFactory
public void setDocumentFactory(DocumentFactory documentFactory)
-
getElement
public Element getElement()
-
-