org.apache.neethi
Class Constants
java.lang.Object
org.apache.neethi.Constants
public final class Constants
- extends Object
Constants contains the set of Constants that are used throughout the Neethi2
framework.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
ATTR_ID
public static final String ATTR_ID
- See Also:
- Constant Field Values
ATTR_WSP
public static final String ATTR_WSP
- See Also:
- Constant Field Values
ATTR_WSU
public static final String ATTR_WSU
- See Also:
- Constant Field Values
ATTR_URI
public static final String ATTR_URI
- See Also:
- Constant Field Values
URI_POLICY_13_NS
public static final String URI_POLICY_13_NS
- See Also:
- Constant Field Values
URI_POLICY_15_DEPRECATED_NS
public static final String URI_POLICY_15_DEPRECATED_NS
- See Also:
- Constant Field Values
URI_POLICY_15_NS
public static final String URI_POLICY_15_NS
- See Also:
- Constant Field Values
URI_POLICY_NS
public static final String URI_POLICY_NS
- See Also:
- Constant Field Values
URI_WSU_NS
public static final String URI_WSU_NS
- See Also:
- Constant Field Values
ELEM_POLICY
public static final String ELEM_POLICY
- See Also:
- Constant Field Values
ELEM_EXACTLYONE
public static final String ELEM_EXACTLYONE
- See Also:
- Constant Field Values
ELEM_ALL
public static final String ELEM_ALL
- See Also:
- Constant Field Values
ELEM_POLICY_REF
public static final String ELEM_POLICY_REF
- See Also:
- Constant Field Values
ELEM_POLICY_ATTACHMENT
public static final String ELEM_POLICY_ATTACHMENT
- See Also:
- Constant Field Values
TYPE_POLICY
public static final short TYPE_POLICY
- See Also:
- Constant Field Values
TYPE_EXACTLYONE
public static final short TYPE_EXACTLYONE
- See Also:
- Constant Field Values
TYPE_ALL
public static final short TYPE_ALL
- See Also:
- Constant Field Values
TYPE_POLICY_REF
public static final short TYPE_POLICY_REF
- See Also:
- Constant Field Values
TYPE_ASSERTION
public static final short TYPE_ASSERTION
- See Also:
- Constant Field Values
ATTR_OPTIONAL
public static final String ATTR_OPTIONAL
- See Also:
- Constant Field Values
ATTR_IGNORABLE
public static final String ATTR_IGNORABLE
- See Also:
- Constant Field Values
ATTR_POLICYURIS
public static final String ATTR_POLICYURIS
- See Also:
- Constant Field Values
ELEM_POLICY_APPLIES_TO
public static final String ELEM_POLICY_APPLIES_TO
- See Also:
- Constant Field Values
Q_ELEM_POLICY
public static final QName Q_ELEM_POLICY
Q_ELEM_POLICY_15
public static final QName Q_ELEM_POLICY_15
Q_ELEM_OPTIONAL_ATTR
public static final QName Q_ELEM_OPTIONAL_ATTR
Q_ELEM_OPTIONAL_15_ATTR
public static final QName Q_ELEM_OPTIONAL_15_ATTR
Q_ELEM_IGNORABLE_15_ATTR
public static final QName Q_ELEM_IGNORABLE_15_ATTR
isPolicyNS
public static boolean isPolicyNS(String ns)
- Check if the given namespace URI refers to one of the supported WS-Policy versions.
- Parameters:
ns
- the namespace URI
- Returns:
true
if the specification identified by the namespace URI is supported
by Neethi, false
if it is null
or not supported
isInPolicyNS
public static boolean isInPolicyNS(QName q)
isPolicyElement
public static boolean isPolicyElement(String ns,
String local)
isPolicyElement
public static boolean isPolicyElement(QName q)
isPolicyRef
public static boolean isPolicyRef(String ns,
String local)
isPolicyRef
public static boolean isPolicyRef(QName q)
isOptionalAttribute
public static boolean isOptionalAttribute(QName qn)
isIgnorableAttribute
public static boolean isIgnorableAttribute(QName qn)
isAppliesToElem
public static boolean isAppliesToElem(QName qn)
isPolicyURIsAttr
public static boolean isPolicyURIsAttr(QName qn)
findPolicyNamespace
public static String findPolicyNamespace(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.