|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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(java.lang.String element,
java.lang.String name,
java.lang.String type,
java.lang.String defaultType,
java.lang.String defaltValue)
SAX2: called on attribute declarations |
void |
comment(char[] buf,
int off,
int len)
SAX2: called when comments are parsed |
void |
elementDecl(java.lang.String name,
java.lang.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(java.lang.String name)
SAX2: called after parsing a general entity in content |
void |
externalEntityDecl(java.lang.String name,
java.lang.String pubid,
java.lang.String sysid)
SAX2: called on external entity declarations |
void |
internalEntityDecl(java.lang.String name,
java.lang.String value)
SAX2: called on internal entity declarations |
void |
startCDATA()
SAX2: called before parsing CDATA characters |
void |
startDTD(java.lang.String root,
java.lang.String pubid,
java.lang.String sysid)
SAX2: called when the doctype is partially parsed |
void |
startEntity(java.lang.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 org.xml.sax.SAXException
startCDATA
in interface org.xml.sax.ext.LexicalHandler
public void endCDATA() throws org.xml.sax.SAXException
endCDATA
in interface org.xml.sax.ext.LexicalHandler
public void startDTD(java.lang.String root, java.lang.String pubid, java.lang.String sysid) throws org.xml.sax.SAXException
startDTD
in interface org.xml.sax.ext.LexicalHandler
public void endDTD() throws org.xml.sax.SAXException
endDTD
in interface org.xml.sax.ext.LexicalHandler
public void startEntity(java.lang.String name) throws org.xml.sax.SAXException
startEntity
in interface org.xml.sax.ext.LexicalHandler
public void endEntity(java.lang.String name) throws org.xml.sax.SAXException
endEntity
in interface org.xml.sax.ext.LexicalHandler
public void comment(char[] buf, int off, int len) throws org.xml.sax.SAXException
comment
in interface org.xml.sax.ext.LexicalHandler
public void attributeDecl(java.lang.String element, java.lang.String name, java.lang.String type, java.lang.String defaultType, java.lang.String defaltValue) throws org.xml.sax.SAXException
attributeDecl
in interface org.xml.sax.ext.DeclHandler
public void elementDecl(java.lang.String name, java.lang.String model) throws org.xml.sax.SAXException
elementDecl
in interface org.xml.sax.ext.DeclHandler
public void externalEntityDecl(java.lang.String name, java.lang.String pubid, java.lang.String sysid) throws org.xml.sax.SAXException
externalEntityDecl
in interface org.xml.sax.ext.DeclHandler
public void internalEntityDecl(java.lang.String name, java.lang.String value) throws org.xml.sax.SAXException
internalEntityDecl
in interface org.xml.sax.ext.DeclHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |