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 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 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 XMLStreamException, FactoryConfigurationError
public static org.apache.axiom.om.OMElement getPolicyComponentAsOMElement(org.apache.neethi.PolicyComponent component) throws XMLStreamException, FactoryConfigurationError
public static org.apache.neethi.PolicyComponent getPolicyComponentFromOMElement(org.apache.axiom.om.OMElement policyComponent) throws IllegalArgumentException
IllegalArgumentException
public 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 XMLStreamException, 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)
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.