class: IdentityHandler

public class: IdentityHandler
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:13:15; Modified: 16.07.2009 15:13:15;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {DEF53E25-725D-410d-A53E-82EF46DDE31D}
SAX handler to write an XML that is identical to the input XML. Might be useful to make small modifications in an XML.
 

Goto: Custom Properties, Fields, Methods

Extends: ShortContentHandler

See also: ShortContentHandler

Appears in: util

Connections
 
Custom Properties
 
IdentityHandler Attributes
Attribute Details
protected String
  defaultNameSpace
Initial: null
protected int
  length
Initial: 0
protected HashMap
  nameSpaces
Initial: new HashMap()
private StringWriter
  result
Initial: new StringWriter()
 
IdentityHandler Methods
Operation Details
public
append(
   String str):void
Sequential
Notes: Appends something to the result.
public
content(
   String uri,
   String localName,
   String name,
   String content):void
Sequential
Tags: annotations=@Override
throws=SAXException
Notes: {@inheritDoc}
public
endElement(
   String uri,
   String localName,
   String name):void
Sequential
Tags: annotations=@Override
throws=SAXException
Notes: {@inheritDoc}
public
escape(
   String input):String
Sequential
Notes: Returns an XML-escaped String that can be used for writing an XML.
@return The XML-escaped string
public
getResult():String
Sequential
public
getResultLength():int
Sequential
public
processingInstruction(
   String name,
   String params):void
Sequential
Tags: annotations=@Override
throws=SAXException
Notes: {@inheritDoc}
public
startElement(
   String uri,
   String localName,
   String name,
   Attributes attributes):void
Sequential
Tags: annotations=@Override
throws=SAXException
Notes: {@inheritDoc}