Package org.dom4j.xpp

Class ProxyXmlStartTag

  • All Implemented Interfaces:
    org.gjt.xpp.XmlStartTag, org.gjt.xpp.XmlTag

    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 Detail

      • ProxyXmlStartTag

        public ProxyXmlStartTag()
      • ProxyXmlStartTag

        public ProxyXmlStartTag(Element element)
    • Method Detail

      • resetStartTag

        public void resetStartTag()
        Specified by:
        resetStartTag in interface org.gjt.xpp.XmlStartTag
      • getAttributeCount

        public int getAttributeCount()
        Specified by:
        getAttributeCount in interface org.gjt.xpp.XmlStartTag
      • getAttributeNamespaceUri

        public java.lang.String getAttributeNamespaceUri(int index)
        Specified by:
        getAttributeNamespaceUri in interface org.gjt.xpp.XmlStartTag
      • getAttributeLocalName

        public java.lang.String getAttributeLocalName(int index)
        Specified by:
        getAttributeLocalName in interface org.gjt.xpp.XmlStartTag
      • getAttributePrefix

        public java.lang.String getAttributePrefix(int index)
        Specified by:
        getAttributePrefix in interface org.gjt.xpp.XmlStartTag
      • getAttributeRawName

        public java.lang.String getAttributeRawName(int index)
        Specified by:
        getAttributeRawName in interface org.gjt.xpp.XmlStartTag
      • getAttributeValue

        public java.lang.String getAttributeValue(int index)
        Specified by:
        getAttributeValue in interface org.gjt.xpp.XmlStartTag
      • getAttributeValueFromRawName

        public java.lang.String getAttributeValueFromRawName(java.lang.String rawName)
        Specified by:
        getAttributeValueFromRawName in interface org.gjt.xpp.XmlStartTag
      • getAttributeValueFromName

        public java.lang.String getAttributeValueFromName(java.lang.String namespaceURI,
                                                          java.lang.String localName)
        Specified by:
        getAttributeValueFromName in interface org.gjt.xpp.XmlStartTag
      • isAttributeNamespaceDeclaration

        public boolean isAttributeNamespaceDeclaration(int index)
        Specified by:
        isAttributeNamespaceDeclaration in interface org.gjt.xpp.XmlStartTag
      • addAttribute

        public void addAttribute(java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 java.lang.String rawName,
                                 java.lang.String value)
                          throws org.gjt.xpp.XmlPullParserException
        parameters modeled after SAX2 attribute approach
        Specified by:
        addAttribute in interface org.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(java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 java.lang.String rawName,
                                 java.lang.String value,
                                 boolean isNamespaceDeclaration)
                          throws org.gjt.xpp.XmlPullParserException
        Specified by:
        addAttribute in interface org.gjt.xpp.XmlStartTag
        Throws:
        org.gjt.xpp.XmlPullParserException
      • ensureAttributesCapacity

        public void ensureAttributesCapacity(int minCapacity)
                                      throws org.gjt.xpp.XmlPullParserException
        Specified by:
        ensureAttributesCapacity in interface org.gjt.xpp.XmlStartTag
        Throws:
        org.gjt.xpp.XmlPullParserException
      • removeAtttributes

        public void removeAtttributes()
                               throws org.gjt.xpp.XmlPullParserException
        remove all atribute
        Specified by:
        removeAtttributes in interface org.gjt.xpp.XmlStartTag
        Throws:
        org.gjt.xpp.XmlPullParserException - DOCUMENT ME!
      • getLocalName

        public java.lang.String getLocalName()
        Specified by:
        getLocalName in interface org.gjt.xpp.XmlTag
      • getNamespaceUri

        public java.lang.String getNamespaceUri()
        Specified by:
        getNamespaceUri in interface org.gjt.xpp.XmlTag
      • getPrefix

        public java.lang.String getPrefix()
        Specified by:
        getPrefix in interface org.gjt.xpp.XmlTag
      • getRawName

        public java.lang.String getRawName()
        Specified by:
        getRawName in interface org.gjt.xpp.XmlTag
      • modifyTag

        public void modifyTag(java.lang.String namespaceURI,
                              java.lang.String lName,
                              java.lang.String rawName)
        Specified by:
        modifyTag in interface org.gjt.xpp.XmlTag
      • resetTag

        public void resetTag()
        Specified by:
        resetTag in interface org.gjt.xpp.XmlTag
      • setDocumentFactory

        public void setDocumentFactory(DocumentFactory documentFactory)
      • getElement

        public Element getElement()