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.rdf.model
Interface RDFVisitor

    public interface RDFVisitor

Author:
  kers The interface for visiting (ie type-dispatching) an RDF Node.

Method Summary
`java.lang.Object` | `visitBlank(Resource r, AnonId id)` Method to call when visiting a blank node r with identifier id.
`java.lang.Object` | `visitLiteral(Literal l)` Method to call when visiting a literal RDF node l.
`java.lang.Object` | `visitURI(Resource r, java.lang.String uri)` Method to call when visiting a URI node r with the given uri.

Method Detail

### visitBlank

    java.lang.Object visitBlank(Resource r,
                                AnonId id)

  Method to call when visiting a blank node r with identifier id.

  Parameters:
    `r` - the blank RDF node being visited
    `id` - the identifier of that node
  Returns:
    value to be returned from the visit

### visitURI

    java.lang.Object visitURI(Resource r,
                              java.lang.String uri)

  Method to call when visiting a URI node r with the given uri.

  Parameters:
    `r` - the URI node being visited
    `uri` - the URI string of that node
  Returns:
    value to be returned from the visit

### visitLiteral

    java.lang.Object visitLiteral(Literal l)

  Method to call when visiting a literal RDF node l.

  Parameters:
    `l` - the RDF Literal node
  Returns:
    a value to be returned from the visit

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