org.modeshape.jcr.query.model
Class LiteralValue
java.lang.Object
org.modeshape.jcr.query.model.Literal
org.modeshape.jcr.query.model.LiteralValue
- All Implemented Interfaces:
- Serializable, Literal, Operand, StaticOperand, LanguageObject, Visitable
public class LiteralValue
- extends Literal
- implements Literal
Implementation of the literal value static operand for the JCR Query Object Model, used only in bound variables.
- See Also:
Query.bindValue(String, Value)
,
Serialized Form
LiteralValue
public LiteralValue(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.
LiteralValue
public LiteralValue(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
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.