public class DCInputsReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static 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(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
DCInputSet |
getInputs(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(String collectionHandle)
Return the number of pages the inputs span for a desginated collection
|
List<String> |
getPairs(String name) |
Iterator<String> |
getPairsNameIterator() |
public static final String DEFAULT_COLLECTION
public DCInputsReader()
throws DCInputsReaderException
DCInputsReaderExceptionpublic DCInputsReader(String fileName) throws DCInputsReaderException
DCInputsReaderExceptionpublic DCInputSet getInputs(String collectionHandle) throws DCInputsReaderException
collectionHandle - collection's unique HandleDCInputsReaderException - if no default set definedpublic int getNumberInputPages(String collectionHandle) throws DCInputsReaderException
collectionHandle - collection's unique HandleDCInputsReaderException - if no default set definedCopyright © 2013 DuraSpace. All Rights Reserved.