Package | Description |
---|---|
com.sun.xml.ws.policy |
The root package of public policy API.
|
com.sun.xml.ws.policy.sourcemodel |
The part of public policy API that defines the classes and interfaces dealing with
the policy tree structure (policy source model) creation and manipulation.
|
com.sun.xml.ws.policy.spi |
The package contains policy API extension point definitions.
|
Constructor and Description |
---|
ComplexAssertion(AssertionData data,
Collection<? extends PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
PolicyAssertion(AssertionData assertionData,
Collection<? extends PolicyAssertion> assertionParameters)
Creates generic assertionand stores the data specified in input parameters
|
PolicyAssertion(AssertionData assertionData,
Collection<? extends PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative)
Deprecated.
Non-abstract assertion types should derive from
SimpleAssertion
or ComplexAssertion instead. Policy class will not provide support for
nested policy alternatives in the future. This responsibility is delegated to
ComplexAssertion class instead. |
SimpleAssertion(AssertionData data,
Collection<? extends PolicyAssertion> assertionParameters) |
Modifier and Type | Method and Description |
---|---|
protected AssertionData |
AssertionData.clone() |
static AssertionData |
AssertionData.createAssertionData(QName name)
Constructs assertion data wrapper instance for an assertion that does not
contain any value nor any attributes.
|
static AssertionData |
AssertionData.createAssertionData(QName name,
String value,
Map<QName,String> attributes,
boolean optional,
boolean ignorable)
Constructs assertion data wrapper instance for an assertion that does
contain a value or attributes.
|
static AssertionData |
AssertionData.createAssertionParameterData(QName name)
Constructs assertion data wrapper instance for an assertion parameter that
does not contain any value nor any attributes.
|
static AssertionData |
AssertionData.createAssertionParameterData(QName name,
String value,
Map<QName,String> attributes)
Constructs assertion data wrapper instance for an assertion parameter that
contains a value or attributes
|
AssertionData |
ModelNode.getNodeData()
Returns the data for this policy source model node (if any).
|
AssertionData |
ModelNode.setOrReplaceNodeData(AssertionData newData)
The method may be used to set or replace assertion data set for this node.
|
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelNode.createChildAssertionNode(AssertionData nodeData)
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
AssertionData |
ModelNode.setOrReplaceNodeData(AssertionData newData)
The method may be used to set or replace assertion data set for this node.
|
Modifier and Type | Method and Description |
---|---|
AssertionData |
AssertionCreationException.getAssertionData()
Retrieves assertion data associated with the exception.
|
Modifier and Type | Method and Description |
---|---|
PolicyAssertion |
PolicyAssertionCreator.createAssertion(AssertionData data,
Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative,
PolicyAssertionCreator defaultCreator)
Creates domain-specific policy assertion instance according to assertion data provided.
|
Constructor and Description |
---|
AssertionCreationException(AssertionData assertionData,
String message)
Constructs a new assertion creation exception with the specified detail message and cause.
|
AssertionCreationException(AssertionData assertionData,
String message,
Throwable cause)
Constructs a new assertion creation exception with the specified detail message and cause.
|
AssertionCreationException(AssertionData assertionData,
Throwable cause)
Constructs a new assertion creation exception with the specified detail message and cause.
|
Copyright © 2006–2018 Oracle Corporation. All rights reserved.