Class SourceModel

  • All Implemented Interfaces:
    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.
    Author:
    Fabian Ritzmann
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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, 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 Detail

      • 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,
                                                                                            String policyId,
                                                                                            String policyName)
        Factory method that creates new policy source model instance and initializes it according to parameters provided.
        Parameters:
        nsVersion - The policy version
        policyId - 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.