public class IDLNameTranslatorImpl extends Object implements IDLNameTranslator
Modifier and Type | Method and Description |
---|---|
static String |
charToUnicodeRepresentation(char c)
Returns Unicode mangling as defined in Section 1.3.2.4 of
Java2IDL spec.
|
static IDLNameTranslator |
get(Class interf)
Return an IDLNameTranslator for the given interface.
|
static IDLNameTranslator |
get(Class[] interfaces)
Return an IDLNameTranslator for the given interfacex.
|
static String |
getExceptionId(Class cls) |
String |
getIDLName(Method method)
Get the mangled name that corresponds to the given method
on this IDLNameTranslator's interface.
|
Class[] |
getInterfaces()
Get the interfaces that this IDLNameTranslator describes.
|
Method |
getMethod(String idlName)
Get the method from this IDLNameTranslator's interfaces that
corresponds to the mangled name idlName.
|
Method[] |
getMethods()
Get all methods for this remote interface.
|
String |
toString() |
public static IDLNameTranslator get(Class interf)
IllegalStateException
- if given class is not a valid
RMI/IIOP Remote Interfacepublic static IDLNameTranslator get(Class[] interfaces)
IllegalStateException
- if given classes are not valid
RMI/IIOP Remote Interfacespublic Class[] getInterfaces()
IDLNameTranslator
getInterfaces
in interface IDLNameTranslator
public Method[] getMethods()
IDLNameTranslator
getMethods
in interface IDLNameTranslator
public Method getMethod(String idlName)
IDLNameTranslator
getMethod
in interface IDLNameTranslator
public String getIDLName(Method method)
IDLNameTranslator
getIDLName
in interface IDLNameTranslator
public static String charToUnicodeRepresentation(char c)
Copyright © 2017 JBoss by Red Hat. All rights reserved.