public class StructBuilder extends Object
<import_structure>
<community>
<name>....</name>
<community>...</community>
<collection>
<name>....</name>
</collection>
</community>
</import_structure>
it can be arbitrarily deep, and supports all the metadata elements
that make up the community and collection metadata. See the system
documentation for more details| Modifier and Type | Field and Description |
|---|---|
protected static CollectionService |
collectionService |
protected static CommunityService |
communityService |
protected static EPersonService |
ePersonService |
| Constructor and Description |
|---|
StructBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getStringValue(Node node)
Return the String value of a Node
|
static void |
main(String[] argv)
Main method to be run from the command line to import a structure into
DSpace
This is of the form:
StructBuilder -f [xml source] -e [administrator email] -o [output file]
The output file will contain exactly the same as the source xml document, but
with the handle for each imported item added as an attribute. |
protected static CommunityService communityService
protected static CollectionService collectionService
protected static EPersonService ePersonService
public static void main(String[] argv) throws Exception
StructBuilder -f [xml source] -e [administrator email] -o [output file]
The output file will contain exactly the same as the source xml document, but
with the handle for each imported item added as an attribute.argv - commandline argumentsException - if an error occursCopyright © 2016 DuraSpace. All rights reserved.