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 | Method and Description |
---|---|
NamespaceVersion |
Policy.getNamespaceVersion() |
Modifier and Type | Method and Description |
---|---|
static Policy |
Policy.createEmptyPolicy(NamespaceVersion nsVersion,
String name,
String policyId)
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createNullPolicy(NamespaceVersion nsVersion,
String name,
String policyId)
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createPolicy(NamespaceVersion nsVersion,
String name,
String policyId,
Collection<AssertionSet> sets)
The factory method creates an immutable policy instance which represents a policy expression with
alternatives specified by
sets input parameter. |
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 |
---|---|
static PolicySourceModel |
PolicySourceModel.createPolicySourceModel(NamespaceVersion nsVersion)
Factory method that creates new policy source model instance.
|
static PolicySourceModel |
PolicySourceModel.createPolicySourceModel(NamespaceVersion nsVersion,
String policyId,
String policyName)
Factory method that creates new policy source model instance and initializes it according to parameters provided.
|
protected PolicySourceModel |
XmlPolicyModelUnmarshaller.createSourceModel(NamespaceVersion nsVersion,
String id,
String name)
Allow derived classes to pass in a custom instance of PolicySourceModel.
|
Constructor and Description |
---|
PolicySourceModel(NamespaceVersion nsVersion,
String policyId,
String policyName,
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(QName name)
Resolves fully qualified name defined in the WS-Policy namespace into an
enumeration value.
|
static NamespaceVersion |
NamespaceVersion.resolveVersion(String uri)
Resolves URI represented as a String into an enumeration value.
|
static NamespaceVersion |
NamespaceVersion.valueOf(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.
|
Copyright © 2006–2014 Oracle Corporation. All rights reserved.