org.apache.tika.sax
Class ElementMappingContentHandler.TargetElement

java.lang.Object
  extended by org.apache.tika.sax.ElementMappingContentHandler.TargetElement
Enclosing class:
ElementMappingContentHandler

public static class ElementMappingContentHandler.TargetElement
extends java.lang.Object


Constructor Summary
ElementMappingContentHandler.TargetElement(javax.xml.namespace.QName mappedTagName)
          Creates an TargetElement with no attributes, all attributes will be deleted from SAX stream
ElementMappingContentHandler.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
ElementMappingContentHandler.TargetElement(java.lang.String mappedTagURI, java.lang.String mappedTagLocalName)
          A shortcut that automatically creates the QName object
ElementMappingContentHandler.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
 
Method Summary
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementMappingContentHandler.TargetElement

public ElementMappingContentHandler.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


ElementMappingContentHandler.TargetElement

public ElementMappingContentHandler.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


ElementMappingContentHandler.TargetElement

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


ElementMappingContentHandler.TargetElement

public ElementMappingContentHandler.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)


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.