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