at.gv.egovernment.moa.spss.server.iaik.xml
Class XPath2TransformationImpl

java.lang.Object
  |
  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
        |
        +--at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl
All Implemented Interfaces:
iaik.server.modules.xml.Transformation, iaik.server.modules.xml.XPath2Transformation

public class XPath2TransformationImpl
extends TransformationImpl
implements iaik.server.modules.xml.XPath2Transformation

An object encapsulating a Transformation containing several XPath-Filter2 expressions.

Version:
$Id$
Author:
Patrick Peck

Inner classes inherited from class iaik.server.modules.xml.XPath2Transformation
iaik.server.modules.xml.XPath2Transformation.XPath2Filter
 
Fields inherited from interface iaik.server.modules.xml.XPath2Transformation
ALL, XPATH2
 
Constructor Summary
XPath2TransformationImpl()
          Create a new XPath2TransformationImpl.
 
Method Summary
 void addXPathFilter(at.gv.egovernment.moa.spss.server.iaik.xml.XPath2Filter filter)
          Add an XPath-Filter2 expression to the list of filters.
 boolean equals(Object other)
          Compare this XPath2Transformation to another.
 List getXPathFilters()
           
 int hashCode()
          Returns the hash code of the algorithm URI.
 
Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
getAlgorithmURI, setAlgorithmURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface iaik.server.modules.xml.Transformation
getAlgorithmURI
 

Constructor Detail

XPath2TransformationImpl

public XPath2TransformationImpl()
Create a new XPath2TransformationImpl. The list of XPath-Filter2 expression is initially empty.
Method Detail

getXPathFilters

public List getXPathFilters()
Specified by:
getXPathFilters in interface iaik.server.modules.xml.XPath2Transformation
See Also:
XPath2Transformation.getXPathFilters()

addXPathFilter

public void addXPathFilter(at.gv.egovernment.moa.spss.server.iaik.xml.XPath2Filter filter)
Add an XPath-Filter2 expression to the list of filters.
Parameters:
filter - The filter to add.

equals

public boolean equals(Object other)
Compare this XPath2Transformation to another.
Specified by:
equals in interface iaik.server.modules.xml.Transformation
Overrides:
equals in class Object
Parameters:
other - The object to compare this XPath2Transformation to.
Returns:
true, if other is an XPath2Transformation and getXPathFilters() equals other.getXPathFilters(). Otherwise false is returned.
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Description copied from class: TransformationImpl
Returns the hash code of the algorithm URI. Should be overridden if a transformation distinguishes itself from others by more than just the algorithm URI.
Specified by:
hashCode in interface iaik.server.modules.xml.Transformation
Overrides:
hashCode in class TransformationImpl
See Also:
Object.hashCode()