public class ReferenceValue extends Object implements Value, ReferenceHolder
Modifier | Constructor and Description |
---|---|
protected |
ReferenceValue()
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent) |
void |
beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent) |
List<Property> |
getAdditionalProperties()
Returns additional properties that are added to the referenced path.
|
ClosureOrigin |
getClosureOrigin() |
String |
getExpressionString()
Returns a string representation of this reference holder expression.
|
String |
getId()
Returns the id of this value, if any.
|
Namespace |
getNamespace()
Returns namespace
|
ValueHolder |
getNotCompiledValueHolder() |
Value |
getParent()
Returns the parent of this value.
|
Path |
getPath()
Returns referenced path if a property is referenced.
|
Property |
getProperty()
Returns last referenced property if a property is referenced.
|
RecordHolder |
getPropertyRecord(InterpreterStackTrace stackTrace)
Returns root record for the property if a property is referenced.
|
ReferenceType |
getType()
Returns the type of the holder.
|
Object |
getValue(InterpreterStackTrace stackTrace)
Gets the value of the referenced element.
|
Object |
getValue(String evaluationLevel,
InterpreterStackTrace stackTrace)
Returns value of referenced value-holder (variable/record) in the specified evaluation level.
|
boolean |
isChanged()
Returns true if referenced place holder has changed value.
|
void |
setValue(Object value,
InterpreterStackTrace stackTrace)
Sets the value of the referenced element.
|
Object |
toObject()
Converts this value to an appropriate object.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPropertyRecord, getValue, setValue
public Object toObject()
Value
public String getId()
Value
getId
in interface Value
getId
in interface ValueHolder
public Value getParent()
Value
public ReferenceType getType()
ValueHolder
getType
in interface ReferenceHolder
getType
in interface ValueHolder
public String getExpressionString()
ReferenceHolder
getExpressionString
in interface ReferenceHolder
public void setValue(Object value, InterpreterStackTrace stackTrace)
ReferenceHolder
setValue
in interface ReferenceHolder
stackTrace
- a stack tracepublic Object getValue(InterpreterStackTrace stackTrace)
ReferenceHolder
getValue
in interface ReferenceHolder
public Property getProperty()
ReferenceHolder
getProperty
in interface ReferenceHolder
public RecordHolder getPropertyRecord(InterpreterStackTrace stackTrace)
ReferenceHolder
getPropertyRecord
in interface ReferenceHolder
stackTrace
- a stack tracepublic Path getPath()
ReferenceHolder
getPath
in interface ReferenceHolder
public boolean isChanged()
ReferenceHolder
isChanged
in interface ReferenceHolder
public Object getValue(String evaluationLevel, InterpreterStackTrace stackTrace)
ReferenceHolder
getValue
in interface ReferenceHolder
stackTrace
- a stack tracepublic void beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
unmarshaller
- parent
- public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
unmarshaller
- parent
- public Namespace getNamespace()
ReferenceHolder
getNamespace
in interface ReferenceHolder
public List<Property> getAdditionalProperties()
ReferenceHolder
getAdditionalProperties
in interface ReferenceHolder
public ValueHolder getNotCompiledValueHolder()
getNotCompiledValueHolder
in interface ValueHolder
public ClosureOrigin getClosureOrigin()
getClosureOrigin
in interface ReferenceHolder
null
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.