class: ShortContentHandler

public class: ShortContentHandler
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1743 $ $LastChangedDate: 2009-03-25 11:; Complexity: 1
Dates: Created: 16.07.2009 15:21:15; Modified: 16.07.2009 15:21:15;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {43915191-8923-4a19-ADF1-1A8078BB3634}
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: IdentityHandler, XMLStack, XMLStack, FrameworkValidationSchemaSource

Appears in: util

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