org.apache.axis.wsdl
Class SymTabEntry

java.lang.Object
  |
  +--org.apache.axis.wsdl.SymTabEntry
Direct Known Subclasses:
BindingEntry, MessageEntry, PortTypeEntry, ServiceEntry, Type

public abstract class SymTabEntry
extends java.lang.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  java.lang.String name
           
protected  javax.wsdl.QName qname
           
 
Constructor Summary
protected SymTabEntry(javax.wsdl.QName qname)
           
protected SymTabEntry(javax.wsdl.QName qname, java.lang.String name)
           
 
Method Summary
 java.lang.Object getDynamicVar(java.lang.Object key)
          There may be information that does not exist in WSDL4J/DOM structures and does not exist in our additional structures, but that thw Writer implementation will need.
 java.lang.String getName()
          Get the name of this entry.
 javax.wsdl.QName getQName()
          Get the QName of this entry.
 boolean isReferenced()
          Is this entry referenced by any other entry in the symbol table?
 void setDynamicVar(java.lang.Object key, java.lang.Object value)
           
 void setIsReferenced(boolean isReferenced)
          Set the isReferenced variable, default value is true.
 void setName(java.lang.String name)
          Set the name of this entry.
 java.lang.String toString()
          Collate the info in this object in string form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

qname

protected javax.wsdl.QName qname

name

protected java.lang.String name
Constructor Detail

SymTabEntry

protected SymTabEntry(javax.wsdl.QName qname)

SymTabEntry

protected SymTabEntry(javax.wsdl.QName qname,
                      java.lang.String name)
Method Detail

getQName

public javax.wsdl.QName getQName()
Get the QName of this entry.

getName

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

setName

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

isReferenced

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

setIsReferenced

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

getDynamicVar

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

setDynamicVar

public void setDynamicVar(java.lang.Object key,
                          java.lang.Object value)

toString

public java.lang.String toString()
Collate the info in this object in string form.
Overrides:
toString in class java.lang.Object


Copyright © 2001 Apache XML Project. All Rights Reserved.