Methods Summary |
---|
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 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.
return dynamicVars.get(key);
|
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.
return name;
|
public final javax.xml.namespace.QName | getQName()Get the QName of this entry.
return qname;
|
public final boolean | isReferenced()Is this entry referenced by any other entry in the symbol table?
return isReferenced;
|
public void | setDynamicVar(java.lang.Object key, java.lang.Object value)Method setDynamicVar
dynamicVars.put(key, value);
|
public final void | setIsReferenced(boolean isReferenced)Set the isReferenced variable, default value is true.
this.isReferenced = isReferenced;
|
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.
this.name = name;
|
protected java.lang.String | toString(java.lang.String indent)Collate the info in this object in string form with indentation.
String string = indent + "QName: " + qname + '\n" + indent
+ "name: " + name + '\n" + indent
+ "isReferenced? " + isReferenced + '\n";
String prefix = indent + "dynamicVars: ";
Iterator entries = dynamicVars.entrySet().iterator();
while (entries.hasNext()) {
Map.Entry entry = (Map.Entry) entries.next();
Object key = entry.getKey();
string += prefix + key + " = " + entry.getValue() + '\n";
prefix = indent + " ";
}
return string;
|
public java.lang.String | toString()Collate the info in this object in string form.
return toString("");
|