|
|||||||||
| 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
public class 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 LexicalHandlerSAXException
public void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXException
public void startDTD(String root,
String pubid,
String sysid)
throws SAXException
startDTD in interface LexicalHandlerSAXException
public void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXException
public void startEntity(String name)
throws SAXException
startEntity in interface LexicalHandlerSAXException
public void endEntity(String name)
throws SAXException
endEntity in interface LexicalHandlerSAXException
public void comment(char[] buf,
int off,
int len)
throws SAXException
comment in interface LexicalHandlerSAXException
public void attributeDecl(String element,
String name,
String type,
String defaultType,
String defaltValue)
throws SAXException
attributeDecl in interface DeclHandlerSAXException
public void elementDecl(String name,
String model)
throws SAXException
elementDecl in interface DeclHandlerSAXException
public void externalEntityDecl(String name,
String pubid,
String sysid)
throws SAXException
externalEntityDecl in interface DeclHandlerSAXException
public void internalEntityDecl(String name,
String value)
throws SAXException
internalEntityDecl in interface DeclHandlerSAXException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||