| 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.
|
| Modifier and Type | Field and Description |
|---|---|
private static AssertionSet |
AssertionSet.EMPTY_ASSERTION_SET |
private AssertionSet |
PolicyAssertion.parameters |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<AssertionSet> |
Policy.assertionSets
internal collection of policy alternatives
|
private static java.util.List<AssertionSet> |
Policy.EMPTY_POLICY_ASSERTION_SETS
Constant represents list of assertion sets with single empty assertion set.
|
private static java.util.List<AssertionSet> |
Policy.NULL_POLICY_ASSERTION_SETS
Constant represents empty list of assertion sets.
|
| Modifier and Type | Method and Description |
|---|---|
static AssertionSet |
AssertionSet.createAssertionSet(java.util.Collection<? extends PolicyAssertion> assertions)
Creates and returns new assertion set holding a set of provided policy assertions.
|
static AssertionSet |
AssertionSet.createMergedAssertionSet(java.util.Collection<AssertionSet> alternatives)
Creates and returns new assertion set holding content of all provided policy assertion sets.
|
static AssertionSet |
AssertionSet.emptyAssertionSet() |
AssertionSet |
NestedPolicy.getAssertionSet()
Returns the AssertionSet instance representing a single policy alterantive held wihtin this nested policy object.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.Collection<AssertionSet> |
Policy.getContent() |
java.util.Iterator<AssertionSet> |
Policy.iterator()
A policy usually contains one or more assertion sets.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
Policy.add(AssertionSet set)
Adds single alternative to the internal alternatives set of the policy object.
|
private boolean |
AssertionSet.areAssertionsCompatible(AssertionSet alternative,
PolicyIntersector.CompatibilityMode mode) |
int |
AssertionSet.compareTo(AssertionSet that)
An
Comparable<T>.compareTo(T o) interface method implementation. |
(package private) static NestedPolicy |
NestedPolicy.createNestedPolicy(AssertionSet set) |
(package private) static NestedPolicy |
NestedPolicy.createNestedPolicy(java.lang.String name,
java.lang.String policyId,
AssertionSet set) |
(package private) boolean |
AssertionSet.isCompatibleWith(AssertionSet alternative,
PolicyIntersector.CompatibilityMode mode)
Checks whether this policy alternative is compatible with the provided policy alternative.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
Policy.addAll(java.util.Collection<AssertionSet> sets)
Adds all alternatives from the input collection of assertion sets to the policy object's internal set of alternatives.
|
static AssertionSet |
AssertionSet.createMergedAssertionSet(java.util.Collection<AssertionSet> alternatives)
Creates and returns new assertion set holding content of all provided policy assertion sets.
|
static Policy |
Policy.createPolicy(java.util.Collection<AssertionSet> sets)
The factory method creates an immutable policy instance which represents a policy expression with
alternatives specified by
sets input parameter. |
static Policy |
Policy.createPolicy(NamespaceVersion nsVersion,
java.lang.String name,
java.lang.String policyId,
java.util.Collection<AssertionSet> sets)
The factory method creates an immutable policy instance which represents a policy expression with
alternatives specified by
sets input parameter. |
static Policy |
Policy.createPolicy(java.lang.String name,
java.lang.String policyId,
java.util.Collection<AssertionSet> sets)
The factory method creates an immutable policy instance which represents a policy expression with
alternatives specified by
sets input parameter. |
| Constructor and Description |
|---|
ComplexAssertion(AssertionData data,
java.util.Collection<? extends PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
NestedPolicy(AssertionSet set) |
NestedPolicy(java.lang.String name,
java.lang.String policyId,
AssertionSet set) |
PolicyAssertion(AssertionData assertionData,
java.util.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. |
| Constructor and Description |
|---|
AssertionSet(java.util.Collection<AssertionSet> alternatives) |
Policy(NamespaceVersion nsVersion,
java.lang.String toStringName,
java.util.Collection<AssertionSet> sets)
Constructor that should be overridden by child implementation.
|
Policy(NamespaceVersion nsVersion,
java.lang.String name,
java.lang.String policyId,
java.util.List<AssertionSet> assertionSets,
java.util.Set<javax.xml.namespace.QName> vocabulary)
A most flexible policy object constructor that allows private creation of policy objects and direct setting
of all its attributes.
|
Policy(NamespaceVersion nsVersion,
java.lang.String toStringName,
java.lang.String name,
java.lang.String policyId,
java.util.Collection<AssertionSet> sets)
Constructor that should be overridden by child implementation.
|
Policy(java.lang.String toStringName,
java.util.Collection<AssertionSet> sets)
Constructor that should be overridden by child implementation.
|
Policy(java.lang.String name,
java.lang.String policyId,
java.util.List<AssertionSet> assertionSets,
java.util.Set<javax.xml.namespace.QName> vocabulary)
A most flexible policy object constructor that allows private creation of policy objects and direct setting
of all its attributes.
|
Policy(java.lang.String toStringName,
java.lang.String name,
java.lang.String policyId,
java.util.Collection<AssertionSet> sets)
Constructor that should be overridden by child implementation.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.Collection<AssertionSet> |
PolicyModelTranslator.createPolicyAlternatives(PolicySourceModel model)
Method creates policy alternatives according to provided model.
|
private java.util.List<AssertionSet> |
PolicyModelTranslator.normalizeRawAlternative(PolicyModelTranslator.RawAlternative alternative) |
| Modifier and Type | Method and Description |
|---|---|
PolicyAssertion |
DefaultPolicyAssertionCreator.createAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative,
PolicyAssertionCreator defaultCreator)
|
private PolicyAssertion |
PolicyModelTranslator.createPolicyAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
protected void |
PolicyModelGenerator.translate(ModelNode node,
AssertionSet assertions)
Add the contents of the assertion set as child node to the given model node.
|
| Constructor and Description |
|---|
DefaultPolicyAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
| Modifier and Type | Method and Description |
|---|---|
PolicyAssertion |
PolicyAssertionCreator.createAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative,
PolicyAssertionCreator defaultCreator)
Creates domain-specific policy assertion instance according to assertion data provided.
|