public class LiteralImpl extends StaticOperandImpl implements Literal
LiteralImpl
...resolver
Constructor and Description |
---|
LiteralImpl(NamePathResolver resolver,
Value value) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(QOMTreeVisitor visitor,
Object data)
Accepts a
visitor and calls the appropriate visit method
depending on the type of this QOM node. |
Value |
getLiteralValue() |
String |
toString() |
getJCRName, getJCRPath, protect, quote, quote
public LiteralImpl(NamePathResolver resolver, Value value)
public Value getLiteralValue()
getLiteralValue
in interface Literal
public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
visitor
and calls the appropriate visit method
depending on the type of this QOM node.accept
in class AbstractQOMNode
visitor
- the visitor.data
- user defined data, which is passed to the visit method.Exception
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.