org.das2.NameContext

An instance of NameContext defines the name space for a dasml/das2 application. Methods for querying values of properties are also provided.


SIMPLE_NAME


INDEXED_NAME


QUALIFIED_NAME


get

get( String name ) → Object

Parameters

name - a String

Returns:

java.lang.Object

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


getIndexedPropertyValue

getIndexedPropertyValue( Object obj, String property, int index ) → Object

Parameters

obj - an Object
property - a String
index - an int

Returns:

java.lang.Object

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


getPropertyValue

getPropertyValue( Object obj, String property ) → Object

Parameters

obj - an Object
property - a String

Returns:

java.lang.Object

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


put

put( String name, Object value ) → void

Associates a value with a name in this context. The name parameter must being with a letter and can only consist of alphanumeric characters and '_'.

Parameters

name - the name for the value to be associated with
value - the value being named

Returns:

void (returns nothing)

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


remove

remove( String name ) → void

Parameters

name - a String

Returns:

void (returns nothing)

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


set

set( String name, Object value ) → void

Parameters

name - a String
value - an Object

Returns:

void (returns nothing)

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


setIndexedPropertyValue

setIndexedPropertyValue( Object obj, String property, int index, Object value ) → void

Parameters

obj - an Object
property - a String
index - an int
value - an Object

Returns:

void (returns nothing)

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


setPropertyValue

setPropertyValue( Object obj, String property, Object value ) → void

Parameters

obj - an Object
property - a String
value - an Object

Returns:

void (returns nothing)

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


toString

toString( ) → String

Returns:

java.lang.String

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