org.apache.axis.wsdl.symbolTable

Class SymTabEntry

public abstract class SymTabEntry extends Object

SymTabEntry is the base class for all symbol table entries. It contains four things: - a QName - space for a Writer-specific name (for example, in Wsdl2java, this will be the Java name) - isReferenced flag indicating whether this entry is referenced by other entries - dynamicVars; a mechanism for Writers to add additional context information onto entries.
Field Summary
protected Stringname
Field name
protected QNameqname
Field qname
Constructor Summary
protected SymTabEntry(QName qname)
Construct a symbol table entry with the given QName.
Method Summary
ObjectgetDynamicVar(Object key)
There may be information that does not exist in WSDL4J/DOM structures and does not exist in our additional structures, but that Writer implementation will need.
StringgetName()
Get the name of this entry.
QNamegetQName()
Get the QName of this entry.
booleanisReferenced()
Is this entry referenced by any other entry in the symbol table?
voidsetDynamicVar(Object key, Object value)
Method setDynamicVar
voidsetIsReferenced(boolean isReferenced)
Set the isReferenced variable, default value is true.
voidsetName(String name)
Set the name of this entry.
StringtoString()
Collate the info in this object in string form.
protected StringtoString(String indent)
Collate the info in this object in string form with indentation.

Field Detail

name

protected String name
Field name

qname

protected QName qname
Field qname

Constructor Detail

SymTabEntry

protected SymTabEntry(QName qname)
Construct a symbol table entry with the given QName.

Parameters: qname

Method Detail

getDynamicVar

public Object getDynamicVar(Object key)
There may be information that does not exist in WSDL4J/DOM structures and does not exist in our additional structures, but that Writer implementation will need. This information is most likely context-relative, so the DynamicVar map is provided for the Writers to store and retrieve their particular information.

Parameters: key

Returns:

getName

public String getName()
Get the name of this entry. The name is Writer-implementation-dependent. For example, in Wsdl2java, this will become the Java name.

Returns:

getQName

public final QName getQName()
Get the QName of this entry.

Returns:

isReferenced

public final boolean isReferenced()
Is this entry referenced by any other entry in the symbol table?

Returns:

setDynamicVar

public void setDynamicVar(Object key, Object value)
Method setDynamicVar

Parameters: key value

setIsReferenced

public final void setIsReferenced(boolean isReferenced)
Set the isReferenced variable, default value is true.

Parameters: isReferenced

setName

public void setName(String name)
Set the name of this entry. This method is not called by the framework, it is only called by the Writer implementation.

Parameters: name

toString

public String toString()
Collate the info in this object in string form.

Returns:

toString

protected String toString(String indent)
Collate the info in this object in string form with indentation.

Parameters: indent

Returns:

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.