|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Localizer
Tied to a NodePool the Localizer interface is reponsible for read only queries against the nodepool. It converts nodes into longs.
Method Summary | |
---|---|
BlankNode |
createLocalBlankNode()
|
Literal |
createLocalLiteral(String escapedForm)
|
URIReference |
createLocalURIReference(URI uri,
boolean validate)
|
Long |
localize(Node node)
Converts a node into it's localized version. |
Long[] |
localize(Node first,
Node second,
Node third)
Converts a globalized set of triple objects to an array of longs. |
Methods inherited from interface org.jrdf.graph.TypedNodeVisitor |
---|
visitBlankNode, visitLiteral, visitNode, visitResource, visitURIReference |
Method Detail |
---|
Long[] localize(Node first, Node second, Node third) throws GraphException
first
- The first node.second
- The second node.third
- The last node.
GraphException
- If there was an error adding the statement.Long localize(Node node) throws GraphException
node
- the node to localize.
GraphException
- if the node was not part of this node pool.BlankNode createLocalBlankNode() throws GraphException
GraphException
URIReference createLocalURIReference(URI uri, boolean validate)
Literal createLocalLiteral(String escapedForm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |