public class DCInputsReader
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_COLLECTION
The ID of the default collection.
|
| Constructor and Description |
|---|
DCInputsReader()
Parse an XML encoded submission forms template file, and create a hashmap
containing all the form information.
|
DCInputsReader(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
DCInputSet |
getInputs(java.lang.String collectionHandle)
Returns the set of DC inputs used for a particular collection, or the
default set if no inputs defined for the collection
|
int |
getNumberInputPages(java.lang.String collectionHandle)
Return the number of pages the inputs span for a desginated collection
|
java.util.List<java.lang.String> |
getPairs(java.lang.String name) |
java.util.Iterator<java.lang.String> |
getPairsNameIterator() |
public static final java.lang.String DEFAULT_COLLECTION
public DCInputsReader()
throws DCInputsReaderException
DCInputsReaderExceptionpublic DCInputsReader(java.lang.String fileName)
throws DCInputsReaderException
DCInputsReaderExceptionpublic java.util.Iterator<java.lang.String> getPairsNameIterator()
public java.util.List<java.lang.String> getPairs(java.lang.String name)
public DCInputSet getInputs(java.lang.String collectionHandle) throws DCInputsReaderException
collectionHandle - collection's unique HandleDCInputsReaderException - if no default set definedpublic int getNumberInputPages(java.lang.String collectionHandle)
throws DCInputsReaderException
collectionHandle - collection's unique HandleDCInputsReaderException - if no default set definedCopyright © 2013 DuraSpace. All Rights Reserved.