Class SoapRef
- java.lang.Object
-
- org.apache.cxf.aegis.type.encoded.SoapRef
-
public class SoapRef extends Object
SoapRef represents an encoded SOAP 1.1 href or SOAP 1.2 ref object. This data class is updated when the ref is resolved which can be immedately when the ref is resolved, or later when an instance with the referenced id is unmarshalled. When the reference is resolved, an optional Action will be invoked which is commonly used to update a property on the source object of the reference.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSoapRef.Action
-
Constructor Summary
Constructors Constructor Description SoapRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget()Gets the referenced object instance or null if the reference has not been resolved yet;voidset(Object object)Sets the referenced object instance.voidsetAction(SoapRef.Action action)Registers an action to invoke when the instance is set.
-
-
-
Method Detail
-
get
public Object get()
Gets the referenced object instance or null if the reference has not been resolved yet;- Returns:
- the referenced object instance or null
-
set
public void set(Object object)
Sets the referenced object instance. If an action is registered the onSet method is invoked.- Parameters:
object- the reference instance; not null
-
setAction
public void setAction(SoapRef.Action action)
Registers an action to invoke when the instance is set. If the instance, has already been set, the onSet method will immedately be invoked.
-
-