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 Object


Constructor Summary
ElementMappingContentHandler.TargetElement(QName mappedTagName)
          Creates an TargetElement with no attributes, all attributes will be deleted from SAX stream
ElementMappingContentHandler.TargetElement(QName mappedTagName, Map<QName,QName> attributesMapping)
          Creates an TargetElement, attributes of this element will be mapped as specified
ElementMappingContentHandler.TargetElement(String mappedTagURI, String mappedTagLocalName)
          A shortcut that automatically creates the QName object
ElementMappingContentHandler.TargetElement(String mappedTagURI, String mappedTagLocalName, Map<QName,QName> attributesMapping)
          A shortcut that automatically creates the QName object
 
Method Summary
 Map<QName,QName> getAttributesMapping()
           
 QName getMappedTagName()
           
 Attributes mapAttributes(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(QName mappedTagName,
                                                  Map<QName,QName> attributesMapping)
Creates an TargetElement, attributes of this element will be mapped as specified


ElementMappingContentHandler.TargetElement

public ElementMappingContentHandler.TargetElement(String mappedTagURI,
                                                  String mappedTagLocalName,
                                                  Map<QName,QName> attributesMapping)
A shortcut that automatically creates the QName object


ElementMappingContentHandler.TargetElement

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


ElementMappingContentHandler.TargetElement

public ElementMappingContentHandler.TargetElement(String mappedTagURI,
                                                  String mappedTagLocalName)
A shortcut that automatically creates the QName object

Method Detail

getMappedTagName

public QName getMappedTagName()

getAttributesMapping

public Map<QName,QName> getAttributesMapping()

mapAttributes

public Attributes mapAttributes(Attributes atts)


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