public class MetadataOptions extends HashSet<String>
Modifier and Type | Field and Description |
---|---|
static String[] |
ALL_OPTIONS
List of all metadata option types.
|
Modifier | Constructor and Description |
---|---|
|
MetadataOptions(com.hp.hpl.jena.rdf.model.Resource root,
String defaultOptions)
Construct a new collection of metadata options from any
elda:metadataOptions
properties of the given configuration root |
protected |
MetadataOptions(String[] options)
Constructor that collaborates with the #all method
|
Modifier and Type | Method and Description |
---|---|
protected void |
addOptions(String options)
Add a string containing comma-separated option strings to this collection of metadata options
|
static MetadataOptions |
allOptions()
The Zen method: make me one with everything!
|
String[] |
asArray() |
static String[] |
get(com.hp.hpl.jena.rdf.model.Resource R)
Deprecated.
See constructor instead
|
add, clear, clone, contains, isEmpty, iterator, remove, size
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
public static final String[] ALL_OPTIONS
public MetadataOptions(com.hp.hpl.jena.rdf.model.Resource root, String defaultOptions)
elda:metadataOptions
properties of the given configuration rootroot
- Non-optional configuration root resourcedefaultOptions
- Optional string of options to set in the case that root
does
not specify any metadata optionsprotected MetadataOptions(String[] options)
@Deprecated public static String[] get(com.hp.hpl.jena.rdf.model.Resource R)
public String[] asArray()
protected void addOptions(String options)
public static MetadataOptions allOptions()
Copyright © 2014. All Rights Reserved.