org.apache.axis2.util
Class PolicyUtil
java.lang.Object
org.apache.axis2.util.PolicyUtil
public class PolicyUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyUtil
public PolicyUtil()
getSafeString
public static String getSafeString(String unsafeString)
getPolicyComponentAsOMElement
public static org.apache.axiom.om.OMElement getPolicyComponentAsOMElement(org.apache.neethi.PolicyComponent policyComponent,
ExternalPolicySerializer externalPolicySerializer)
throws XMLStreamException,
FactoryConfigurationError
- Throws:
XMLStreamException
FactoryConfigurationError
getPolicyComponentAsOMElement
public static org.apache.axiom.om.OMElement getPolicyComponentAsOMElement(org.apache.neethi.PolicyComponent component)
throws XMLStreamException,
FactoryConfigurationError
- Throws:
XMLStreamException
FactoryConfigurationError
getPolicyComponentFromOMElement
public static org.apache.neethi.PolicyComponent getPolicyComponentFromOMElement(org.apache.axiom.om.OMElement policyComponent)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getPolicyComponent
public static org.apache.neethi.PolicyComponent getPolicyComponent(Element element)
policyComponentToString
public static String policyComponentToString(org.apache.neethi.PolicyComponent policyComponent)
throws XMLStreamException,
FactoryConfigurationError
- Throws:
XMLStreamException
FactoryConfigurationError