com.raritantechnologies.xml.sax.filter.cDataMods
Class StringFilterCDataModifier
java.lang.Object
com.raritantechnologies.xml.sax.filter.cDataMods.StringFilterCDataModifier
- All Implemented Interfaces:
- CDataModifier, IConfigurable
- public class StringFilterCDataModifier
- extends java.lang.Object
- implements CDataModifier
CDataModifier that uses an IStringFilter to
modify the initial string. Works with ProgrammableSAXFilter.
XML Configuration Template:
<CDataModifier class="com.raritantechnologies.xml.sax.filter.cDataMods.StringFilterCDataModifier" >
<StringFilter class="[ class of com.raritantechnologies.utils.filter.IStringFilter ]" >
<!-- configuration parameters for IStringFilter class -->
</StringFilter>
</CDataModifier>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
|
Method Summary |
void |
filterCData(CDataContent content)
Filter the character source and send the modified character events to the ContentHandler |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringFilterCDataModifier
public StringFilterCDataModifier()
filterCData
public void filterCData(CDataContent content)
- Description copied from interface:
CDataModifier
- Filter the character source and send the modified character events to the ContentHandler
- Specified by:
filterCData in interface CDataModifier
- Parameters:
content - The CharacterData to be modified. Modification is achieved by changing
the properties of this object.
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable