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
Class Node_ANY

    java.lang.Object
      com.hp.hpl.jena.graph.Node
          com.hp.hpl.jena.graph.Node_Fluid
              com.hp.hpl.jena.graph.Node_ANY

    public class Node_ANY

extends Node_Fluid

A Node_ANY (there should be only one) is a meta-node that is used to stand for any other node in a query.

Author:
  kers

Nested Class Summary

Nested classes/interfaces inherited from class com.hp.hpl.jena.graph.Node
`Node.NotLiteral`

Field Summary

Fields inherited from class com.hp.hpl.jena.graph.Node
`ANY, NULL`

Method Summary
`boolean` | `equals(java.lang.Object other)` Node_ANY's are only equal to other Node_ANY's
`boolean` | `matches(Node other)` Answer true iff this node accepts the other one as a match.
`java.lang.String` | `toString()` Answer a human-readable representation of this Node.
`java.lang.String` | `toString(PrefixMapping pm, boolean quoting)` Answer a human readable representation of this Node, quoting literals if specified, and compressing URIs using the prefix mapping supplied.
`java.lang.Object` | `visitWith(NodeVisitor v)` Visit a Node and dispatch on it to the appropriate method from the NodeVisitor `v`.

Methods inherited from class com.hp.hpl.jena.graph.Node_Fluid
`isConcrete`

Methods inherited from class com.hp.hpl.jena.graph.Node
`cache, create, create, create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createLiteral, createUncachedLiteral, createURI, createVariable, getBlankNodeId, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getType, getURI, hashCode, hasURI, isBlank, isLiteral, isURI, isVariable, sameValueAs, toString, toString`

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

Method Detail

### equals

    public boolean equals(java.lang.Object other)

  Node_ANY's are only equal to other Node_ANY's

  Specified by:
    `equals` in class `Node`

### visitWith

    public java.lang.Object visitWith(NodeVisitor v)

  Description copied from class: `Node`
  Visit a Node and dispatch on it to the appropriate method from the NodeVisitor `v`.

  Specified by:
    `visitWith` in class `Node`
  Parameters:
    `v` - the visitor to apply to the node
  Returns:
    the value returned by the applied method

### matches

    public boolean matches(Node other)

  Description copied from class: `Node`
  Answer true iff this node accepts the other one as a match. The default is an equality test; it is over-ridden in subclasses to provide the appropriate semantics for literals, ANY, and variables.

  Overrides:
    `matches` in class `Node`
  Parameters:
    `other` - a node to test for matching
  Returns:
    true iff this node accepts the other as a match

### toString

    public java.lang.String toString()

  Description copied from class: `Node`
  Answer a human-readable representation of this Node. It will not compress URIs, nor quote literals (because at the moment too many places use toString() for something machine-oriented).

  Overrides:
    `toString` in class `Node`

### toString

    public java.lang.String toString(PrefixMapping pm,
                                     boolean quoting)

  Description copied from class: `Node`
  Answer a human readable representation of this Node, quoting literals if specified, and compressing URIs using the prefix mapping supplied.

  Overrides:
    `toString` in class `Node`

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