|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.simonstl.midp.xml.TAMHandlerImpl
A no-op set of handlers that can be used for easy and more complete handling of TAM events.
Constructor Summary | |
TAMHandlerImpl()
Creates a new instance of TAMHandlerImpl |
Method Summary | |
void |
characters(char[] buf,
int offset,
int length)
The characters() method behaves like its SAX2 equivalent. |
void |
comment(char[] ch,
int start,
int length)
The comment() method behaves like its SAX2 ext LexicalHandler equivalent. |
void |
doctype(char[] buf,
int offset,
int length)
This event provides applications with the complete contents of the DOCTYPE declaration. |
void |
endCDATA()
The endCDATA() method behaves like its SAX2 ext LexicalHandler equivalent. |
void |
endDocument()
This event is called at the end of parsing, just like its SAX2 counterpart. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
endElement behaves like SAX2, except that it reports the prefix rather than the QName. |
void |
error(TAMException x)
The error() method behaves like its SAX2 equivalent except that it uses TAMExceptions instead of SAXExceptions. |
void |
fatalError(TAMException x)
The fatalError() method behaves like its SAX2 equivalent except that it uses TAMExceptions instead of SAXExceptions. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
The processingInstruction() method behaves like its SAX2 equivalent. |
void |
skippedEntity(java.lang.String name)
Because TAM-based parsers aren't required to read the DTD, all entities other than the built-in entities (lt, gt, apos, and quot) will be reported as skipped entities. |
void |
startCDATA()
The startCDATA() method behaves like its SAX2 ext LexicalHandler equivalent. |
void |
startDocument()
This event is called at the beginning of parsing, just like its SAX2 counterpart. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
TamAttributes attributes)
startElement behaves like SAX2 except that it reports the prefix rather than the QName. |
void |
warning(TAMException x)
The warning() method behaves like its SAX2 equivalent except that it uses TAMExceptions instead of SAXExceptions. |
void |
XMLDecl(java.lang.String version,
java.lang.String encoding,
java.lang.String standalone)
The XMLDecl method is new, and may be useful to applications who need to know if the encoding used by a given document is supported by their environment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TAMHandlerImpl()
Method Detail |
public void characters(char[] buf, int offset, int length) throws TAMException
TamHandler
characters
in interface TamHandler
public void comment(char[] ch, int start, int length) throws TAMException
TamHandler
comment
in interface TamHandler
public void doctype(char[] buf, int offset, int length) throws TAMException
TamHandler
doctype
in interface TamHandler
public void endCDATA() throws TAMException
TamHandler
endCDATA
in interface TamHandler
public void endDocument() throws TAMException
TamHandler
endDocument
in interface TamHandler
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws TAMException
TamHandler
endElement
in interface TamHandler
public void error(TAMException x) throws TAMException
TamHandler
error
in interface TamHandler
public void fatalError(TAMException x) throws TAMException
TamHandler
fatalError
in interface TamHandler
public void processingInstruction(java.lang.String target, java.lang.String data) throws TAMException
TamHandler
processingInstruction
in interface TamHandler
public void skippedEntity(java.lang.String name) throws TAMException
TamHandler
skippedEntity
in interface TamHandler
public void startCDATA() throws TAMException
TamHandler
startCDATA
in interface TamHandler
public void startDocument() throws TAMException
TamHandler
startDocument
in interface TamHandler
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, TamAttributes attributes) throws TAMException
TamHandler
startElement
in interface TamHandler
public void warning(TAMException x) throws TAMException
TamHandler
warning
in interface TamHandler
public void XMLDecl(java.lang.String version, java.lang.String encoding, java.lang.String standalone)
TamHandler
XMLDecl
in interface TamHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |