org.apache.ws.jaxme.js.impl

Class TypedValueImpl

public class TypedValueImpl extends Object implements TypedValue, IndentedObject

Default implementation of a typed value.
Constructor Summary
TypedValueImpl(Object pValue, JavaQName pType)
Creates a new instance with the given value and the given type.
TypedValueImpl(Object pValue, Class pType)
Creates a new instance with the given value and the given type.
Method Summary
JavaQNamegetType()
voidwrite(IndentationEngine pEngine, IndentationTarget pTarget)

Constructor Detail

TypedValueImpl

public TypedValueImpl(Object pValue, JavaQName pType)
Creates a new instance with the given value and the given type.

TypedValueImpl

public TypedValueImpl(Object pValue, Class pType)
Creates a new instance with the given value and the given type.

Method Detail

getType

public JavaQName getType()

write

public void write(IndentationEngine pEngine, IndentationTarget pTarget)