|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.BaseResourceProperty
org.globus.wsrf.impl.SimpleResourceProperty
A simple in-memory implementation of the ResourceProperty
interface. The resource property values are stored in a List.
| Field Summary | |
private static org.globus.util.I18n |
i18n
|
private java.util.List |
list
|
private boolean |
validation
|
| Fields inherited from class org.globus.wsrf.impl.BaseResourceProperty |
metaData |
| Constructor Summary | |
SimpleResourceProperty(javax.xml.namespace.QName name)
|
|
SimpleResourceProperty(ResourcePropertyMetaData metaData)
|
|
| Method Summary | |
void |
add(java.lang.Object value)
Adds a value. |
private void |
checkReadOnly()
|
void |
clear()
Removes all values. |
java.lang.Object |
get(int index)
Retrieves a value at a specific index. |
boolean |
isEmpty()
Returns true if the resource property has any values. |
boolean |
isValidationEnabled()
|
java.util.Iterator |
iterator()
Returns iterator over the values of this resource property. |
boolean |
remove(java.lang.Object value)
Removes a specific value. |
void |
set(int index,
java.lang.Object value)
Sets a value at a specific index. |
void |
setEnableValidation(boolean validation)
|
int |
size()
Returns the number of values in the resource property. |
org.w3c.dom.Element[] |
toElements()
Converts the resource property value into a DOM Element array. |
javax.xml.soap.SOAPElement[] |
toSOAPElements()
Converts the resource property value into a SOAPElement array. |
| Methods inherited from class org.globus.wsrf.impl.BaseResourceProperty |
convert, convertObject, convertPrimitive, getMetaData, setMetaData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static org.globus.util.I18n i18n
private java.util.List list
private boolean validation
| Constructor Detail |
public SimpleResourceProperty(javax.xml.namespace.QName name)
public SimpleResourceProperty(ResourcePropertyMetaData metaData)
| Method Detail |
public void setEnableValidation(boolean validation)
public boolean isValidationEnabled()
public void add(java.lang.Object value)
ResourceProperty
value - the value to add.public boolean remove(java.lang.Object value)
ResourceProperty
value - value to remove.
public java.lang.Object get(int index)
ResourceProperty
index - the index of value to retrieve.
public void set(int index,
java.lang.Object value)
ResourceProperty
index - the index to set value at.value - the new valuepublic void clear()
ResourceProperty
public int size()
ResourceProperty
public boolean isEmpty()
ResourceProperty
public java.util.Iterator iterator()
ResourceProperty
private void checkReadOnly()
public javax.xml.soap.SOAPElement[] toSOAPElements()
throws SerializationException
ResourceProperty
SerializationException - if conversion fails.
public org.w3c.dom.Element[] toElements()
throws SerializationException
ResourceProperty
SerializationException - if conversion fails.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||