com.raritantechnologies.xml.sax.filter.callbacks
Interface ICallbackOperation

All Superinterfaces:
IConfigurable
All Known Implementing Classes:
AttributeCallbackOperation, CDataCallbackOperation, FieldValueCallbackOperation, StringFilterCallbackOperation, TagAttributesMapCallback, TagContentCallbackOperation, TagTextCallbackOperation

public interface ICallbackOperation
extends IConfigurable

Interface for objects that can add a callback operation to a ProgrammableSAXFilter.


Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Field Summary
static java.lang.String MAP
           
static java.lang.String TAGXML
           
static java.lang.String TEXT
           
 
Method Summary
 java.lang.String getLastCallbackPath()
           
 java.lang.String getParameterName()
           
 java.lang.String getType()
           
 void initialize(org.w3c.dom.Element compElem)
          Initializes the object from an XML tag or element.
 boolean isMultiple()
           
 boolean isUnique()
           
 void setCallback(ProgrammableSAXFilter psf, java.lang.Object targetObject, java.lang.String methodName)
          Sets up the callback from the ProgrammableSAXFilter to the targetObject.
 void setIsMultiple(boolean isMultiple)
          Determines whether the callback can occur more than once.
 void setIsUnique(boolean isUnique)
          Determines whether new values should appendTo or set the target value.
 void setParameterName(java.lang.String paramName)
           
 

Field Detail

TEXT

public static final java.lang.String TEXT
See Also:
Constant Field Values

TAGXML

public static final java.lang.String TAGXML
See Also:
Constant Field Values

MAP

public static final java.lang.String MAP
See Also:
Constant Field Values
Method Detail

setCallback

public void setCallback(ProgrammableSAXFilter psf,
                        java.lang.Object targetObject,
                        java.lang.String methodName)
Sets up the callback from the ProgrammableSAXFilter to the targetObject.


setParameterName

public void setParameterName(java.lang.String paramName)

getParameterName

public java.lang.String getParameterName()

initialize

public void initialize(org.w3c.dom.Element compElem)
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

getType

public java.lang.String getType()

getLastCallbackPath

public java.lang.String getLastCallbackPath()

setIsMultiple

public void setIsMultiple(boolean isMultiple)
Determines whether the callback can occur more than once.


isMultiple

public boolean isMultiple()

setIsUnique

public void setIsUnique(boolean isUnique)
Determines whether new values should appendTo or set the target value.


isUnique

public boolean isUnique()