com.hp.hpl.jena.sparql.util
Class Symbol

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.Symbol
Direct Known Subclasses:
DataFormat, EventType, FunctionLabel, PropFuncArgType, ResultsFormat, Syntax

public class Symbol
extends Object

A way to write constants


Method Summary
static Symbol create(String symbolStr)
           
static Symbol create(Symbol other)
           
 boolean equals(Object other)
           
 String getSymbol()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static Symbol create(String symbolStr)

create

public static Symbol create(Symbol other)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

getSymbol

public String getSymbol()

toString

public String toString()
Overrides:
toString in class Object


Licenced under the Apache License, Version 2.0