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:
- java.lang.Cloneable
public class SourceModel
- extends com.sun.xml.ws.policy.sourcemodel.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.
|
Method Summary |
static com.sun.xml.ws.policy.sourcemodel.PolicySourceModel |
createSourceModel(com.sun.xml.ws.policy.sourcemodel.wspolicy.NamespaceVersion nsVersion)
Factory method that creates new policy source model instance. |
static com.sun.xml.ws.policy.sourcemodel.PolicySourceModel |
createSourceModel(com.sun.xml.ws.policy.sourcemodel.wspolicy.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. |
| Methods inherited from class com.sun.xml.ws.policy.sourcemodel.PolicySourceModel |
clone, containsPolicyReferences, createPolicySourceModel, createPolicySourceModel, equals, expand, getNamespaceVersion, getPolicyId, getPolicyName, getRootNode, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
createSourceModel
public static com.sun.xml.ws.policy.sourcemodel.PolicySourceModel createSourceModel(com.sun.xml.ws.policy.sourcemodel.wspolicy.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 com.sun.xml.ws.policy.sourcemodel.PolicySourceModel createSourceModel(com.sun.xml.ws.policy.sourcemodel.wspolicy.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.
- 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 (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.