|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.icl.saxon.aelfred.DefaultHandler
This class extends the SAX base handler class to support the SAX2 Lexical and Declaration handlers. All the handler methods do is return; except that the SAX base class handles fatal errors by throwing an exception.
Constructor Summary | |
DefaultHandler()
Constructs a handler which ignores all parsing events. |
Method Summary | |
void |
attributeDecl(String element,
String name,
String type,
String defaultType,
String defaltValue)
SAX2: called on attribute declarations |
void |
comment(char[] buf,
int off,
int len)
SAX2: called when comments are parsed |
void |
elementDecl(String name,
String model)
SAX2: called on element declarations |
void |
endCDATA()
SAX2: called after parsing CDATA characters |
void |
endDTD()
SAX2: called after the doctype is parsed |
void |
endEntity(String name)
SAX2: called after parsing a general entity in content |
void |
externalEntityDecl(String name,
String pubid,
String sysid)
SAX2: called on external entity declarations |
void |
internalEntityDecl(String name,
String value)
SAX2: called on internal entity declarations |
void |
startCDATA()
SAX2: called before parsing CDATA characters |
void |
startDTD(String root,
String pubid,
String sysid)
SAX2: called when the doctype is partially parsed |
void |
startEntity(String name)
SAX2: called before parsing a general entity in content |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultHandler()
Method Detail |
public void startCDATA() throws SAXException
startCDATA
in interface LexicalHandler
SAXException
public void endCDATA() throws SAXException
endCDATA
in interface LexicalHandler
SAXException
public void startDTD(String root, String pubid, String sysid) throws SAXException
startDTD
in interface LexicalHandler
SAXException
public void endDTD() throws SAXException
endDTD
in interface LexicalHandler
SAXException
public void startEntity(String name) throws SAXException
startEntity
in interface LexicalHandler
SAXException
public void endEntity(String name) throws SAXException
endEntity
in interface LexicalHandler
SAXException
public void comment(char[] buf, int off, int len) throws SAXException
comment
in interface LexicalHandler
SAXException
public void attributeDecl(String element, String name, String type, String defaultType, String defaltValue) throws SAXException
attributeDecl
in interface DeclHandler
SAXException
public void elementDecl(String name, String model) throws SAXException
elementDecl
in interface DeclHandler
SAXException
public void externalEntityDecl(String name, String pubid, String sysid) throws SAXException
externalEntityDecl
in interface DeclHandler
SAXException
public void internalEntityDecl(String name, String value) throws SAXException
internalEntityDecl
in interface DeclHandler
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |