|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.softwareag.tamino.db.api.objectModel.sax.TSAXElementDefaultHandler
com.softwareag.tamino.db.api.objectModel.sax.TSAXElementDefaultHandlerImpl
public class TSAXElementDefaultHandlerImpl
TSAXElementDefaultHandlerImpl is simply a test implementation for TSAXElementDefaultHandler.
Field Summary |
---|
Fields inherited from class com.softwareag.tamino.db.api.objectModel.sax.TSAXElementDefaultHandler |
---|
SPECIFIER |
Constructor Summary | |
---|---|
TSAXElementDefaultHandlerImpl()
|
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
Receive notification of character data. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Receive notification of the ending of an element. |
java.util.Iterator<TStreamElement> |
getElementIterator()
Returns an iterator that can be used to navigate over the sequence of TSAXElement instances that might have been build due to the event handling. |
TSAXElement |
getFirstElement()
Returns the first element within the sequence of TSAXElement instances that might have been build due to the event handling. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Receive notification of the beginning of an element. |
Methods inherited from class com.softwareag.tamino.db.api.objectModel.sax.TSAXElementDefaultHandler |
---|
reset |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TSAXElementDefaultHandlerImpl()
Method Detail |
---|
public TSAXElement getFirstElement()
getFirstElement
in class TSAXElementDefaultHandler
public java.util.Iterator<TStreamElement> getElementIterator()
getElementIterator
in class TSAXElementDefaultHandler
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
uri
- The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed.localName
- The local name (without prefix), or the empty string if Namespace processing is not being performed.qName
- The qualified name (with prefix), or the empty string if qualified names are not available.atts
- The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object.
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exception.public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
uri
- The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed.localName
- The local name (without prefix), or the empty string if Namespace processing is not being performed.qName
- The qualified name (with prefix), or the empty string if qualified names are not available.
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exception.public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
ch
- The characters from the XML document.start
- The start position in the array.length
- The number of characters to read from the array.
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |