Package org.apache.tika.example
Class PrescriptionParser
- java.lang.Object
- 
- org.apache.tika.parser.AbstractParser
- 
- org.apache.tika.parser.xml.XMLParser
- 
- org.apache.tika.example.PrescriptionParser
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Parser
 
 public class PrescriptionParser extends XMLParser - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description PrescriptionParser()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContentHandlergetContentHandler(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.AbstractParserparse
 
- 
 
- 
- 
- 
Method Detail- 
getContentHandlerprotected ContentHandler getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context) - Overrides:
- getContentHandlerin class- XMLParser
 
 - 
getSupportedTypespublic Set<MediaType> getSupportedTypes(ParseContext context) Description copied from interface:ParserReturns the set of media types supported by this parser when used with the given parse context.- Specified by:
- getSupportedTypesin interface- Parser
- Overrides:
- getSupportedTypesin class- XMLParser
- Parameters:
- context- parse context
- Returns:
- immutable set of media types
 
 
- 
 
-