public class SourceModel
extends com.sun.xml.ws.policy.sourcemodel.PolicySourceModel
Modifier and Type | Method and 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.
|
public static com.sun.xml.ws.policy.sourcemodel.PolicySourceModel createSourceModel(com.sun.xml.ws.policy.sourcemodel.wspolicy.NamespaceVersion nsVersion)
nsVersion
- The policy versionpublic static com.sun.xml.ws.policy.sourcemodel.PolicySourceModel createSourceModel(com.sun.xml.ws.policy.sourcemodel.wspolicy.NamespaceVersion nsVersion, String policyId, String policyName)
nsVersion
- The policy versionpolicyId
- local policy identifier - relative URI. May be null
.policyName
- global policy identifier - absolute policy expression URI. May be null
.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.