com.sun.xml.ws.api.policy
Class SourceModel
java.lang.Object
com.sun.xml.ws.policy.sourcemodel.PolicySourceModel
com.sun.xml.ws.api.policy.SourceModel
- All Implemented Interfaces:
- Cloneable
public class SourceModel
- extends PolicySourceModel
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
| Methods inherited from class com.sun.xml.ws.policy.sourcemodel.PolicySourceModel |
clone, containsPolicyReferences, createPolicySourceModel, createPolicySourceModel, equals, expand, getNamespaceVersion, getPolicyId, getPolicyName, getRootNode, hashCode, toString |
createSourceModel
public static PolicySourceModel createSourceModel(NamespaceVersion nsVersion)
- 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 be null.policyName - global policy identifier - absolute policy expression URI. May be null.
- Returns:
- Newly created policy source model instance with its name and id properly set.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.