| java.lang.Object org.xml.sax.helpers.DefaultHandler de.danet.an.workflow.util.StackableDefaultHandler
StackableDefaultHandler | public class StackableDefaultHandler extends DefaultHandler (Code) | | Base class for objects able to handle sax events.
derived classes must override the startElement() and
endElement() method.
To give back the control to the parent control
handler, the derived content handler called the terminate()
method if he receives the endElement()-Event for his ending
tag.
Derived classes are normaly inner classes of the associated
domain class (e.g. CustomerOrder or SchedulingScheme)
|
Method Summary | |
public void | characters(char[] ch, int start, int length) The Parser will call this method to report each chunk of character
data. | public void | terminate() Finish this handler and give control back to
previous handler. |
contents | protected CharArrayWriter contents(Code) | | Buffer for collecting data from the "characters" SAX event.
|
parentContentHandler | protected ContentHandler parentContentHandler(Code) | | The content handler who called this handler.
|
StackableDefaultHandler | public StackableDefaultHandler(XMLReader parser)(Code) | | Default constructor.
Parameters: parser - SAX parser |
characters | public void characters(char[] ch, int start, int length) throws SAXException(Code) | | The Parser will call this method to report each chunk of character
data. SAX parsers may return all contiguous character data in a
single chunk, or they may split it into several chunks; however,
all of the characters in any single event must come from the same
external entity so that the Locator provides useful information.
Parameters: ch - The characters from the XML document. Parameters: start - The start position in the array. Parameters: length - The number of characters to read from the array. throws: SAXException - |
terminate | public void terminate()(Code) | | Finish this handler and give control back to
previous handler.
Called if the handler receives the endElement()-Event
for his ending tag.
|
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|