| java.lang.Object com.sun.xml.ws.policy.sourcemodel.AssertionData
Method Summary | |
protected AssertionData | clone() | public boolean | containsAttribute(QName name) | public static AssertionData | createAssertionData(QName name) Constructs assertion data wrapper instance for an assertion that does not
contain any value nor any attributes. | public static AssertionData | createAssertionData(QName name, String value, Map<QName, String> attributes) Constructs assertion data wrapper instance for an assertion that does
contain a value or attributes. | public static AssertionData | createAssertionParameterData(QName name) Constructs assertion data wrapper instance for an assertion parameter that
does not contain any value nor any attributes. | public static AssertionData | createAssertionParameterData(QName name, String value, Map<QName, String> attributes) | public boolean | equals(Object obj) An
Object.equals(Object obj) method override. | public String | getAttributeValue(QName name) | public Map<QName, String> | getAttributes() Returns the disconnected map of attributes attached to the assertion.
'Disconnected' means, that the result of this method will not be synchronized with any consequent assertion's attribute modification. | public Set<Map.Entry<QName, String>> | getAttributesSet() Returns the disconnected set of attributes attached to the assertion. | public QName | getName() Returns the name of the assertion. | public ModelNode.Type | getNodeType() | public String | getValue() Returns the value of the assertion. | public int | hashCode() An
Object.hashCode() method override. | public boolean | isPrivateAttributeSet() Method specifies whether the assertion data contain proprietary visibility element set to "private" value.
'true' if the attribute is present and set properly (i.e. | public String | removeAttribute(QName name) | public void | setAttribute(QName name, String value) | public void | setOptionalAttribute(boolean value) | public String | toString() An
Object.toString() method override. | public StringBuffer | toString(int indentLevel, StringBuffer buffer) A helper method that appends indented string representation of this instance to the input string buffer. |
AssertionData | AssertionData(QName name, String value, Map<QName, String> attributes, ModelNode.Type type) throws IllegalArgumentException(Code) | | Constructs assertion data wrapper instance for an assertion or assertion parameter that contains a value or
some attributes. Whether the data wrapper is constructed for assertion or assertion parameter node is distinguished by
the supplied
type parameter.
Parameters: name - the FQN of the assertion or assertion parameter Parameters: value - a String representation of model node value Parameters: attributes - map of model node's <attribute name, attribute value> pairs Parameters: type - specifies whether the data will belong to the assertion or assertion parameter node. This isa workaround solution that allows us to transfer this information about the owner node toa policy assertion instance factory without actualy having to touch the PolicyAssertionCreatorinterface and protected PolicyAssertion constructors. throws: IllegalArgumentException - in case the type parameter is notModelNode.Type.ASSERTION ASSERTION orModelNode.Type.ASSERTION_PARAMETER_NODE ASSERTION_PARAMETER_NODE |
containsAttribute | public boolean containsAttribute(QName name)(Code) | | TODO: javadoc
|
equals | public boolean equals(Object obj)(Code) | | An
Object.equals(Object obj) method override.
|
getAttributes | public Map<QName, String> getAttributes()(Code) | | Returns the disconnected map of attributes attached to the assertion.
'Disconnected' means, that the result of this method will not be synchronized with any consequent assertion's attribute modification. It is
also important to notice that a manipulation with returned set of attributes will not have any effect on the actual assertion's
attributes.
disconnected map of attributes attached to the assertion. |
getAttributesSet | public Set<Map.Entry<QName, String>> getAttributesSet()(Code) | | Returns the disconnected set of attributes attached to the assertion. Each attribute is represented as a single
Map.Entry element.
'Disconnected' means, that the result of this method will not be synchronized with any consequent assertion's attribute modification. It is
also important to notice that a manipulation with returned set of attributes will not have any effect on the actual assertion's
attributes.
disconnected set of attributes attached to the assertion. |
getName | public QName getName()(Code) | | Returns the name of the assertion.
assetion's name |
getValue | public String getValue()(Code) | | Returns the value of the assertion.
assetion's value |
hashCode | public int hashCode()(Code) | | An
Object.hashCode() method override.
|
isPrivateAttributeSet | public boolean isPrivateAttributeSet()(Code) | | Method specifies whether the assertion data contain proprietary visibility element set to "private" value.
'true' if the attribute is present and set properly (i.e. the node containing this assertion data instance shouldnot be marshalled int generated WSDL documents). Returns false otherwise. |
setOptionalAttribute | public void setOptionalAttribute(boolean value)(Code) | | TODO: javadoc
|
toString | public String toString()(Code) | | An
Object.toString() method override.
|
toString | public StringBuffer toString(int indentLevel, StringBuffer buffer)(Code) | | A helper method that appends indented string representation of this instance to the input string buffer.
Parameters: indentLevel - indentation level to be used. Parameters: buffer - buffer to be used for appending string representation of this instance modified buffer containing new string representation of the instance |
|
|