
public class Provider extends ContextProvider
MY_URI, PROP_CONTEXT_PROVIDED_EVENTS, PROP_CONTEXT_PROVIDER_TYPE, PROP_CONTEXT_SOURCEOWL_NAMESPACE, TYPE_OWL_INDIVIDUAL, TYPE_OWL_THINGANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE| Constructor and Description |
|---|
Provider(String uri)
Simple constructor to create a gauge Context Provider with no
restrictions on the provided events.
|
Provider(String uri,
ContextProviderType type)
Simple constructor to create a Context Provider of a given type with no
restrictions on the provided events.
|
Provider(String uri,
ContextProviderType type,
ContextEventPattern[] events)
Simple constructor to create a Context Provider of a given type with the
given restrictions on the provided events.
|
Provider(String uri,
ContextProviderType type,
ManagedIndividual subj,
String predicate,
String objTypeURI)
Simple constructor to create a Context Provider of a given type with the
given restrictions on the subject, the predicate, and the object of the
provided events.
|
Provider(String uri,
ContextProviderType type,
String subjTypeURI,
String predicate,
String objTypeURI)
Simple constructor to create a Context Provider of a given type with the
given restrictions on the subject, the predicate, and the object of the
provided events.
|
getClassURI, getContextSources, getPropSerializationType, getProvidedEvents, getProviderType, isWellFormed, setContextSources, setProperty, setProvidedEvents, setTypecheckCompatibility, checkMembership, copy, deepCopy, getClassRestrictionsOnProperty, getInstance, getNonAbstractSuperClasses, getNonabstractSuperClasses, getOntClassInfo, getTypeURI, isRegisteredClassURI, setPropertyPathFromOffset, toManagedIndividualaddType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfPropertiesaddMultiLangProp, asList, asList, asRDFList, changeProperty, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getOrConstructLabel, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteralpublic Provider(String uri)
uri - The URI that identifies the Context Provider.public Provider(String uri, ContextProviderType type)
uri - The URI that identifies the Context Provider.type - The type of Context Provider, one of Gauge, Controller or
Reasonerpublic Provider(String uri, ContextProviderType type, ContextEventPattern[] events)
uri - The URI that identifies the Context Provider.type - The type of Context Provider, one of Gauge, Controller or
Reasoner.events - Array of Patterns describing the provided events, as normally
used in the native API.public Provider(String uri, ContextProviderType type, String subjTypeURI, String predicate, String objTypeURI)
uri - The URI that identifies the Context Provider.type - The type of Context Provider, one of Gauge, Controller or
ReasonersubjTypeURI - The type URI that the provided events subject must have. Null
for any.predicate - The exact predicate that the provided events must equal. Null
for any.objTypeURI - The type URI that the provided events object must have. Null
for any.public Provider(String uri, ContextProviderType type, ManagedIndividual subj, String predicate, String objTypeURI)
uri - The URI that identifies the Context Provider.type - The type of Context Provider, one of Gauge, Controller or
Reasonersubj - The exact instance that the provided events subject must
equal. Null for any.predicate - The exact predicate that the provided events must equal. Null
for any.objTypeURI - The type URI that the provided events object must have. Null
for any.Copyright © 2018 universAAL Consortium. All rights reserved.