Java源码示例:com.sun.xml.internal.ws.policy.spi.PrefixMapper

示例1
/**
 * Constructor that creates a new policy source model instance with given
 * id or name identifier and a set of PrefixMappers.
 *
 * This constructor is intended to be used by the JAX-WS com.sun.xml.internal.ws.policy.api.SourceModel.
 *
 * @param nsVersion The WS-Policy version.
 * @param policyId Relative policy reference within an XML document. May be {@code null}.
 * @param policyName Absolute IRI of policy expression. May be {@code null}.
 * @param prefixMappers A collection of PrefixMappers to be used with this instance. May be {@code null}.
 */
protected PolicySourceModel(NamespaceVersion nsVersion, String policyId,
        String policyName, Collection<PrefixMapper> prefixMappers) {
    this.rootNode = ModelNode.createRootPolicyNode(this);
    this.nsVersion = nsVersion;
    this.policyId = policyId;
    this.policyName = policyName;
    if (prefixMappers != null) {
        for (PrefixMapper prefixMapper : prefixMappers) {
            this.namespaceToPrefix.putAll(prefixMapper.getPrefixMap());
        }
    }
}
 
示例2
/**
 * Constructor that creates a new policy source model instance with given
 * id or name identifier and a set of PrefixMappers.
 *
 * This constructor is intended to be used by the JAX-WS com.sun.xml.internal.ws.policy.api.SourceModel.
 *
 * @param nsVersion The WS-Policy version.
 * @param policyId Relative policy reference within an XML document. May be {@code null}.
 * @param policyName Absolute IRI of policy expression. May be {@code null}.
 * @param prefixMappers A collection of PrefixMappers to be used with this instance. May be {@code null}.
 */
protected PolicySourceModel(NamespaceVersion nsVersion, String policyId,
        String policyName, Collection<PrefixMapper> prefixMappers) {
    this.rootNode = ModelNode.createRootPolicyNode(this);
    this.nsVersion = nsVersion;
    this.policyId = policyId;
    this.policyName = policyName;
    if (prefixMappers != null) {
        for (PrefixMapper prefixMapper : prefixMappers) {
            this.namespaceToPrefix.putAll(prefixMapper.getPrefixMap());
        }
    }
}
 
示例3
/**
 * Constructor that creates a new policy source model instance with given
 * id or name identifier and a set of PrefixMappers.
 *
 * This constructor is intended to be used by the JAX-WS com.sun.xml.internal.ws.policy.api.SourceModel.
 *
 * @param nsVersion The WS-Policy version.
 * @param policyId Relative policy reference within an XML document. May be {@code null}.
 * @param policyName Absolute IRI of policy expression. May be {@code null}.
 * @param prefixMappers A collection of PrefixMappers to be used with this instance. May be {@code null}.
 */
protected PolicySourceModel(NamespaceVersion nsVersion, String policyId,
        String policyName, Collection<PrefixMapper> prefixMappers) {
    this.rootNode = ModelNode.createRootPolicyNode(this);
    this.nsVersion = nsVersion;
    this.policyId = policyId;
    this.policyName = policyName;
    if (prefixMappers != null) {
        for (PrefixMapper prefixMapper : prefixMappers) {
            this.namespaceToPrefix.putAll(prefixMapper.getPrefixMap());
        }
    }
}
 
示例4
/**
 * Constructor that creates a new policy source model instance with given
 * id or name identifier and a set of PrefixMappers.
 *
 * This constructor is intended to be used by the JAX-WS com.sun.xml.internal.ws.policy.api.SourceModel.
 *
 * @param nsVersion The WS-Policy version.
 * @param policyId Relative policy reference within an XML document. May be {@code null}.
 * @param policyName Absolute IRI of policy expression. May be {@code null}.
 * @param prefixMappers A collection of PrefixMappers to be used with this instance. May be {@code null}.
 */
protected PolicySourceModel(NamespaceVersion nsVersion, String policyId,
        String policyName, Collection<PrefixMapper> prefixMappers) {
    this.rootNode = ModelNode.createRootPolicyNode(this);
    this.nsVersion = nsVersion;
    this.policyId = policyId;
    this.policyName = policyName;
    if (prefixMappers != null) {
        for (PrefixMapper prefixMapper : prefixMappers) {
            this.namespaceToPrefix.putAll(prefixMapper.getPrefixMap());
        }
    }
}
 
示例5
/**
 * Constructor that creates a new policy source model instance with given
 * id or name identifier and a set of PrefixMappers.
 *
 * This constructor is intended to be used by the JAX-WS com.sun.xml.internal.ws.policy.api.SourceModel.
 *
 * @param nsVersion The WS-Policy version.
 * @param policyId Relative policy reference within an XML document. May be {@code null}.
 * @param policyName Absolute IRI of policy expression. May be {@code null}.
 * @param prefixMappers A collection of PrefixMappers to be used with this instance. May be {@code null}.
 */
protected PolicySourceModel(NamespaceVersion nsVersion, String policyId,
        String policyName, Collection<PrefixMapper> prefixMappers) {
    this.rootNode = ModelNode.createRootPolicyNode(this);
    this.nsVersion = nsVersion;
    this.policyId = policyId;
    this.policyName = policyName;
    if (prefixMappers != null) {
        for (PrefixMapper prefixMapper : prefixMappers) {
            this.namespaceToPrefix.putAll(prefixMapper.getPrefixMap());
        }
    }
}
 
示例6
/**
 * Constructor that creates a new policy source model instance with given
 * id or name identifier and a set of PrefixMappers.
 *
 * This constructor is intended to be used by the JAX-WS com.sun.xml.internal.ws.policy.api.SourceModel.
 *
 * @param nsVersion The WS-Policy version.
 * @param policyId Relative policy reference within an XML document. May be {@code null}.
 * @param policyName Absolute IRI of policy expression. May be {@code null}.
 * @param prefixMappers A collection of PrefixMappers to be used with this instance. May be {@code null}.
 */
protected PolicySourceModel(NamespaceVersion nsVersion, String policyId,
        String policyName, Collection<PrefixMapper> prefixMappers) {
    this.rootNode = ModelNode.createRootPolicyNode(this);
    this.nsVersion = nsVersion;
    this.policyId = policyId;
    this.policyName = policyName;
    if (prefixMappers != null) {
        for (PrefixMapper prefixMapper : prefixMappers) {
            this.namespaceToPrefix.putAll(prefixMapper.getPrefixMap());
        }
    }
}
 
示例7
/**
 * Constructor that creates a new policy source model instance with given
 * id or name identifier and a set of PrefixMappers.
 *
 * This constructor is intended to be used by the JAX-WS com.sun.xml.internal.ws.policy.api.SourceModel.
 *
 * @param nsVersion The WS-Policy version.
 * @param policyId Relative policy reference within an XML document. May be {@code null}.
 * @param policyName Absolute IRI of policy expression. May be {@code null}.
 * @param prefixMappers A collection of PrefixMappers to be used with this instance. May be {@code null}.
 */
protected PolicySourceModel(NamespaceVersion nsVersion, String policyId,
        String policyName, Collection<PrefixMapper> prefixMappers) {
    this.rootNode = ModelNode.createRootPolicyNode(this);
    this.nsVersion = nsVersion;
    this.policyId = policyId;
    this.policyName = policyName;
    if (prefixMappers != null) {
        for (PrefixMapper prefixMapper : prefixMappers) {
            this.namespaceToPrefix.putAll(prefixMapper.getPrefixMap());
        }
    }
}
 
示例8
/**
 * Constructor that creates a new policy source model instance with given
 * id or name identifier and a set of PrefixMappers.
 *
 * This constructor is intended to be used by the JAX-WS com.sun.xml.internal.ws.policy.api.SourceModel.
 *
 * @param nsVersion The WS-Policy version.
 * @param policyId Relative policy reference within an XML document. May be {@code null}.
 * @param policyName Absolute IRI of policy expression. May be {@code null}.
 * @param prefixMappers A collection of PrefixMappers to be used with this instance. May be {@code null}.
 */
protected PolicySourceModel(NamespaceVersion nsVersion, String policyId,
        String policyName, Collection<PrefixMapper> prefixMappers) {
    this.rootNode = ModelNode.createRootPolicyNode(this);
    this.nsVersion = nsVersion;
    this.policyId = policyId;
    this.policyName = policyName;
    if (prefixMappers != null) {
        for (PrefixMapper prefixMapper : prefixMappers) {
            this.namespaceToPrefix.putAll(prefixMapper.getPrefixMap());
        }
    }
}