org.exolab.castor.xml
Class CharactersProcessor

java.lang.Object
  extended by org.exolab.castor.xml.CharactersProcessor

public class CharactersProcessor
extends Object

A processor that assists UnmarshalHandler in dealing with the SAX 2 ContentHandler.characters(char[], int, int) callback method.

Author:
Philipp Erlacher

Field Summary
protected static ResourceBundle resourceBundle
          resource bundle
 
Constructor Summary
CharactersProcessor(UnmarshalHandler unmarshalHandler)
          Creates an instance of this class, with a reference to the actual UnmarshalHandler for which this processor deals with the SAX 2 characters() callback method.
 
Method Summary
 void compute(char[] ch, int start, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceBundle

protected static ResourceBundle resourceBundle
resource bundle

Constructor Detail

CharactersProcessor

public CharactersProcessor(UnmarshalHandler unmarshalHandler)
Creates an instance of this class, with a reference to the actual UnmarshalHandler for which this processor deals with the SAX 2 characters() callback method.

Parameters:
unmarshalHandler - The UnmarshalHandler instance on which the results of processing the characters method will be 'persisted'/set.
Method Detail

compute

public void compute(char[] ch,
                    int start,
                    int length)
             throws SAXException
Throws:
SAXException


Copyright © 2013. All Rights Reserved.