public class TypedValueImpl extends java.lang.Object implements TypedValue, IndentedObject
Constructor and Description |
---|
TypedValueImpl(java.lang.Object pValue,
java.lang.Class pType)
Creates a new instance with the given value and
the given type.
|
TypedValueImpl(java.lang.Object pValue,
JavaQName pType)
Creates a new instance with the given value and
the given type.
|
Modifier and Type | Method and Description |
---|---|
JavaQName |
getType()
Returns the objects type.
|
void |
write(IndentationEngine pEngine,
IndentationTarget pTarget) |
public TypedValueImpl(java.lang.Object pValue, JavaQName pType)
public TypedValueImpl(java.lang.Object pValue, java.lang.Class pType)
public JavaQName getType()
TypedValue
getType
in interface TypedValue
public void write(IndentationEngine pEngine, IndentationTarget pTarget) throws java.io.IOException
write
in interface IndentedObject
java.io.IOException