org.modeshape.jcr.query.qom
Class JcrLiteral
java.lang.Object
org.modeshape.graph.query.model.Literal
org.modeshape.jcr.query.qom.JcrLiteral
- All Implemented Interfaces:
- Serializable, Literal, Operand, LanguageObject, StaticOperand, Visitable, JcrStaticOperand
public class JcrLiteral
- extends Literal
- implements Literal, JcrStaticOperand
Implementation of the literal value static operand for the JCR Query Object Model and the Graph API.
- See Also:
- Serialized Form
Methods inherited from interface org.modeshape.graph.query.model.Visitable |
accept |
JcrLiteral
public JcrLiteral(Value value)
throws RepositoryException
- Parameters:
value
- the JCR value
- Throws:
RepositoryException
- if there is a problem obtaining the raw value from the supplied JCR value.
JcrLiteral
public JcrLiteral(Value value,
Object rawValue)
rawValue
public static Object rawValue(Value value)
throws RepositoryException
- Throws:
RepositoryException
getLiteralValue
public Value getLiteralValue()
-
- Specified by:
getLiteralValue
in interface Literal
- See Also:
Literal.getLiteralValue()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.