|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.wsdl.symbolTable.Utils | +--org.apache.axis.wsdl.toJava.Utils
Constructor Summary | |
Utils()
|
Method Summary | |
static java.lang.String |
addPackageName(java.lang.String className,
java.lang.String newPkg)
Add package to name |
static java.lang.String |
capitalizeFirstChar(java.lang.String name)
Capitalize the first character of the name. |
static boolean |
fileExists(java.lang.String name,
java.lang.String namespace,
Namespaces namespaces)
Does the given file already exist in the given namespace? |
static java.util.Vector |
getEnumerationBaseAndValues(org.w3c.dom.Node node,
SymbolTable symbolTable)
If the specified node represents a supported JAX-RPC enumeration, a Vector is returned which contains the base type and the enumeration values. |
static java.lang.String |
getFullExceptionName(javax.wsdl.Fault fault,
Emitter emitter)
Given a fault, return the fully qualified Java class name of the exception to be generated from this fault |
static java.lang.String |
getJavaLocalName(java.lang.String fullName)
Query Java Local Name |
static java.lang.String |
getJavaPackageName(java.lang.String fullName)
Query Java Package Name |
static java.lang.String |
getNewQName(QName qname)
Common code for generating a QName in emitted code. |
static QName |
getOperationQName(javax.wsdl.BindingOperation bindingOper)
Return the operation QName. |
static java.lang.String |
getResponseString(TypeEntry type,
java.lang.String var)
Return the Object variable 'var' cast to the appropriate type doing the right thing for the primitive types. |
static java.lang.String |
holder(TypeEntry type,
Emitter emitter)
Given a type, return the Java mapping of that type's holder. |
static boolean |
isPrimitiveType(TypeEntry type)
|
static java.lang.String |
makePackageName(java.lang.String namespace)
|
static java.lang.String |
wrapPrimitiveType(TypeEntry type,
java.lang.String var)
Return a string with "var" wrapped as an Object type if needed |
static java.lang.String |
xmlNameToJava(java.lang.String name)
Map an XML name to a valid Java identifier |
static java.lang.String |
xmlNameToJavaClass(java.lang.String name)
Map an XML name to a valid Java identifier w/ capitolized first letter |
Methods inherited from class org.apache.axis.wsdl.symbolTable.Utils |
genQNameAttributeString, getAttribute, getAttributesWithLocalName, getDerivedTypes, getNestedTypes, getNillableQName, getNodeNameQName, getNodeQName, getNodeTypeRefQName, getNodeTypeRefQName, getQNameFromPrefixedName, getScopedAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Utils()
Method Detail |
public static java.lang.String holder(TypeEntry type, Emitter emitter)
public static java.lang.String addPackageName(java.lang.String className, java.lang.String newPkg)
String
- full name of the class.String
- name of the package to appendpublic static java.lang.String getFullExceptionName(javax.wsdl.Fault fault, Emitter emitter)
fault
- - The WSDL fault objectsymbolTable
- - the symbol tablepublic static java.util.Vector getEnumerationBaseAndValues(org.w3c.dom.Node node, SymbolTable symbolTable)
public static java.lang.String capitalizeFirstChar(java.lang.String name)
public static java.lang.String xmlNameToJava(java.lang.String name)
public static java.lang.String xmlNameToJavaClass(java.lang.String name)
public static java.lang.String makePackageName(java.lang.String namespace)
public static java.lang.String getJavaLocalName(java.lang.String fullName)
public static java.lang.String getJavaPackageName(java.lang.String fullName)
public static boolean fileExists(java.lang.String name, java.lang.String namespace, Namespaces namespaces) throws java.io.IOException
public static java.lang.String wrapPrimitiveType(TypeEntry type, java.lang.String var)
public static java.lang.String getResponseString(TypeEntry type, java.lang.String var)
public static boolean isPrimitiveType(TypeEntry type)
public static QName getOperationQName(javax.wsdl.BindingOperation bindingOper)
operation
- the operationpublic static java.lang.String getNewQName(QName qname)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |