java.lang.Object
com.sun.xml.ws.policy.sourcemodel.PolicySourceModel
com.sun.xml.ws.api.policy.SourceModel
- All Implemented Interfaces:
Cloneable
This class is a root of unmarshalled policy source structure. Each instance of
the class contains factory method to create new com.sun.xml.ws.policy.sourcemodel.ModelNode
instances associated with the actual model instance.
- Author:
- Fabian Ritzmann
-
Method Summary
Modifier and TypeMethodDescriptionstatic PolicySourceModel
createSourceModel
(NamespaceVersion nsVersion) Factory method that creates new policy source model instance.static PolicySourceModel
createSourceModel
(NamespaceVersion nsVersion, String policyId, String policyName) Factory method that creates new policy source model instance and initializes it according to parameters provided.Methods inherited from class com.sun.xml.ws.policy.sourcemodel.PolicySourceModel
clone, containsPolicyReferences, createPolicySourceModel, createPolicySourceModel, equals, expand, getNamespaceVersion, getPolicyId, getPolicyName, getRootNode, hashCode, toString
-
Method Details
-
createSourceModel
Factory method that creates new policy source model instance.- Parameters:
nsVersion
- The policy version- Returns:
- Newly created policy source model instance.
-
createSourceModel
public static PolicySourceModel createSourceModel(NamespaceVersion nsVersion, String policyId, String policyName) Factory method that creates new policy source model instance and initializes it according to parameters provided.- Parameters:
nsVersion
- The policy versionpolicyId
- local policy identifier - relative URI. May benull
.policyName
- global policy identifier - absolute policy expression URI. May benull
.- Returns:
- Newly created policy source model instance with its name and id properly set.
-