public class WordMLParser extends AbstractXML2003Parser
Constructor and Description |
---|
WordMLParser() |
Modifier and Type | Method and Description |
---|---|
protected ContentHandler |
getContentHandler(ContentHandler ch,
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.
|
void |
setContentType(Metadata metadata) |
parse
parse
public Set<MediaType> getSupportedTypes(ParseContext context)
Parser
context
- parse contextprotected ContentHandler getContentHandler(ContentHandler ch, Metadata metadata, ParseContext context)
getContentHandler
in class AbstractXML2003Parser
public void setContentType(Metadata metadata)
setContentType
in class AbstractXML2003Parser
Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.