| 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.sourcemodel.wspolicy |
| Modifier and Type | Field and Description |
|---|---|
private NamespaceVersion |
Policy.nsVersion
Namespace version holder
|
| Modifier and Type | Method and Description |
|---|---|
NamespaceVersion |
Policy.getNamespaceVersion() |
| Modifier and Type | Method and Description |
|---|---|
static Policy |
Policy.createEmptyPolicy(NamespaceVersion nsVersion,
java.lang.String name,
java.lang.String policyId)
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createNullPolicy(NamespaceVersion nsVersion,
java.lang.String name,
java.lang.String policyId)
The factory method creates an immutable policy instance which represents a
|
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. |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Field and Description |
|---|---|
private NamespaceVersion |
PolicySourceModel.nsVersion |
| Modifier and Type | Method and Description |
|---|---|
NamespaceVersion |
PolicySourceModel.getNamespaceVersion()
Returns an original namespace version of this policy source model.
|
| Modifier and Type | Method and Description |
|---|---|
private ModelNode |
XmlPolicyModelUnmarshaller.addNewChildNode(NamespaceVersion nsVersion,
ModelNode parentNode,
javax.xml.stream.events.StartElement childElement) |
static PolicySourceModel |
PolicySourceModel.createPolicySourceModel(NamespaceVersion nsVersion)
Factory method that creates new policy source model instance.
|
static PolicySourceModel |
PolicySourceModel.createPolicySourceModel(NamespaceVersion nsVersion,
java.lang.String policyId,
java.lang.String policyName)
Factory method that creates new policy source model instance and initializes it according to parameters provided.
|
protected PolicySourceModel |
XmlPolicyModelUnmarshaller.createSourceModel(NamespaceVersion nsVersion,
java.lang.String id,
java.lang.String name)
Allow derived classes to pass in a custom instance of PolicySourceModel.
|
private void |
XmlPolicyModelMarshaller.marshal(NamespaceVersion nsVersion,
ModelNode rootNode,
com.sun.xml.txw2.TypedXmlWriter writer)
Marshal given ModelNode and child elements on given TypedXmlWriter.
|
private void |
XmlPolicyModelUnmarshaller.parseAssertionData(NamespaceVersion nsVersion,
java.lang.String value,
ModelNode childNode,
javax.xml.stream.events.StartElement childElement) |
private java.lang.String |
XmlPolicyModelUnmarshaller.unmarshalNodeContent(NamespaceVersion nsVersion,
ModelNode node,
javax.xml.namespace.QName nodeElementName,
javax.xml.stream.XMLEventReader reader) |
| Constructor and Description |
|---|
PolicySourceModel(NamespaceVersion nsVersion)
Constructor that creates a new policy source model instance without any
id or name identifier.
|
PolicySourceModel(NamespaceVersion nsVersion,
java.lang.String policyId,
java.lang.String policyName)
Constructor that creates a new policy source model instance with given
id or name identifier.
|
PolicySourceModel(NamespaceVersion nsVersion,
java.lang.String policyId,
java.lang.String policyName,
java.util.Collection<PrefixMapper> prefixMappers)
Constructor that creates a new policy source model instance with given
id or name identifier and a set of PrefixMappers.
|
| Modifier and Type | Method and Description |
|---|---|
static NamespaceVersion |
NamespaceVersion.getLatestVersion()
Returns latest supported version of the policy namespace
|
static NamespaceVersion |
NamespaceVersion.resolveVersion(javax.xml.namespace.QName name)
Resolves fully qualified name defined in the WS-Policy namespace into an
enumeration value.
|
static NamespaceVersion |
NamespaceVersion.resolveVersion(java.lang.String uri)
Resolves URI represented as a String into an enumeration value.
|
static NamespaceVersion |
NamespaceVersion.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NamespaceVersion[] |
NamespaceVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|