|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.wsdl.symbolTable.SchemaUtils
This class contains static utility methods specifically for schema type queries.
Constructor Summary | |
SchemaUtils()
|
Method Summary | |
static javax.xml.namespace.QName |
getArrayComponentQName(Node node,
javax.xml.rpc.holders.IntHolder dims)
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 javax.xml.namespace.QName |
getAttributeAnonQName(Node node)
Returns the WSDL2Java QName for the anonymous type of the attribute or null. |
static javax.xml.namespace.QName |
getCollectionComponentQName(Node node)
If the specified node represents an element that references a collection then return the qname repesenting the component of the collection. |
static TypeEntry |
getComplexElementExtensionBase(Node node,
SymbolTable symbolTable)
If the specified node represents a supported JAX-RPC complexType/element which extends another complexType. |
static Vector |
getContainedAttributeTypes(Node node,
SymbolTable symbolTable)
Return the attribute names and types if any in the node The even indices are the element types (TypeEntry) and the odd indices are the corresponding names (Strings). |
static Vector |
getContainedElementDeclarations(Node node,
SymbolTable symbolTable)
If the specified node represents a supported JAX-RPC complexType or simpleType, a Vector is returned which contains ElementDecls for the child element names. |
static javax.xml.namespace.QName |
getElementAnonQName(Node node)
Returns the WSDL2Java QName for the anonymous type of the element or null. |
static Node |
getRestrictionOrExtensionNode(Node node)
Returns the contained restriction or extension node underneath the specified node. |
static javax.xml.namespace.QName |
getSimpleTypeBase(Node node)
If the specified node represents a 'normal' non-enumeration simpleType, the QName of the simpleType base is returned. |
static boolean |
isSimpleSchemaType(javax.xml.namespace.QName qname)
Determine if a QName is a simple XML Schema type |
static boolean |
isSimpleTypeOrSimpleContent(Node node)
If the specified node is a simple type or contains simpleContent, return true |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SchemaUtils()
Method Detail |
public static Vector getContainedElementDeclarations(Node node, SymbolTable symbolTable)
public static javax.xml.namespace.QName getElementAnonQName(Node node)
public static javax.xml.namespace.QName getAttributeAnonQName(Node node)
public static boolean isSimpleTypeOrSimpleContent(Node node)
public static TypeEntry getComplexElementExtensionBase(Node node, SymbolTable symbolTable)
public static javax.xml.namespace.QName getSimpleTypeBase(Node node)
public static Node getRestrictionOrExtensionNode(Node node)
public static javax.xml.namespace.QName getArrayComponentQName(Node node, javax.xml.rpc.holders.IntHolder dims)
node
- is the nodedims
- is the output value that contains the number of dimensions if return is not null
public static javax.xml.namespace.QName getCollectionComponentQName(Node node)
node
- is the Node
public static Vector getContainedAttributeTypes(Node node, SymbolTable symbolTable)
public static boolean isSimpleSchemaType(javax.xml.namespace.QName qname)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |