|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.stylebook.AbstractComponent
org.apache.stylebook.parsers.AbstractParser
org.apache.stylebook.parsers.CachingParser
public class CachingParser
Field Summary |
---|
Fields inherited from class org.apache.stylebook.AbstractComponent |
---|
engine, params |
Constructor Summary | |
---|---|
CachingParser()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.stylebook.parsers.AbstractParser |
---|
parse |
Methods inherited from class org.apache.stylebook.AbstractComponent |
---|
debug, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.stylebook.Parser |
---|
parse |
Constructor Detail |
---|
public CachingParser()
Method Detail |
---|
public void init(Engine e, Parameters p) throws InitializationException
init
in interface Component
init
in class AbstractComponent
e
- The Engine owning this Component instancep
- This component initialization Parameters
InitializationException
- If this Component instance cannot be
initialized.public org.w3c.dom.Document create()
create
in interface Parser
DocumentException
- If the new Document cannot be created.public org.w3c.dom.Document parse(org.xml.sax.InputSource in) throws java.io.IOException, CreationException
parse
in interface Parser
in
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |