|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.wsdl.util.WSDLConstants
public class WSDLConstants
This class defines constants for WSDL element tags and relevant namespaces.
Field Summary | |
---|---|
static int |
BINDING
The element tag is "binding" . |
static java.lang.String |
BINDING_ATTRIBUTE
The attribute is "binding" . |
static java.lang.String |
BINDING_ELEMENT_TAG
The element tag is "binding" . |
static int |
DEFINITION
The element tag is "definitions" . |
static java.lang.String |
DEFINITION_ELEMENT_TAG
The element tag is "definitions" . |
static int |
DOCUMENTATION
The element tag is "documentation" . |
static java.lang.String |
DOCUMENTATION_ELEMENT_TAG
The element tag is "documentation" . |
static java.lang.String |
ELEMENT_ATTRIBUTE
The attribute is "element" . |
static java.lang.String |
ENCODING_ATTRIBUTE
The attribute is "encoding" . |
static int |
FAULT
The element tag is "fault" . |
static java.lang.String |
FAULT_ELEMENT_TAG
The element tag is "fault" . |
static int |
IMPORT
The element tag is "import" . |
static java.lang.String |
IMPORT_ELEMENT_TAG
The element tag is "import" . |
static int |
INPUT
The element tag is "input" . |
static java.lang.String |
INPUT_ELEMENT_TAG
The element tag is "input" . |
static java.lang.String |
LOCATION_ATTRIBUTE
The attribute is "location" . |
static int |
MESSAGE
The element tag is "message" . |
static java.lang.String |
MESSAGE_ATTRIBUTE
The attribute is "message" . |
static java.lang.String |
MESSAGE_ELEMENT_TAG
The element tag is "message" . |
static java.lang.String |
NAME_ATTRIBUTE
The attribute is "name" . |
static java.lang.String |
NAMESPACE_ATTRIBUTE
The attribute is "namespace" . |
static int |
OPERATION
The element tag is "operation" . |
static java.lang.String |
OPERATION_ELEMENT_TAG
The element tag is "operation" . |
static int |
OUTPUT
The element tag is "output" . |
static java.lang.String |
OUTPUT_ELEMENT_TAG
The element tag is "output" . |
static java.lang.String |
PARAMETER_ORDER_ATTRIBUTE
The attribute is "parameterOrder" . |
static int |
PART
The element tag is "part" . |
static java.lang.String |
PART_ELEMENT_TAG
The element tag is "part" . |
static int |
PORT
The element tag is "port" . |
static java.lang.String |
PORT_ELEMENT_TAG
The element tag is "port" . |
static int |
PORT_TYPE
The element tag is "portType" . |
static java.lang.String |
PORT_TYPE_ELEMENT_TAG
The element tag is "portType" . |
static java.lang.String |
RESOURCE_URI_ATTRIBUTE
The attribute is "resourceURI" . |
static java.lang.String |
SCHEMA_FOR_SCHEMA_URI_1999
The value "http://www.w3.org/1999/XMLSchema" . |
static java.lang.String |
SCHEMA_FOR_SCHEMA_URI_2000_10
The value "http://www.w3.org/2000/10/XMLSchema" . |
static java.lang.String |
SCHEMA_FOR_SCHEMA_URI_2001
The value "http://www.w3.org/2001/XMLSchema" . |
static int |
SERVICE
The element tag is "service" . |
static java.lang.String |
SERVICE_ELEMENT_TAG
The element tag is "service" . |
static java.lang.String |
TARGETNAMESPACE_ATTRIBUTE
The attribute is "targetNamespace" . |
static java.lang.String |
TYPE_ATTRIBUTE
The attribute is "type" . |
static int |
TYPES
The element tag is "types" . |
static java.lang.String |
TYPES_ELEMENT_TAG
The element tag is "types" . |
static java.lang.String |
WSDL_NAMESPACE_URI
The value "http://schemas.xmlsoap.org/wsdl/" . |
static java.lang.String |
XSD_NAMESPACE_URI
The value "http://www.w3.org/2001/XMLSchema" . |
Constructor Summary | |
---|---|
WSDLConstants()
|
Method Summary | |
---|---|
static java.lang.String |
getAttribute(org.w3c.dom.Element element,
java.lang.String attributeName)
Returns an attribute value given the attributeName in the element. |
static java.lang.String |
getElementTag(int nodeType)
Returns a String name of element tag given the nodeType. |
static boolean |
isMatchingNamespace(java.lang.String namespace1,
java.lang.String namespace2)
Returns true if namespace1 equals to namespace2. |
static boolean |
isWSDLNamespace(java.lang.String namespace)
Returns whether the given namespace is the WSDL namespace or not. |
static int |
nodeType(org.w3c.dom.Node node)
Returns a node type defined in WSDLConstants given the DOM node. |
static int |
nodeType(java.lang.String localName)
Returns a node type given the String name of element tag. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BINDING
"binding"
.
getElementTag(int).
,
Constant Field Valuespublic static final int DEFINITION
"definitions"
.
getElementTag(int).
,
Constant Field Valuespublic static final int DOCUMENTATION
"documentation"
.
getElementTag(int).
,
Constant Field Valuespublic static final int FAULT
"fault"
.
getElementTag(int).
,
Constant Field Valuespublic static final int IMPORT
"import"
.
getElementTag(int).
,
Constant Field Valuespublic static final int INPUT
"input"
.
getElementTag(int).
,
Constant Field Valuespublic static final int MESSAGE
"message"
.
getElementTag(int).
,
Constant Field Valuespublic static final int OPERATION
"operation"
.
getElementTag(int).
,
Constant Field Valuespublic static final int OUTPUT
"output"
.
getElementTag(int).
,
Constant Field Valuespublic static final int PART
"part"
.
getElementTag(int).
,
Constant Field Valuespublic static final int PORT
"port"
.
getElementTag(int).
,
Constant Field Valuespublic static final int PORT_TYPE
"portType"
.
getElementTag(int).
,
Constant Field Valuespublic static final int SERVICE
"service"
.
getElementTag(int).
,
Constant Field Valuespublic static final int TYPES
"types"
.
getElementTag(int).
,
Constant Field Valuespublic static final java.lang.String BINDING_ELEMENT_TAG
"binding"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String DEFINITION_ELEMENT_TAG
"definitions"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String DOCUMENTATION_ELEMENT_TAG
"documentation"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String FAULT_ELEMENT_TAG
"fault"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String IMPORT_ELEMENT_TAG
"import"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String INPUT_ELEMENT_TAG
"input"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String MESSAGE_ELEMENT_TAG
"message"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String OPERATION_ELEMENT_TAG
"operation"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String OUTPUT_ELEMENT_TAG
"output"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String PART_ELEMENT_TAG
"part"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String PORT_ELEMENT_TAG
"port"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String PORT_TYPE_ELEMENT_TAG
"portType"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String SERVICE_ELEMENT_TAG
"service"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String TYPES_ELEMENT_TAG
"types"
.
nodeType(String localName).
,
Constant Field Valuespublic static final java.lang.String NAME_ATTRIBUTE
"name"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String MESSAGE_ATTRIBUTE
"message"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String BINDING_ATTRIBUTE
"binding"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String TYPE_ATTRIBUTE
"type"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String ENCODING_ATTRIBUTE
"encoding"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String TARGETNAMESPACE_ATTRIBUTE
"targetNamespace"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String RESOURCE_URI_ATTRIBUTE
"resourceURI"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String ELEMENT_ATTRIBUTE
"element"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String LOCATION_ATTRIBUTE
"location"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String PARAMETER_ORDER_ATTRIBUTE
"parameterOrder"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String NAMESPACE_ATTRIBUTE
"namespace"
.
getAttribute(Element,String).
,
Constant Field Valuespublic static final java.lang.String WSDL_NAMESPACE_URI
"http://schemas.xmlsoap.org/wsdl/"
.
public static final java.lang.String XSD_NAMESPACE_URI
"http://www.w3.org/2001/XMLSchema"
.
public static final java.lang.String SCHEMA_FOR_SCHEMA_URI_1999
"http://www.w3.org/1999/XMLSchema"
.
public static final java.lang.String SCHEMA_FOR_SCHEMA_URI_2000_10
"http://www.w3.org/2000/10/XMLSchema"
.
public static final java.lang.String SCHEMA_FOR_SCHEMA_URI_2001
"http://www.w3.org/2001/XMLSchema"
.
Constructor Detail |
---|
public WSDLConstants()
Method Detail |
---|
public static final java.lang.String getElementTag(int nodeType)
nodeType
- a constant defined in WSDLConstants.
public static final int nodeType(java.lang.String localName)
localName
- the local name of element tag.
public static final int nodeType(org.w3c.dom.Node node)
node
- a DOM node.
public static boolean isWSDLNamespace(java.lang.String namespace)
namespace
- a namespace.
public static boolean isMatchingNamespace(java.lang.String namespace1, java.lang.String namespace2)
namespace1
- a namespace.namespace2
- a namespace.
public static java.lang.String getAttribute(org.w3c.dom.Element element, java.lang.String attributeName)
element
- a DOM element to search for the attribute from.attributeName
- an attribute to find from the element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |