org.apache.axis.wsdl.symbolTable
public abstract class TypeEntry extends SymTabEntry implements Serializable
Field Summary | |
---|---|
protected QName | componentType |
protected Vector | containedAttributes contained attributes in the schema's type definition |
protected Vector | containedElements contained elements in the schema's type definition |
protected String | dims Field dims |
protected boolean | isBaseType Field isBaseType |
protected boolean | isSimpleType Field isSimpleType |
protected QName | itemQName If this TypeEntry represents an array with elements inside a "wrapper"
this field can optionally change the inner QName (default is |
protected Node | node Field node |
protected boolean | onlyLiteralReference Field onlyLiteralReference |
protected TypeEntry | refType Field refType |
protected HashSet | types Field types |
protected boolean | undefined Field undefined |
protected boolean | underlTypeNillable |
Constructor Summary | |
---|---|
protected | TypeEntry(QName pqName, TypeEntry refType, Node pNode, String dims)
Create a TypeEntry object for an xml construct that references another type.
|
protected | TypeEntry(QName pqName, Node pNode)
Create a TypeEntry object for an xml construct that is not a base type
|
protected | TypeEntry(QName pqName)
Create a TypeEntry object for an xml construct name that represents a base type
|
Method Summary | |
---|---|
String | getBaseType()
Returns the Base Type Name.
|
QName | getComponentType()
Return the QName of the component if this is an array type |
Vector | getContainedAttributes() |
Vector | getContainedElements() |
String | getDimensions()
Return the dimensions of this type, which can be 0 or more "[]".
|
QName | getItemQName() |
HashSet | getNestedTypes(SymbolTable symbolTable, boolean derivedFlag)
This method returns a set of all the nested types.
|
Node | getNode()
Query the node for this type.
|
TypeEntry | getRefType()
If this type references another type, return that type, otherwise return null.
|
protected TypeEntry | getUndefinedTypeRef()
getUndefinedTypeRef returns the Undefined TypeEntry that this entry depends on or NULL.
|
boolean | getUnderlTypeNillable()
Return whether the underlying type is nillable if this is an array type. |
boolean | isBaseType()
Method isBaseType
|
boolean | isOnlyLiteralReferenced()
Is this type references ONLY as a literal type? |
boolean | isSimpleType()
Method isSimpleType
|
void | setBaseType(boolean baseType)
Method setBaseType
|
void | setComponentType(QName componentType)
Set the QName of the component if this is an array type |
void | setContainedAttributes(Vector containedAttributes) |
void | setContainedElements(Vector containedElements) |
void | setItemQName(QName itemQName) |
void | setOnlyLiteralReference(boolean set)
Set the isOnlyLiteralReference flag.
|
void | setRefType(TypeEntry refType)
Method setRefType
|
void | setSimpleType(boolean simpleType)
Method setSimpleType
|
void | setUnderlTypeNillable(boolean underlTypeNillable)
Set the boolean indicating whether underlying type of array is nillable. |
String | toString()
Get string representation.
|
protected String | toString(String indent)
Get string representation with indentation
|
protected boolean | updateUndefined(TypeEntry oldRef, TypeEntry newRef)
UpdateUndefined is called when the ref TypeEntry is finally known.
|
Parameters: pqName refType pNode dims
Parameters: pqName pNode
Parameters: pqName
Returns:
Returns: QName of array elements or null
Returns: Returns the containedAttributes.
Returns: Returns the containedElements.
Returns:
Parameters: symbolTable is the symbolTable derivedFlag should be set if all dependendent derived types should also be returned.
Returns:
Returns:
Returns:
Returns:
Returns: true if it is an array and nillable
Returns:
Returns:
Returns:
Parameters: baseType
Parameters: containedAttributes The containedAttributes to set.
Parameters: containedElements The containedElements to set.
Parameters: set
Parameters: refType
Parameters: simpleType
Returns:
Parameters: indent
Returns:
Parameters: oldRef The TypeEntry representing the Undefined TypeEntry newRef The replacement TypeEntry
Returns: true if TypeEntry is changed in any way.
Throws: IOException