com.hp.hpl.jena.rdql
Class QueryPrintUtils

java.lang.Object
  extended by com.hp.hpl.jena.rdql.QueryPrintUtils

public class QueryPrintUtils
extends Object

Version:
$Id: QueryPrintUtils.java,v 1.6 2004/08/31 09:49:52 andy_seaborne Exp $
Author:
Andy Seaborne

Field Summary
static boolean multiLineExpr
           
static boolean printName
           
 
Constructor Summary
QueryPrintUtils()
           
 
Method Summary
static String asInfixString1(com.hp.hpl.jena.rdql.parser.Expr expr, String opName, String symbol)
           
static String asInfixString2(com.hp.hpl.jena.rdql.parser.Expr left, com.hp.hpl.jena.rdql.parser.Expr right, String opName, String symbol)
           
static String asPrefixString(com.hp.hpl.jena.rdql.parser.Expr left, com.hp.hpl.jena.rdql.parser.Expr right, String opName, String symbol)
           
static void indent(PrintWriter pw, int level)
           
static void print(PrintWriter pw, com.hp.hpl.jena.rdql.parser.Expr expr)
           
static void print(PrintWriter pw, com.hp.hpl.jena.rdql.parser.Expr left, com.hp.hpl.jena.rdql.parser.Expr right, String opName, String symbol, int level)
           
static String stringForLiteral(Literal literal)
           
static String stringForLiteralLabel(com.hp.hpl.jena.graph.impl.LiteralLabel literal)
           
static String stringForNode(Node n)
           
static String stringForNode(Node n, PrefixMapping mapping)
           
static String stringForObject(Object obj)
           
static String stringForRDFNode(RDFNode obj)
           
static String stringForResource(Resource r)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

multiLineExpr

public static boolean multiLineExpr

printName

public static boolean printName
Constructor Detail

QueryPrintUtils

public QueryPrintUtils()
Method Detail

print

public static void print(PrintWriter pw,
                         com.hp.hpl.jena.rdql.parser.Expr expr)

asInfixString1

public static String asInfixString1(com.hp.hpl.jena.rdql.parser.Expr expr,
                                    String opName,
                                    String symbol)

asInfixString2

public static String asInfixString2(com.hp.hpl.jena.rdql.parser.Expr left,
                                    com.hp.hpl.jena.rdql.parser.Expr right,
                                    String opName,
                                    String symbol)

asPrefixString

public static String asPrefixString(com.hp.hpl.jena.rdql.parser.Expr left,
                                    com.hp.hpl.jena.rdql.parser.Expr right,
                                    String opName,
                                    String symbol)

print

public static void print(PrintWriter pw,
                         com.hp.hpl.jena.rdql.parser.Expr left,
                         com.hp.hpl.jena.rdql.parser.Expr right,
                         String opName,
                         String symbol,
                         int level)

indent

public static void indent(PrintWriter pw,
                          int level)

stringForObject

public static String stringForObject(Object obj)

stringForRDFNode

public static String stringForRDFNode(RDFNode obj)

stringForLiteral

public static String stringForLiteral(Literal literal)

stringForLiteralLabel

public static String stringForLiteralLabel(com.hp.hpl.jena.graph.impl.LiteralLabel literal)

stringForResource

public static String stringForResource(Resource r)

stringForNode

public static String stringForNode(Node n)

stringForNode

public static String stringForNode(Node n,
                                   PrefixMapping mapping)


Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP