Interface DaliExample
public interface DaliExample
Contains information about an example invocation for a DALI service.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the capability to which this example applies, if explicitly supplied.Returns the DOM element corresponding to this example.Returns a map of name->value pairs giving DALI 1.0-style generic-parameters for this example.getId()Returns the identifier for this example within its host document.getName()Returns the user-readable name for this example.Returns a map of name->value pairs giving RDFa properties for this example, excluding those that form part of ageneric-parameterkey/value pair.getUrl()Returns a URL pointing to the browser-renderable text (probably XHTML) for this example.
-
Method Details
-
getUrl
URL getUrl()Returns a URL pointing to the browser-renderable text (probably XHTML) for this example. This is likely to include a trailing fragment part (#identifier).- Returns:
- example URL
-
getElement
Element getElement()Returns the DOM element corresponding to this example. It should be renderable in a browser, and is probably XHTML.- Returns:
- example DOM element
-
getId
-
getCapability
String getCapability()Returns the capability to which this example applies, if explicitly supplied. This may be null if the capability is implicit (the only one applicable to the service in question).- Returns:
- capability URI, or null
-
getName
String getName()Returns the user-readable name for this example.- Returns:
- name, should be short and plain text
-
getGenericParameters
-
getProperties
-