public class FlatFileReader extends Object implements SmooksXMLReader, VisitorAppender
Constructor and Description |
---|
FlatFileReader() |
Modifier and Type | Method and Description |
---|---|
void |
addVisitors(VisitorConfigMap visitorMap)
Add visitors to the supplied Cisitor map.
|
ContentHandler |
getContentHandler() |
DTDHandler |
getDTDHandler() |
EntityResolver |
getEntityResolver() |
ErrorHandler |
getErrorHandler() |
boolean |
getFeature(String name) |
Object |
getProperty(String name) |
void |
initialize() |
void |
parse(InputSource inputSource) |
void |
parse(String systemId)
The following methods are currently unimplemnted...
|
void |
setContentHandler(ContentHandler contentHandler) |
void |
setDTDHandler(DTDHandler arg0) |
void |
setEntityResolver(EntityResolver arg0) |
void |
setErrorHandler(ErrorHandler arg0) |
void |
setExecutionContext(ExecutionContext request)
Set the Smooks
ExecutionContext on the implementing class. |
void |
setFeature(String name,
boolean value) |
void |
setProperty(String name,
Object value) |
@Initialize public void initialize() throws IllegalAccessException, InstantiationException
public void addVisitors(VisitorConfigMap visitorMap)
VisitorAppender
addVisitors
in interface VisitorAppender
visitorMap
- The visitor map to be added to.public void setExecutionContext(ExecutionContext request)
SmooksXMLReader
ExecutionContext
on the implementing class.setExecutionContext
in interface SmooksXMLReader
request
- The Smooks ExecutionContext
.public void parse(InputSource inputSource) throws IOException, SAXException
parse
in interface XMLReader
IOException
SAXException
public void setContentHandler(ContentHandler contentHandler)
setContentHandler
in interface XMLReader
public ContentHandler getContentHandler()
getContentHandler
in interface XMLReader
public void parse(String systemId)
public boolean getFeature(String name)
getFeature
in interface XMLReader
public void setFeature(String name, boolean value)
setFeature
in interface XMLReader
public DTDHandler getDTDHandler()
getDTDHandler
in interface XMLReader
public void setDTDHandler(DTDHandler arg0)
setDTDHandler
in interface XMLReader
public EntityResolver getEntityResolver()
getEntityResolver
in interface XMLReader
public void setEntityResolver(EntityResolver arg0)
setEntityResolver
in interface XMLReader
public ErrorHandler getErrorHandler()
getErrorHandler
in interface XMLReader
public void setErrorHandler(ErrorHandler arg0)
setErrorHandler
in interface XMLReader
public Object getProperty(String name)
getProperty
in interface XMLReader
public void setProperty(String name, Object value)
setProperty
in interface XMLReader
Copyright © 2020. All rights reserved.