|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.api.input.InputFactory
public class InputFactory
Factory class used to create Input
objects directly.
Constructor Summary | |
---|---|
InputFactory()
|
Method Summary | |
---|---|
static AtomicInput |
createAtomicInput(java.net.URI type)
|
static BNodeValue |
createBNode(java.lang.String bnodeID)
Creates a bnode value. |
static EnumeratedInput |
createEnumeratedInput(java.util.Collection<InputValue> values)
|
static EnumeratedInput |
createEnumeratedInput(InputValue... values)
|
static IntersectionInput |
createIntersectionInput(java.util.Collection<Input> inputs)
|
static IntersectionInput |
createIntersectionInput(Input... inputs)
|
static LiteralValue |
createLiteral(java.lang.String label)
Creates a plain literal with no language tag or datatype URI. |
static LiteralValue |
createLiteral(java.lang.String label,
java.lang.String language)
Creates a literal with the given label and language tag. |
static LiteralValue |
createLiteral(java.lang.String label,
java.net.URI datatype)
Creates a typed literal with the given datatype URI. |
static PropertyInput |
createPropertyInput(java.net.URI property)
|
static PropertyInput |
createPropertyInput(java.net.URI property,
Input range)
|
static PropertyInput |
createPropertyInput(java.net.URI property,
Input range,
int minCardinality,
int maxCardinality)
|
static UnionInput |
createUnionInput(java.util.Collection<Input> inputs)
|
static UnionInput |
createUnionInput(Input... inputs)
|
static Input |
createUnrestricedInput()
|
static URIValue |
createURI(java.lang.String uri)
Creates a URI value. |
static URIValue |
createURI(java.net.URI uri)
Creates a URI value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputFactory()
Method Detail |
---|
public static Input createUnrestricedInput()
public static AtomicInput createAtomicInput(java.net.URI type)
public static IntersectionInput createIntersectionInput(Input... inputs)
public static IntersectionInput createIntersectionInput(java.util.Collection<Input> inputs)
public static UnionInput createUnionInput(Input... inputs)
public static UnionInput createUnionInput(java.util.Collection<Input> inputs)
public static EnumeratedInput createEnumeratedInput(InputValue... values)
public static EnumeratedInput createEnumeratedInput(java.util.Collection<InputValue> values)
public static PropertyInput createPropertyInput(java.net.URI property)
public static PropertyInput createPropertyInput(java.net.URI property, Input range)
public static PropertyInput createPropertyInput(java.net.URI property, Input range, int minCardinality, int maxCardinality)
public static URIValue createURI(java.lang.String uri)
public static URIValue createURI(java.net.URI uri)
public static BNodeValue createBNode(java.lang.String bnodeID)
public static LiteralValue createLiteral(java.lang.String label)
public static LiteralValue createLiteral(java.lang.String label, java.lang.String language)
public static LiteralValue createLiteral(java.lang.String label, java.net.URI datatype)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |