public class FictionBookParser extends XMLParser
Modifier and Type | Class and Description |
---|---|
private static class |
FictionBookParser.BinaryElementsDataHandler |
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
FictionBookParser() |
Modifier and Type | Method and Description |
---|---|
protected org.xml.sax.ContentHandler |
getContentHandler(org.xml.sax.ContentHandler handler,
Metadata metadata,
ParseContext context) |
java.util.Set<MediaType> |
getSupportedTypes(ParseContext context)
Returns the set of media types supported by this parser when used
with the given parse context.
|
parse
private static final long serialVersionUID
public java.util.Set<MediaType> getSupportedTypes(ParseContext context)
Parser
getSupportedTypes
in interface Parser
getSupportedTypes
in class XMLParser
context
- parse contextprotected org.xml.sax.ContentHandler getContentHandler(org.xml.sax.ContentHandler handler, Metadata metadata, ParseContext context)
getContentHandler
in class XMLParser