class: ShortContentHandler

public class: ShortContentHandler
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1951 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:15:02; Modified: 16.07.2009 15:15:02;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {BC0643FC-9C74-466c-8810-A82814B4FB21}
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, SecondXmlHandler, FirstXmlHandler

Appears in: test

Connections
 
Custom Properties
 
ShortContentHandler Attributes
Attribute Details
private StringBuffer
  currentContent
private HashMap>
  namespacesMap
Initial: new HashMap>()
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
protected
getNamespaces():HashMap
Sequential
public
getStack():XMLStack
Sequential
public
startElement(
   String uri,
   String localName,
   String name,
   Attributes attributes):void
Sequential
Tags: annotations=@Override
throws=SAXException