Class XmlValueImpl
- java.lang.Object
-
- org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue<org.camunda.spin.Spin<?>>
-
- org.camunda.spin.plugin.variable.value.impl.SpinValueImpl
-
- org.camunda.spin.plugin.variable.value.impl.XmlValueImpl
-
- All Implemented Interfaces:
java.io.Serializable
,SerializableValue
,TypedValue
,SpinValue
,XmlValue
public class XmlValueImpl extends SpinValueImpl implements XmlValue
- Author:
- Roman Smirnov
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.camunda.spin.plugin.variable.value.impl.SpinValueImpl
dataFormatName, isDeserialized, serializedValue
-
Fields inherited from class org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue
isTransient, type, value
-
-
Constructor Summary
Constructors Constructor Description XmlValueImpl(java.lang.String value)
XmlValueImpl(java.lang.String value, java.lang.String dataFormatName)
XmlValueImpl(org.camunda.spin.xml.SpinXmlElement value)
XmlValueImpl(org.camunda.spin.xml.SpinXmlElement value, java.lang.String serializedValue, java.lang.String dataFormatName, boolean isDeserialized)
XmlValueImpl(org.camunda.spin.xml.SpinXmlElement value, java.lang.String serializedValue, java.lang.String dataFormatName, boolean isDeserialized, boolean isTransient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.camunda.spin.spi.DataFormat<org.camunda.spin.xml.SpinXmlElement>
getDataFormat()
XmlValueType
getType()
The type of the value.org.camunda.spin.xml.SpinXmlElement
getValue()
The actual value.-
Methods inherited from class org.camunda.spin.plugin.variable.value.impl.SpinValueImpl
getSerializationDataFormat, getValueSerialized, isDeserialized, setSerializationDataFormat, setValueSerialized
-
Methods inherited from class org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue
isTransient, setTransient, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.variable.value.SerializableValue
getSerializationDataFormat, getValueSerialized, isDeserialized
-
Methods inherited from interface org.camunda.bpm.engine.variable.value.TypedValue
isTransient
-
-
-
-
Constructor Detail
-
XmlValueImpl
public XmlValueImpl(org.camunda.spin.xml.SpinXmlElement value)
-
XmlValueImpl
public XmlValueImpl(java.lang.String value, java.lang.String dataFormatName)
-
XmlValueImpl
public XmlValueImpl(java.lang.String value)
-
XmlValueImpl
public XmlValueImpl(org.camunda.spin.xml.SpinXmlElement value, java.lang.String serializedValue, java.lang.String dataFormatName, boolean isDeserialized)
-
XmlValueImpl
public XmlValueImpl(org.camunda.spin.xml.SpinXmlElement value, java.lang.String serializedValue, java.lang.String dataFormatName, boolean isDeserialized, boolean isTransient)
-
-
Method Detail
-
getDataFormat
public org.camunda.spin.spi.DataFormat<org.camunda.spin.xml.SpinXmlElement> getDataFormat()
- Specified by:
getDataFormat
in interfaceSpinValue
- Specified by:
getDataFormat
in interfaceXmlValue
- Overrides:
getDataFormat
in classSpinValueImpl
-
getType
public XmlValueType getType()
Description copied from interface:TypedValue
The type of the value. See ValueType for a list of built-in ValueTypes.- Specified by:
getType
in interfaceSerializableValue
- Specified by:
getType
in interfaceTypedValue
- Overrides:
getType
in classSpinValueImpl
- Returns:
- the type of the value.
-
getValue
public org.camunda.spin.xml.SpinXmlElement getValue()
Description copied from interface:TypedValue
The actual value. May be null in case the value is null.- Specified by:
getValue
in interfaceSerializableValue
- Specified by:
getValue
in interfaceSpinValue
- Specified by:
getValue
in interfaceTypedValue
- Specified by:
getValue
in interfaceXmlValue
- Overrides:
getValue
in classSpinValueImpl
- Returns:
- the value
-
-