Projection Class
Projection class.
Constructor
Projection
()
private
Item Index
Methods
Methods
get
(
String
-
property
Retrieves the first property with the given name as a language-native datatype.
Parameters:
-
property
Stringproperty
Returns:
String:
Example:
projection.get("foaf:name");
getAll
(
Array
-
property
Retrieves the list of values for a property as an array of language-native datatypes.
Parameters:
-
property
StringThe name of the property to retrieve
Returns:
Array:
sequence<String>
Example:
st.getAll("foaf:name");
getProperties
()
Array
Retrieves the list of properties that are available on the Projection. Each property must be an absolute URI.
Returns:
Array:
sequence<String>
getSubject
()
String
Retrieves the subject URI of this Projection as a string, the value must be an absolute URI.
Returns:
String: