Package com.sun.xml.ws.api
Class PropertySet
- java.lang.Object
-
- com.oracle.webservices.api.message.BasePropertySet
-
- com.sun.xml.ws.api.PropertySet
-
- All Implemented Interfaces:
PropertySet
- Direct Known Subclasses:
AdditionalResponses
public abstract class PropertySet extends BasePropertySet
Deprecated.Use com.oracle.webservices.api.message.PropertySet instead.Placeholder for backwards compatibility.- Author:
- snajper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classPropertySet.PropertyMapDeprecated.-
Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
BasePropertySet.Accessor, BasePropertySet.PropertyMapEntry
-
Nested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
PropertySet.Property
-
-
Constructor Summary
Constructors Constructor Description PropertySet()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidcreateEntrySet(Set<Map.Entry<String,Object>> core)Deprecated.Objectget(Object key)Deprecated.Gets the name of the property.protected abstract PropertySet.PropertyMapgetPropertyMap()Deprecated.Map representing the Fields and Methods annotated withPropertySet.Property.protected static PropertySet.PropertyMapparse(Class clazz)Deprecated.Objectput(String key, Object value)Deprecated.Sets a property.Objectremove(Object key)Deprecated.booleansupports(Object key)Deprecated.Checks if thisPropertySetsupports a property of the given name.-
Methods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createMapView, createView, mapAllowsAdditionalProperties
-
-
-
-
Method Detail
-
parse
protected static PropertySet.PropertyMap parse(Class clazz)
Deprecated.
-
get
public Object get(Object key)
Deprecated.Gets the name of the property.- Specified by:
getin interfacePropertySet- Overrides:
getin classBasePropertySet- Parameters:
key- This field is typed asObjectto follow theMap.get(Object)convention, but if anything butStringis passed, this method just returns null.
-
put
public Object put(String key, Object value)
Deprecated.Sets a property.Implementation Note
This method is slow. Code inside JAX-WS should define strongly-typed fields in this class and access them directly, instead of using this.- Specified by:
putin interfacePropertySet- Overrides:
putin classBasePropertySet- Throws:
ReadOnlyPropertyException- if the given key is an alias of a strongly-typed field, and if the name object given is not assignable to the field.- See Also:
PropertySet.Property
-
supports
public boolean supports(Object key)
Deprecated.Description copied from class:BasePropertySetChecks if thisPropertySetsupports a property of the given name.- Specified by:
supportsin interfacePropertySet- Overrides:
supportsin classBasePropertySet
-
remove
public Object remove(Object key)
Deprecated.- Specified by:
removein interfacePropertySet- Overrides:
removein classBasePropertySet
-
createEntrySet
protected void createEntrySet(Set<Map.Entry<String,Object>> core)
Deprecated.- Overrides:
createEntrySetin classBasePropertySet
-
getPropertyMap
protected abstract PropertySet.PropertyMap getPropertyMap()
Deprecated.Description copied from class:BasePropertySetMap representing the Fields and Methods annotated withPropertySet.Property. Model ofPropertySetclass.At the end of the derivation chain this method just needs to be implemented as:
private static final PropertyMap model; static { model = parse(MyDerivedClass.class); } protected PropertyMap getPropertyMap() { return model; }- Specified by:
getPropertyMapin classBasePropertySet
-
-