class: ShortContentHandler

private class: ShortContentHandler
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 2050 $ $LastChangedDate: 2009-06-03 12:; Complexity: 1
Dates: Created: 16.07.2009 15:15:57; Modified: 16.07.2009 15:15:58;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {89BD7642-D93A-4cf1-B603-D5416A8BCE67}
Generic SAX handler with convenience methods. Useful for XML with only short string content. Classes that extend this class should always call super() at the beginning of an overridden method.
 

Goto: Custom Properties, Fields, Methods

See also: XMLStack, ServiceListHandler

Appears in: cone

Connections
 
Custom Properties
 
ShortContentHandler Attributes
Attribute Details
private StringBuffer
  currentContent
protected XMLStack
  stack
Initial: new XMLStack()
 
ShortContentHandler Methods
Operation Details
public const
characters(
   char[] ch,
   int start,
   int length):void
Sequential
Tags: annotations=@Override
throws=SAXException
public
content(
   String uri,
   String localName,
   String name,
   String content):void
Sequential
Notes: Called when string content was found.
public
endElement(
   String uri,
   String localName,
   String name):void
Sequential
Tags: annotations=@Override
throws=SAXException
public
startElement(
   String uri,
   String localName,
   String name,
   Attributes attributes):void
Sequential
Tags: annotations=@Override
throws=SAXException