public class PrescriptionParser extends XMLParser
Constructor and Description |
---|
PrescriptionParser() |
Modifier and Type | Method and Description |
---|---|
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.
|
parse
protected ContentHandler getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context)
getContentHandler
in class XMLParser
public Set<MediaType> getSupportedTypes(ParseContext context)
Parser
getSupportedTypes
in interface Parser
getSupportedTypes
in class XMLParser
context
- parse contextCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.