Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.graph.query
Class QueryNode.Bind

    java.lang.Object
      com.hp.hpl.jena.graph.query.QueryNode
          com.hp.hpl.jena.graph.query.QueryNode.Bind

Enclosing class:
  QueryNode

    public static class QueryNode.Bind

extends QueryNode

Nested Class Summary

Nested classes/interfaces inherited from class com.hp.hpl.jena.graph.query.QueryNode
`QueryNode.Any, QueryNode.Bind, QueryNode.Bound, QueryNode.Fixed, QueryNode.JustBound, QueryNode.MustNotMatchException`

Field Summary

Fields inherited from class com.hp.hpl.jena.graph.query.QueryNode
`factory, index, NO_INDEX, node`

Constructor Summary
`QueryNode.Bind(Node n, int index)`

Method Summary
`boolean` | `isFrozen()` Answer true iff this node is "frozen", ie its value is fixed, when it is encountered; that is, it is not a Bind or JustBound node.
`boolean` | `match(Domain d, Node value)` Answer true iff this QueryNode matches, in the context of the binding Domain `d`, the node `x`.
`boolean` | `matchOrBind(Domain d, Node value)` Optimisation: the action to be performed when matching a just-bound variable or binding a newly-bound variable, or nothing for any other kind of QueryNode.
`boolean` | `mustMatch()` Answer true iff this QueryNode must be used in a triple-match of its owning QueryTriple.
`java.lang.String` | `toString()` Return a handy string representation for debugging purposes.

Methods inherited from class com.hp.hpl.jena.graph.query.QueryNode
`classify, finder`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### QueryNode.Bind

    public QueryNode.Bind(Node n,
                          int index)

Method Detail

### mustMatch

    public boolean mustMatch()

  Description copied from class: `QueryNode`
  Answer true iff this QueryNode must be used in a triple-match of its owning QueryTriple.

  Overrides:
    `mustMatch` in class `QueryNode`

### isFrozen

    public boolean isFrozen()

  Description copied from class: `QueryNode`
  Answer true iff this node is "frozen", ie its value is fixed, when it is encountered; that is, it is not a Bind or JustBound node.

  Overrides:
    `isFrozen` in class `QueryNode`

### match

    public boolean match(Domain d,
                         Node value)

  Description copied from class: `QueryNode`
  Answer true iff this QueryNode matches, in the context of the binding Domain `d`, the node `x`.

  Overrides:
    `match` in class `QueryNode`

### matchOrBind

    public boolean matchOrBind(Domain d,
                               Node value)

  Description copied from class: `QueryNode`
  Optimisation: the action to be performed when matching a just-bound variable or binding a newly-bound variable, or nothing for any other kind of QueryNode.

  Specified by:
    `matchOrBind` in class `QueryNode`

### toString

    public java.lang.String toString()

  Description copied from class: `QueryNode`
  Return a handy string representation for debugging purposes. Not for machine consumption.

  Overrides:
    `toString` in class `QueryNode`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP