org.openrdf.query.parser.serql.ast
Class ASTLiteral

java.lang.Object
  extended by org.openrdf.query.parser.serql.ast.SimpleNode
      extended by org.openrdf.query.parser.serql.ast.ASTValueExpr
          extended by org.openrdf.query.parser.serql.ast.ASTValue
              extended by org.openrdf.query.parser.serql.ast.ASTLiteral
All Implemented Interfaces:
Node

public class ASTLiteral
extends ASTValue


Field Summary
 
Fields inherited from class org.openrdf.query.parser.serql.ast.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTLiteral(int id)
           
ASTLiteral(SyntaxTreeBuilder p, int id)
           
 
Method Summary
 ASTValueExpr getDatatypeNode()
           
 String getLabel()
           
 String getLang()
           
 boolean hasLang()
           
 Object jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data)
          Accept the visitor.
 void setLabel(String label)
           
 void setLang(String lang)
           
 String toString()
           
 
Methods inherited from class org.openrdf.query.parser.serql.ast.SimpleNode
childrenAccept, dump, dump, jjtAddChild, jjtAppendChild, jjtClose, jjtGetChild, jjtGetChild, jjtGetChildren, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtInsertChild, jjtOpen, jjtReplaceChild, jjtReplaceWith, jjtSetParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTLiteral

public ASTLiteral(int id)

ASTLiteral

public ASTLiteral(SyntaxTreeBuilder p,
                  int id)
Method Detail

jjtAccept

public Object jjtAccept(SyntaxTreeBuilderVisitor visitor,
                        Object data)
                 throws VisitorException
Description copied from class: SimpleNode
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class SimpleNode
Throws:
VisitorException

getLabel

public String getLabel()

setLabel

public void setLabel(String label)

getLang

public String getLang()

hasLang

public boolean hasLang()

setLang

public void setLang(String lang)

getDatatypeNode

public ASTValueExpr getDatatypeNode()

toString

public String toString()
Overrides:
toString in class SimpleNode


Copyright © 2001-2008 Aduna. All Rights Reserved.