org.das2.qstream.DatumRangeSerializeDelegate

This serialize delegate assumes the formatted object is a time range, and if it doesn't parse then it's a datum range. Time Ranges may be explicitly declared with "time:" prefix.

DatumRangeSerializeDelegate( )


format

format( Object o ) → String

Parameters

o - an Object

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


parse

parse( String typeId, String s ) → Object

Parameters

typeId - a String
s - a String

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


typeId

typeId( java.lang.Class clas ) → String

Parameters

clas - a java.lang.Class

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


xmlFormat

xmlFormat( org.w3c.dom.Document doc, Object o ) → org.w3c.dom.Element

Parameters

doc - a Document
o - an Object

Returns:

org.w3c.dom.Element

[search for examples] [view on GitHub] [view on old javadoc] [view source]


xmlParse

xmlParse( org.w3c.dom.Element e ) → Object

Parameters

e - an Element

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]