com.raritantechnologies.xml.sax.filter
Interface CDataModifier

All Superinterfaces:
IConfigurable
All Known Implementing Classes:
CDataCharReplacer, CDataDeleter, CDataEditor, CDataInserter, CDataObjectPropertySetter, CDataReplacer, CDataTrimmer, StringFilterCDataModifier

public interface CDataModifier
extends IConfigurable

Interface for objects that can modify the character data segment of an XML element.

Objects of this type are used as components of ElementModifier as part of ProgrammableSAXFilter. The ElementModifier passes SAX character events to objects of this type (if it has one) along with the content handler that is to receive the events.

Implementations of this interface can prepend or append characters by sending new SAX characters events before (and/or) after the original event(CDataExtender), can substitute a new characters event(CDataReplacer) or drop it (CDataDeleter).


Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Method Summary
 void filterCData(CDataContent charData)
          Filter the character source and send the modified character events to the ContentHandler
 
Methods inherited from interface com.raritantechnologies.searchApp.IConfigurable
initialize
 

Method Detail

filterCData

public void filterCData(CDataContent charData)
Filter the character source and send the modified character events to the ContentHandler

Parameters:
charData - The CharacterData to be modified. Modification is achieved by changing the properties of this object.