A C D E G I L M N O P S V

A

ASPECT_NOT_RECOGNIZED - Static variable in exception org.w3c.ddr.simple.exception.NameException
Code for 'Aspect not recognized'.

C

CANNOT_PROCEED - Static variable in exception org.w3c.ddr.simple.exception.SystemException
Code for 'Cannot proceed'.
code - Variable in exception org.w3c.ddr.simple.exception.DDRException
 
code - Variable in exception org.w3c.ddr.simple.exception.SystemException
Represents a machine-understandable code to refine/identify the cause of the exception.

D

DDRException - Exception in org.w3c.ddr.simple.exception
Represents a DDR Exception.
DDRException() - Constructor for exception org.w3c.ddr.simple.exception.DDRException
Constructs a DDRException instance with an undefined exception code.
DDRException(int, String) - Constructor for exception org.w3c.ddr.simple.exception.DDRException
Constructs a DDRException instance with a code and human-readable message.
DDRException(int, Throwable) - Constructor for exception org.w3c.ddr.simple.exception.DDRException
Constructs a DDRException instance with a code and Throwable object that may indicate further details of the cause of the exception.

E

Evidence - Interface in org.w3c.ddr.simple
An interface representing evidence that is to be supplied to getPropertyValue or getPropertyValues methods of Service.
exists(String) - Method in interface org.w3c.ddr.simple.Evidence
True if a value for the specified key exists.
exists() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns 'true' only if a value is available from the repository.
Returns 'false' if a value is not available from the repository.

If this method returns 'true', then the getX() methods will return valid data if type X is appropriate to the data stored in the repository.

G

get(String) - Method in interface org.w3c.ddr.simple.Evidence
Get the value corresponding to the key.
getAll() - Method in interface org.w3c.ddr.simple.PropertyValues
Obtain all of the PropertyValue instances as an array.
getAPIVersion() - Method in interface org.w3c.ddr.simple.Service
A informative implementation-specific method to determine the version of the implementation of the API.
getAspectName() - Method in interface org.w3c.ddr.simple.PropertyRef
The name of the aspect, according to a vocabulary of aspect terms.
getBoolean() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns the Boolean value of the property.
getCode() - Method in exception org.w3c.ddr.simple.exception.DDRException
Retrieves the exception code, which determines the nature/cause of the exception.
getDataVersion() - Method in interface org.w3c.ddr.simple.Service
An informative implementation-specific method to indicate the revision level of the underlying data, if known.
getDouble() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns the double value of the property, in the default units specified in its vocabulary.
getEnumeration() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns the value of the property as a list of strings.
getFloat() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns the float value of the property, in the default units specified in its vocabulary.
getInteger() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns the integer value of the property, in the default units specified in its vocabulary.
getLocalPropertyName() - Method in interface org.w3c.ddr.simple.PropertyName
The formal name (ID) of the property term from a vocabulary of property terms.
getLocalPropertyName() - Method in interface org.w3c.ddr.simple.PropertyRef
The name of the property, according to a vocabulary of property terms.
getLong() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns the long value of the property, in the default units specified in its vocabulary.
getMessage() - Method in exception org.w3c.ddr.simple.exception.DDRException
Retrieves a human-readable diagnostic message, intended for error messages.
getNamespace() - Method in interface org.w3c.ddr.simple.PropertyName
The namespace of the vocabulary containing the property term.
getNamespace() - Method in interface org.w3c.ddr.simple.PropertyRef
The namespace of the property and aspect terms.
getPropertyRef() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns the PropertyRef that identifies the property to which this PropertyValue instance applies.
getPropertyValue(Evidence, PropertyRef) - Method in interface org.w3c.ddr.simple.Service
Use the evidence provided to get the PropertyValue of the property named by the propertyRef, in the property vocabulary given by the propertyRef and in the aspect also given by the propertyRef.
getPropertyValue(Evidence, PropertyName) - Method in interface org.w3c.ddr.simple.Service
Use the evidence provided to get the PropertyValue of the property named by the propertyName in the vocabulary given by the propertyName and in the default aspect of the property according to the property's vocabulary.
getPropertyValue(Evidence, String) - Method in interface org.w3c.ddr.simple.Service
Use the evidence provided to get the value of the property named by the localPropertyName, which is a term in the default property vocabulary defined during initialization and in the default aspect for the property as defined in the default property vocabulary.
getPropertyValue(Evidence, String, String, String) - Method in interface org.w3c.ddr.simple.Service
Use the evidence provided to get the value of the property named by the localPropertyName, which is a term in the given vocabulary of properties identified by a namespace IRI and in the given aspect for the property.
getPropertyValues(Evidence) - Method in interface org.w3c.ddr.simple.Service
Use the evidence provided to get all of the available values of properties in the default property vocabulary.
getPropertyValues(Evidence, PropertyRef[]) - Method in interface org.w3c.ddr.simple.Service
Use the evidence provided to get the value of each property in the array of PropertyRef instances.
getPropertyValues(Evidence, String) - Method in interface org.w3c.ddr.simple.Service
Use the evidence provided to get all of the available values for all properties in the default vocabulary whose aspect is the localAspectName.
getPropertyValues(Evidence, String, String) - Method in interface org.w3c.ddr.simple.Service
Use the evidence provided to get all of the available values for all properties in the given vocabulary whose aspect is the localAspectName.
getString() - Method in interface org.w3c.ddr.simple.PropertyValue
Returns the string value of the property, or a string version of the property.
getValue(PropertyRef) - Method in interface org.w3c.ddr.simple.PropertyValues
Obtain an identified PropertyValue instance from the collection, using a PropertyRef as the identifier.

I

ILLEGAL_ARGUMENT - Static variable in exception org.w3c.ddr.simple.exception.SystemException
Code for 'illegal argument'.
IMPLEMENTATION_ERROR - Static variable in exception org.w3c.ddr.simple.exception.DDRException
Implementation specific error codes must be greater than this
INCOMPATIBLE_TYPES - Static variable in exception org.w3c.ddr.simple.exception.ValueException
Code for 'Incompatible type'.
INITIALIZATION_ERROR - Static variable in exception org.w3c.ddr.simple.exception.InitializationException
Code for 'General Initialization Error'.
InitializationException - Exception in org.w3c.ddr.simple.exception
This exception represents a failure of the DDR system.
InitializationException() - Constructor for exception org.w3c.ddr.simple.exception.InitializationException
Constructs an InitializationException instance with a default exception code.
InitializationException(int, String) - Constructor for exception org.w3c.ddr.simple.exception.InitializationException
Constructs an InitializationException instance with a code and human-readable diagnostic message.
InitializationException(int, Throwable) - Constructor for exception org.w3c.ddr.simple.exception.InitializationException
Constructs an InitializationException instance with a code and Throwable object that may indicate further details of the cause of the exception.
initialize(String, Properties) - Method in interface org.w3c.ddr.simple.Service
Called to initialize the API following construction.

L

listPropertyRefs() - Method in interface org.w3c.ddr.simple.Service
List all the PropertyRefs the implementation knows about.

M

MULTIPLE_VALUES - Static variable in exception org.w3c.ddr.simple.exception.ValueException
Code for 'Multiple values'.

N

NameException - Exception in org.w3c.ddr.simple.exception
This exception is thrown when an attempt is made to access a Property or Aspect when the name or vocabulary IRI is in error.
NameException() - Constructor for exception org.w3c.ddr.simple.exception.NameException
Constructs a NameException instance with default exception code.
NameException(int, String) - Constructor for exception org.w3c.ddr.simple.exception.NameException
Constructs a NameException instance with a code and human-readable message.
NameException(int, Throwable) - Constructor for exception org.w3c.ddr.simple.exception.NameException
Constructs a NameException instance with a code and an instance of Throwable, which may contain additional information pertaining to the cause of the exception.
newHTTPEvidence() - Method in interface org.w3c.ddr.simple.Service
Factory method to create an object supporting the Evidence interface, intended to represent HTTP headers.
newHTTPEvidence(Map<String, String>) - Method in interface org.w3c.ddr.simple.Service
Factory method to create an object supporting the Evidence interface, using name/value pairs from the Map parameter, representing evidence from HTTP headers.
newPropertyName(String) - Method in interface org.w3c.ddr.simple.Service
Factory method to create a new PropertyName instance in the default property vocabulary.
newPropertyName(String, String) - Method in interface org.w3c.ddr.simple.Service
Factory method to create a new PropertyName instance in the given property vocabulary.
newPropertyRef(String) - Method in interface org.w3c.ddr.simple.Service
Factory method to create a PropertyRef instance in the default vocabulary.
newPropertyRef(PropertyName) - Method in interface org.w3c.ddr.simple.Service
Factory method to create a PropertyRef instance using the name and vocabulary of the PropertyName parameter.
newPropertyRef(PropertyName, String) - Method in interface org.w3c.ddr.simple.Service
Factory method to create a PropertyRef instance using the name and vocabulary of the PropertyName parameter.
newService(String, String, Properties) - Static method in class org.w3c.ddr.simple.ServiceFactory
Factory method for creating a new Service instance.
NOT_KNOWN - Static variable in exception org.w3c.ddr.simple.exception.ValueException
Code for 'Not known'.
NULL_ASPECT - Static variable in interface org.w3c.ddr.simple.PropertyRef
This constant value is used to support Vocabularies that do not distinguish Aspects.

O

org.w3c.ddr.simple - package org.w3c.ddr.simple
 
org.w3c.ddr.simple.exception - package org.w3c.ddr.simple.exception
 

P

PROPERTY_NOT_RECOGNIZED - Static variable in exception org.w3c.ddr.simple.exception.NameException
Code for 'Property not recognized'.
PropertyName - Interface in org.w3c.ddr.simple
This class represents the name of a property, drawn from a particular vocabulary (which is identified by a unique namespace).
PropertyRef - Interface in org.w3c.ddr.simple
Represents a Property / Aspect combination.
PropertyValue - Interface in org.w3c.ddr.simple
Represents the value of a property.

NOTE: The underlying data type of a property is determined by its vocabulary.
PropertyValues - Interface in org.w3c.ddr.simple
Represents a collection of PropertyValue instances.
put(String, String) - Method in interface org.w3c.ddr.simple.Evidence
Add a key / value pair to the collection of evidence.

S

Service - Interface in org.w3c.ddr.simple
This is the 'simple' interface to a DDR service, via which you retrieve properties of the delivery context based on available (HTTP) evidence.
ServiceFactory - Class in org.w3c.ddr.simple
This factory creates a DDR Service instance.
ServiceFactory() - Constructor for class org.w3c.ddr.simple.ServiceFactory
 
SystemException - Exception in org.w3c.ddr.simple.exception
This exception represents a failure of the DDR system.
SystemException() - Constructor for exception org.w3c.ddr.simple.exception.SystemException
Constructs a SystemException instance with a default exception code.
SystemException(int, String) - Constructor for exception org.w3c.ddr.simple.exception.SystemException
Constructs a SystemException instance with a code and human-readable diagnostic message.
SystemException(int, Throwable) - Constructor for exception org.w3c.ddr.simple.exception.SystemException
Constructs a SystemException instance with a code and Throwable object that may indicate further details of the cause of the exception.

V

ValueException - Exception in org.w3c.ddr.simple.exception
This exception represents an error with a value associated with a Property and would most likely be thrown when an error is detected during an attempt to retrieve the value of a Property.
ValueException() - Constructor for exception org.w3c.ddr.simple.exception.ValueException
Constructs a ValueException instance with a default exception code.
ValueException(int, String) - Constructor for exception org.w3c.ddr.simple.exception.ValueException
Constructs a ValueException instance with a code and human-readable diagnostic message.
ValueException(int, Throwable) - Constructor for exception org.w3c.ddr.simple.exception.ValueException
Constructs a ValueException instance with a code and Throwable object that may indicate further details of the cause of the exception.
VOCABULARY_NOT_RECOGNIZED - Static variable in exception org.w3c.ddr.simple.exception.NameException
Code for 'Vocabulary not recognized'.

A C D E G I L M N O P S V