API Docs for:
Show:

Projection Class

Projection class.

Constructor

Projection

() private

Item Index

Methods

get

(
  • property
)
String

Retrieves the first property with the given name as a language-native datatype.

Parameters:

  • property String

    property

Returns:

String:

Example:

projection.get("foaf:name");

getAll

(
  • property
)
Array

Retrieves the list of values for a property as an array of language-native datatypes.

Parameters:

  • property String

    The 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: