package at.gv.egovernment.moa.spss.server.iaik.xml; import iaik.server.modules.xml.EnvelopedSignatureTransformation; /** * An implementation of the EnvelopedSignatureTransformation * Transformation type. * * @author Patrick Peck * @version $Id$ */ public class EnvelopedSignatureTransformationImpl extends TransformationImpl implements EnvelopedSignatureTransformation { /** * Create a new EnvelopedSignatureTransformationImpl. */ public EnvelopedSignatureTransformationImpl() { setAlgorithmURI(EnvelopedSignatureTransformation.ENVELOPED_SIGNATURE); } /** * Compare this object to another EnvelopedSignatureTransformation. * * @param other The object to compare this * EnvelopedSignatureTransformation to. * @return true, if other is a * EnvelopedSignatureTransformation, otherwise * false. * @see java.lang.Object#equals(Object) */ public boolean equals(Object other) { if (other instanceof EnvelopedSignatureTransformation) { EnvelopedSignatureTransformation transform = (EnvelopedSignatureTransformation) other; return getAlgorithmURI().equals(transform.getAlgorithmURI()); } return false; } }