Class ElementMappingContentHandler.TargetElement

    • Constructor Summary

      Constructors 
      Constructor Description
      TargetElement​(java.lang.String mappedTagURI, java.lang.String mappedTagLocalName)
      A shortcut that automatically creates the QName object
      TargetElement​(java.lang.String mappedTagURI, java.lang.String mappedTagLocalName, java.util.Map<javax.xml.namespace.QName,​javax.xml.namespace.QName> attributesMapping)
      A shortcut that automatically creates the QName object
      TargetElement​(javax.xml.namespace.QName mappedTagName)
      Creates an TargetElement with no attributes, all attributes will be deleted from SAX stream
      TargetElement​(javax.xml.namespace.QName mappedTagName, java.util.Map<javax.xml.namespace.QName,​javax.xml.namespace.QName> attributesMapping)
      Creates an TargetElement, attributes of this element will be mapped as specified
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<javax.xml.namespace.QName,​javax.xml.namespace.QName> getAttributesMapping()  
      javax.xml.namespace.QName getMappedTagName()  
      org.xml.sax.Attributes mapAttributes​(org.xml.sax.Attributes atts)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TargetElement

        public TargetElement​(javax.xml.namespace.QName mappedTagName,
                             java.util.Map<javax.xml.namespace.QName,​javax.xml.namespace.QName> attributesMapping)
        Creates an TargetElement, attributes of this element will be mapped as specified
      • TargetElement

        public TargetElement​(java.lang.String mappedTagURI,
                             java.lang.String mappedTagLocalName,
                             java.util.Map<javax.xml.namespace.QName,​javax.xml.namespace.QName> attributesMapping)
        A shortcut that automatically creates the QName object
      • TargetElement

        public TargetElement​(javax.xml.namespace.QName mappedTagName)
        Creates an TargetElement with no attributes, all attributes will be deleted from SAX stream
      • TargetElement

        public TargetElement​(java.lang.String mappedTagURI,
                             java.lang.String mappedTagLocalName)
        A shortcut that automatically creates the QName object
    • Method Detail

      • getMappedTagName

        public javax.xml.namespace.QName getMappedTagName()
      • getAttributesMapping

        public java.util.Map<javax.xml.namespace.QName,​javax.xml.namespace.QName> getAttributesMapping()
      • mapAttributes

        public org.xml.sax.Attributes mapAttributes​(org.xml.sax.Attributes atts)