org.apache.axis.wsdl
Class SchemaUtils
java.lang.Object
|
+--org.apache.axis.wsdl.SchemaUtils
- public class SchemaUtils
- extends java.lang.Object
This class contains static utility methods specifically for schema type queries.
- Author:
- Rich Scheuerle (scheu@us.ibm.com)
Method Summary |
static javax.wsdl.QName |
getArrayElementQName(org.w3c.dom.Node node)
If the specified node represents an array encoding of one of the following
forms, then return the qname repesenting the element type of the array. |
static java.util.Vector |
getComplexElementTypesAndNames(org.w3c.dom.Node node,
SymbolTable symbolTable)
If the specified node represents a supported JAX-RPC complexType/element,
a Vector is returned which contains the child element types and
child element names. |
static java.util.Vector |
getEnumerationBaseAndValues(org.w3c.dom.Node node,
SymbolTable symbolTable)
If the specified node represents a supported JAX-RPC enumeration,
a Vector is returned which contains the base type and the enumeration values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaUtils
public SchemaUtils()
getComplexElementTypesAndNames
public static java.util.Vector getComplexElementTypesAndNames(org.w3c.dom.Node node,
SymbolTable symbolTable)
- If the specified node represents a supported JAX-RPC complexType/element,
a Vector is returned which contains the child element types and
child element names. The even indices are the element types (Types) and
the odd indices are the corresponding names (Strings).
If the specified node is not a supported JAX-RPC complexType/element
null is returned.
getEnumerationBaseAndValues
public static java.util.Vector getEnumerationBaseAndValues(org.w3c.dom.Node node,
SymbolTable symbolTable)
- If the specified node represents a supported JAX-RPC enumeration,
a Vector is returned which contains the base type and the enumeration values.
The first element in the vector is the base type (an Type).
Subsequent elements are values (Strings).
If this is not an enumeration, null is returned.
getArrayElementQName
public static javax.wsdl.QName getArrayElementQName(org.w3c.dom.Node node)
- If the specified node represents an array encoding of one of the following
forms, then return the qname repesenting the element type of the array.
Copyright © 2001 Apache XML Project. All Rights Reserved.