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
Deprecated.
Use com.oracle.webservices.api.message.PropertySet instead.
Placeholder for backwards compatibility.
- Author:
- snajper
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
BasePropertySet.Accessor, BasePropertySet.PropertyMapEntryNested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
PropertySet.Property -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateEntrySet(Set<Map.Entry<String, Object>> core) Deprecated.Deprecated.Gets the name of the property.protected abstract BasePropertySet.PropertyMapDeprecated.Map representing the Fields and Methods annotated withPropertySet.Property.protected static PropertySet.PropertyMapDeprecated.Deprecated.Sets a property.Deprecated.booleanDeprecated.Checks if thisPropertySetsupports a property of the given name.Methods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createMapView, createView, mapAllowsAdditionalProperties, parse
-
Constructor Details
-
PropertySet
public PropertySet()Deprecated.
-
-
Method Details
-
parse
Deprecated. -
get
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
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:
-
supports
Deprecated.Description copied from class:BasePropertySetChecks if thisPropertySetsupports a property of the given name.- Specified by:
supportsin interfacePropertySet- Overrides:
supportsin classBasePropertySet
-
remove
Deprecated.- Specified by:
removein interfacePropertySet- Overrides:
removein classBasePropertySet
-
createEntrySet
Deprecated.- Overrides:
createEntrySetin classBasePropertySet
-
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; }or if the implementation is in different Java module.private static final PropertyMap model; static { model = parse(MyDerivedClass.class, MethodHandles.lookup()); } protected PropertyMap getPropertyMap() { return model; }- Specified by:
getPropertyMapin classBasePropertySet- Returns:
- the map of strongly-typed known properties keyed by property names
-