public class PolicyUtil
extends java.lang.Object
| Constructor and Description |
|---|
PolicyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.neethi.PolicyReference |
createPolicyReference(org.apache.neethi.Policy policy) |
static java.lang.String |
generateId(AxisDescription description) |
static org.apache.neethi.Policy |
getMergedPolicy(java.util.List policies,
AxisDescription description) |
static org.apache.neethi.Policy |
getMergedPolicy(java.util.List policies,
AxisService service) |
static org.apache.neethi.PolicyComponent |
getPolicyComponent(org.w3c.dom.Element element) |
static org.apache.axiom.om.OMElement |
getPolicyComponentAsOMElement(org.apache.neethi.PolicyComponent component) |
static org.apache.axiom.om.OMElement |
getPolicyComponentAsOMElement(org.apache.neethi.PolicyComponent policyComponent,
ExternalPolicySerializer externalPolicySerializer) |
static org.apache.neethi.PolicyComponent |
getPolicyComponentFromOMElement(org.apache.axiom.om.OMElement policyComponent) |
static org.apache.neethi.Policy |
getPolicyFromOMElement(org.apache.axiom.om.OMElement policyElement) |
static org.apache.neethi.PolicyReference |
getPolicyReferenceFromOMElement(org.apache.axiom.om.OMElement policyRefElement) |
static java.lang.String |
getSafeString(java.lang.String unsafeString) |
static java.lang.String |
policyComponentToString(org.apache.neethi.PolicyComponent policyComponent) |
public static java.lang.String getSafeString(java.lang.String unsafeString)
public static org.apache.neethi.PolicyReference createPolicyReference(org.apache.neethi.Policy policy)
public static org.apache.axiom.om.OMElement getPolicyComponentAsOMElement(org.apache.neethi.PolicyComponent policyComponent,
ExternalPolicySerializer externalPolicySerializer)
throws javax.xml.stream.XMLStreamException,
javax.xml.stream.FactoryConfigurationError
javax.xml.stream.XMLStreamExceptionjavax.xml.stream.FactoryConfigurationErrorpublic static org.apache.axiom.om.OMElement getPolicyComponentAsOMElement(org.apache.neethi.PolicyComponent component)
throws javax.xml.stream.XMLStreamException,
javax.xml.stream.FactoryConfigurationError
javax.xml.stream.XMLStreamExceptionjavax.xml.stream.FactoryConfigurationErrorpublic static org.apache.neethi.PolicyComponent getPolicyComponentFromOMElement(org.apache.axiom.om.OMElement policyComponent)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static org.apache.neethi.Policy getPolicyFromOMElement(org.apache.axiom.om.OMElement policyElement)
public static org.apache.neethi.PolicyReference getPolicyReferenceFromOMElement(org.apache.axiom.om.OMElement policyRefElement)
public static org.apache.neethi.PolicyComponent getPolicyComponent(org.w3c.dom.Element element)
public static java.lang.String policyComponentToString(org.apache.neethi.PolicyComponent policyComponent)
throws javax.xml.stream.XMLStreamException,
javax.xml.stream.FactoryConfigurationError
javax.xml.stream.XMLStreamExceptionjavax.xml.stream.FactoryConfigurationErrorpublic static java.lang.String generateId(AxisDescription description)
public static org.apache.neethi.Policy getMergedPolicy(java.util.List policies,
AxisDescription description)
public static org.apache.neethi.Policy getMergedPolicy(java.util.List policies,
AxisService service)
Copyright © 2004-2021 The Apache Software Foundation. All Rights Reserved.