|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.cocoon.xml.AbstractXMLProducer org.apache.cocoon.components.parser.XercesParser
public class XercesParser
Field Summary | |
---|---|
protected ComponentManager |
manager
Deprecated. the component manager |
protected Resolver |
resolver
Deprecated. the Entity Resolver |
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
---|
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
Fields inherited from interface org.apache.cocoon.components.parser.Parser |
---|
ROLE |
Constructor Summary | |
---|---|
XercesParser()
Deprecated. |
Method Summary | |
---|---|
void |
compose(ComponentManager manager)
Deprecated. Get the Entity Resolver from the component manager |
void |
dispose()
Deprecated. Dispose |
void |
error(SAXParseException e)
Deprecated. Receive notification of a recoverable error. |
void |
fatalError(SAXParseException e)
Deprecated. Receive notification of a fatal error. |
Document |
newDocument()
Deprecated. Create a new Document object. |
Document |
newDocument(String name)
Deprecated. Create a new Document object with a specified DOCTYPE. |
Document |
newDocument(String name,
String pub,
String sys)
Deprecated. Create a new Document object with a specified DOCTYPE, public ID and system ID. |
void |
parse(InputSource in)
Deprecated. |
Document |
parseDocument(InputSource input)
Deprecated. Parses a new Document object from the given InputSource. |
void |
warning(SAXParseException e)
Deprecated. Receive notification of a warning. |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
---|
recycle, setConsumer, setContentHandler, setLexicalHandler |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cocoon.components.parser.Parser |
---|
setContentHandler, setLexicalHandler |
Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
---|
setConsumer |
Field Detail |
---|
protected ComponentManager manager
protected Resolver resolver
Constructor Detail |
---|
public XercesParser() throws SAXException
SAXException
Method Detail |
---|
public void compose(ComponentManager manager) throws ComponentException
compose
in interface Composable
ComponentException
public void dispose()
dispose
in interface Disposable
public void parse(InputSource in) throws SAXException, IOException
parse
in interface Parser
SAXException
IOException
public Document newDocument()
newDocument
in interface DOMFactory
public Document newDocument(String name)
newDocument
in interface DOMFactory
public Document newDocument(String name, String pub, String sys)
newDocument
in interface DOMFactory
public Document parseDocument(InputSource input) throws SAXException, IOException
parseDocument
in interface Parser
SAXException
IOException
public void error(SAXParseException e) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException e) throws SAXException
fatalError
in interface ErrorHandler
SAXException
public void warning(SAXParseException e) throws SAXException
warning
in interface ErrorHandler
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |