package at.gv.egovernment.moa.spss.server.iaik.xmlsign; import iaik.server.modules.xmlsign.XMLSignatureInsertionLocation; /** * An object giving the location of where the signature will be * inserted into the parent element. * * @author Patrick Peck * @version $Id$ */ public class XMLSignatureInsertionLocationImpl implements XMLSignatureInsertionLocation { /** Where to put the signature into the signature parent element. */ private int signatureChildIndex; /** * Create a new XMLSignatureInsertLocationImpl. * * @param signatureChildIndex The position index at which to append the * signature to the parent element. */ public XMLSignatureInsertionLocationImpl(int signatureChildIndex) { setSignatureChildIndex(signatureChildIndex); } /** * @see iaik.server.modules.xmlsign.XMLSignatureInsertionLocation#getSignatureChildIndex() */ public int getSignatureChildIndex() { return signatureChildIndex; } /** * Sets the position index at which to append the signature to the parent * element. * * @param signatureChildIndex The position index to set. */ public void setSignatureChildIndex(int signatureChildIndex) { this.signatureChildIndex = signatureChildIndex; } }