public class PolicyUtil extends Object
| Constructor and Description |
|---|
PolicyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.neethi.PolicyReference |
createPolicyReference(org.apache.neethi.Policy policy) |
static String |
generateId(AxisDescription description) |
static org.apache.neethi.Policy |
getMergedPolicy(List policies,
AxisDescription description) |
static org.apache.neethi.Policy |
getMergedPolicy(List policies,
AxisService service) |
static Iterator<org.apache.axiom.om.OMElement> |
getPolicyChildren(org.apache.axiom.om.OMElement parent) |
static org.apache.neethi.PolicyComponent |
getPolicyComponent(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 Iterator<org.apache.axiom.om.OMElement> |
getPolicyRefChildren(org.apache.axiom.om.OMElement parent) |
static org.apache.neethi.PolicyReference |
getPolicyReferenceFromOMElement(org.apache.axiom.om.OMElement policyRefElement) |
static String |
getSafeString(String unsafeString) |
static String |
policyComponentToString(org.apache.neethi.PolicyComponent policyComponent) |
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
public static org.apache.axiom.om.OMElement getPolicyComponentAsOMElement(org.apache.neethi.PolicyComponent component)
throws javax.xml.stream.XMLStreamException,
javax.xml.stream.FactoryConfigurationError
public static org.apache.neethi.PolicyComponent getPolicyComponentFromOMElement(org.apache.axiom.om.OMElement policyComponent)
throws IllegalArgumentException
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(Element element)
public static String policyComponentToString(org.apache.neethi.PolicyComponent policyComponent) throws javax.xml.stream.XMLStreamException, javax.xml.stream.FactoryConfigurationError
public static String generateId(AxisDescription description)
public static org.apache.neethi.Policy getMergedPolicy(List policies, AxisDescription description)
public static org.apache.neethi.Policy getMergedPolicy(List policies, AxisService service)
public static Iterator<org.apache.axiom.om.OMElement> getPolicyChildren(org.apache.axiom.om.OMElement parent)
public static Iterator<org.apache.axiom.om.OMElement> getPolicyRefChildren(org.apache.axiom.om.OMElement parent)
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.