All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.gov.nationalarchives.droid.signatureFile.InternalSignatureCollection Maven / Gradle / Ivy

The newest version!
/*
 * The National Archives 2005-2006. All rights reserved. See Licence.txt for
 * full licence details. Developed by: Tessella Support Services plc 3
 * Vineyard Chambers Abingdon, OX14 3PX United Kingdom http://www.tessella.com
 * Tessella/NPD/4305 PRONOM 4 $History: InternalSignatureCollection.java $
 * ***************** Version 2 ***************** User: Walm Date: 5/04/05
 * Time: 18:07 Updated in $/PRONOM4/FFIT_SOURCE/signatureFile review headers
 */
package uk.gov.nationalarchives.droid.signatureFile;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import uk.gov.nationalarchives.droid.base.SimpleElement;

/**
 * holds a collection of internal signatures used by the XML parsing code
 * 
 * @author Martin Waller
 * @version 4.0.0
 */
public class InternalSignatureCollection extends SimpleElement {

	List intSigs = Collections
			.synchronizedList(new ArrayList());

	/* setters */
	public void addInternalSignature(final InternalSignature iSig) {
		this.intSigs.add(iSig);
	}

	/* getters */
	public synchronized List getInternalSignatures() {
		return this.intSigs;
	}

	public void setInternalSignatures(final List iSigs) {
		this.intSigs = iSigs;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy