public class CachingParser extends AbstractParser implements Parser
engine, params| Constructor and Description |
|---|
CachingParser() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
create()
Create a new empty DOM Document object.
|
void |
init(Engine e,
Parameters p)
Initialize this component instance.
|
org.w3c.dom.Document |
parse(org.xml.sax.InputSource in)
Parse the specified InputSource.
|
parsedebug, logpublic void init(Engine e, Parameters p) throws InitializationException
init in interface Componentinit in class AbstractComponente - The Engine owning this Component instancep - This component initialization ParametersInitializationException - If this Component instance cannot be
initialized.public org.w3c.dom.Document create()
public org.w3c.dom.Document parse(org.xml.sax.InputSource in)
throws java.io.IOException,
CreationException
parse in interface Parserin - The InputSource to parse.java.io.IOException - If an I/O error occourred accessing the specified
System-ID.CreationException - If an error occourred parsing the document.