|
|||||||||||
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 QName |
getArrayComponentQName(org.w3c.dom.Node node,
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 QName |
getAttributeAnonQName(org.w3c.dom.Node node)
Returns the WSDL2Java QName for the anonymous type of the attribute or null. |
static QName |
getCollectionComponentQName(org.w3c.dom.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(org.w3c.dom.Node node,
SymbolTable symbolTable)
If the specified node represents a supported JAX-RPC complexType/element which extends another complexType. |
static java.util.Vector |
getContainedAttributeTypes(org.w3c.dom.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 java.util.Vector |
getContainedElementDeclarations(org.w3c.dom.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 QName |
getElementAnonQName(org.w3c.dom.Node node)
Returns the WSDL2Java QName for the anonymous type of the element or null. |
static org.w3c.dom.Node |
getRestrictionOrExtensionNode(org.w3c.dom.Node node)
Returns the contained restriction or extension node underneath the specified node. |
static QName |
getSimpleTypeBase(org.w3c.dom.Node node)
If the specified node represents a 'normal' non-enumeration simpleType, the QName of the simpleType base is returned. |
static boolean |
isSimpleSchemaType(QName qname)
Determine if a QName is a simple XML Schema type |
static boolean |
isSimpleTypeOrSimpleContent(org.w3c.dom.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 java.util.Vector getContainedElementDeclarations(org.w3c.dom.Node node, SymbolTable symbolTable)
public static QName getElementAnonQName(org.w3c.dom.Node node)
public static QName getAttributeAnonQName(org.w3c.dom.Node node)
public static boolean isSimpleTypeOrSimpleContent(org.w3c.dom.Node node)
public static TypeEntry getComplexElementExtensionBase(org.w3c.dom.Node node, SymbolTable symbolTable)
public static QName getSimpleTypeBase(org.w3c.dom.Node node)
public static org.w3c.dom.Node getRestrictionOrExtensionNode(org.w3c.dom.Node node)
public static QName getArrayComponentQName(org.w3c.dom.Node node, IntHolder dims)
node
- is the nodedims
- is the output value that contains the number of dimensions if return is not null
public static QName getCollectionComponentQName(org.w3c.dom.Node node)
node
- is the Node
public static java.util.Vector getContainedAttributeTypes(org.w3c.dom.Node node, SymbolTable symbolTable)
public static boolean isSimpleSchemaType(QName qname)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |