org.apache.tika.parser.xml
Class FictionBookParser

java.lang.Object
  extended by org.apache.tika.parser.AbstractParser
      extended by org.apache.tika.parser.xml.XMLParser
          extended by org.apache.tika.parser.xml.FictionBookParser
All Implemented Interfaces:
Serializable, Parser

public class FictionBookParser
extends XMLParser

See Also:
Serialized Form

Constructor Summary
FictionBookParser()
           
 
Method Summary
protected  ContentHandler getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context)
           
 Set<MediaType> getSupportedTypes(ParseContext context)
          Returns the set of media types supported by this parser when used with the given parse context.
 
Methods inherited from class org.apache.tika.parser.xml.XMLParser
parse
 
Methods inherited from class org.apache.tika.parser.AbstractParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FictionBookParser

public FictionBookParser()
Method Detail

getSupportedTypes

public Set<MediaType> getSupportedTypes(ParseContext context)
Description copied from interface: Parser
Returns the set of media types supported by this parser when used with the given parse context.

Specified by:
getSupportedTypes in interface Parser
Overrides:
getSupportedTypes in class XMLParser
Parameters:
context - parse context
Returns:
immutable set of media types

getContentHandler

protected ContentHandler getContentHandler(ContentHandler handler,
                                           Metadata metadata,
                                           ParseContext context)
Overrides:
getContentHandler in class XMLParser


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