|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Handler type for extracting RDF content.
Method Summary | |
java.lang.String |
expandPredicate(java.lang.String predicate)
Expand a schema encoded value to a URI. |
java.lang.String[] |
expandPredicates(java.lang.String list)
Expand a space separated list of schema encoded values. |
java.lang.String |
expandScheme(java.lang.String scheme)
Expand an encoding scheme to a URI. |
java.lang.String |
getBNode()
Get a blank node. |
java.lang.String |
getBNodeId()
Get a blank node identifier. |
java.lang.String |
getSubject()
Get the current subject URI for the RDF handler. |
void |
setApplicationProfile(ApplicationProfile profile)
Set the application profile for the handler. |
void |
setSubject(java.lang.String uri)
Set the subject of the RDF content handler. |
Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Method Detail |
public void setApplicationProfile(ApplicationProfile profile)
profile
- The application profile to be used.public void setSubject(java.lang.String uri)
uri
- The URI of the subject, such as the URL
of an (X)HTML document.public java.lang.String getSubject()
public java.lang.String expandPredicate(java.lang.String predicate)
predicate
- The encoded triple predicate to
expand in the form "DC.Title" for
instance.
public java.lang.String[] expandPredicates(java.lang.String list)
Intended to extract Dublin Core encoded values from HTML
link
elements' rel
or rev
attributes, which may be mixed with generic link types. Distinguishes
properties that are not encoded metadata predicates and
silently drops them.
list
- The encoded, space separated link list.
public java.lang.String expandScheme(java.lang.String scheme)
scheme
- The encoded triple component to
expand in the form
"DCTERMS.W3CDTF" for instance.
public java.lang.String getBNode()
public java.lang.String getBNodeId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |