com.raritantechnologies.xml.sax.filter.attributeMods
Class AttributeDeleter

java.lang.Object
  extended bycom.raritantechnologies.xml.sax.filter.AttributesModifier
      extended bycom.raritantechnologies.xml.sax.filter.attributeMods.AttributeDeleter
All Implemented Interfaces:
IConfigurable

public class AttributeDeleter
extends AttributesModifier

A subclass of AttributesModifier that deletes a particular attribute by name. Works with ProgrammableSAXFilter.

XML Configuration Template:
    <AttributesModifier class="com.raritantechnologies.xml.sax.filter.attributeMods.AttributeDeleter"
                           uri="[uri of attribute ]"
                           localName="[ localName of attribute ]" />
  

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
AttributeDeleter()
           
AttributeDeleter(java.lang.String uri, java.lang.String localName)
           
AttributeDeleter(java.lang.String uri, java.lang.String localName, AttributesModifier next)
           
 
Method Summary
protected  org.xml.sax.helpers.AttributesImpl _modifyAttributes(org.xml.sax.helpers.AttributesImpl source)
           
 java.lang.String getConfigurationXML()
           
 java.lang.String getLocalName()
           
 java.lang.String getURI()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void setLocalName(java.lang.String localName)
           
 void setURI(java.lang.String uri)
           
 
Methods inherited from class com.raritantechnologies.xml.sax.filter.AttributesModifier
modifyAttributes, modifyAttributes, setNextMod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDeleter

public AttributeDeleter()

AttributeDeleter

public AttributeDeleter(java.lang.String uri,
                        java.lang.String localName)

AttributeDeleter

public AttributeDeleter(java.lang.String uri,
                        java.lang.String localName,
                        AttributesModifier next)
Method Detail

_modifyAttributes

protected org.xml.sax.helpers.AttributesImpl _modifyAttributes(org.xml.sax.helpers.AttributesImpl source)
Specified by:
_modifyAttributes in class AttributesModifier

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.


setURI

public void setURI(java.lang.String uri)

getURI

public java.lang.String getURI()

setLocalName

public void setLocalName(java.lang.String localName)

getLocalName

public java.lang.String getLocalName()

getConfigurationXML

public java.lang.String getConfigurationXML()