com.hp.hpl.jena.graph.query
Interface PatternLiteral


public interface PatternLiteral

PatternLiteral - an interface for pattern literals recognised by Rewrite. Also contains the definitions for the pattern language names.

Author:
kers

Field Summary
static java.lang.String rdql
           
 
Method Summary
 java.lang.String getPatternLanguage()
          Answer the language of the pattern.
 java.lang.String getPatternModifiers()
          Answer the pattern modifiers (a string of characters) of this pattern.
 java.lang.String getPatternString()
          Answer the pattern string, in whatever the pattern language is.
 

Field Detail

rdql

static final java.lang.String rdql
See Also:
Constant Field Values
Method Detail

getPatternString

java.lang.String getPatternString()
Answer the pattern string, in whatever the pattern language is.


getPatternModifiers

java.lang.String getPatternModifiers()
Answer the pattern modifiers (a string of characters) of this pattern. If the notion of modifiers does not apply, answer null. If there are no modifiers, answer the empty string.


getPatternLanguage

java.lang.String getPatternLanguage()
Answer the language of the pattern. The only name recognised at this time is "rdql", for the pattern language used by Jena's RDQL.



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