|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sun.star.uno
Interface ITypeDescription
- public interface ITypeDescription
The ITypeDescription
allows to examine a type
in detail (e.g. it is used for marshaling/unmarshaling).
- Since:
- UDK3.0
Method Summary | |
java.lang.String |
getArrayTypeName()
Gets the array type name. |
ITypeDescription |
getComponentType()
Gets the component ITypeDescription if
this is an array type, otherwise returns null . |
IFieldDescription |
getFieldDescription(java.lang.String name)
Gets the IFieldDescription for the
field with the name name , if it exists,
otherwise returns null . |
IFieldDescription[] |
getFieldDescriptions()
Gets the IFieldDescription for every
field, if this type is an interface. |
IMethodDescription |
getMethodDescription(int methodId)
Gets the IMethodDescription for the
method with index methodId, if it exists, otherwise
returns null . |
IMethodDescription |
getMethodDescription(java.lang.String name)
Gets the IMethodDescription for the
method with the name name , if it exists,
otherwise returns null . |
IMethodDescription[] |
getMethodDescriptions()
Gets the IMethodDescription for every
method, if this type is an interface. |
ITypeDescription |
getSuperType()
Gets the ITypeDescription of the
super, if it exists. |
TypeClass |
getTypeClass()
Gets the IDL TypeClass of the type. |
java.lang.String |
getTypeName()
Gets the type name. |
java.lang.Class |
getZClass()
Gets the corresponding java class for the type. |
Method Detail |
getSuperType
public ITypeDescription getSuperType()
- Gets the
ITypeDescription
of the super, if it exists.- Returns:
- the
ITypeDescription
.
getMethodDescriptions
public IMethodDescription[] getMethodDescriptions()
- Gets the
IMethodDescription
for every method, if this type is an interface. Otherwise returnsnull
.- Returns:
- the
IMethodDescription[]
.
getMethodDescription
public IMethodDescription getMethodDescription(int methodId)
- Gets the
IMethodDescription
for the method with index methodId, if it exists, otherwise returnsnull
.- Returns:
- the
IMethodDescription
.
getMethodDescription
public IMethodDescription getMethodDescription(java.lang.String name)
- Gets the
IMethodDescription
for the method with the namename
, if it exists, otherwise returnsnull
.- Returns:
- the
IMethodDescription
.
getFieldDescriptions
public IFieldDescription[] getFieldDescriptions()
- Gets the
IFieldDescription
for every field, if this type is an interface. Otherwise returnsnull
.- Returns:
- the
IFieldDescription[]
.
getFieldDescription
public IFieldDescription getFieldDescription(java.lang.String name)
- Gets the
IFieldDescription
for the field with the namename
, if it exists, otherwise returnsnull
.- Returns:
- the
IFieldDescription
.
getTypeClass
public TypeClass getTypeClass()
- Gets the IDL
TypeClass
of the type.- Returns:
- the
TypeClass
.
getComponentType
public ITypeDescription getComponentType()
- Gets the component
ITypeDescription
if this is an array type, otherwise returnsnull
.- Returns:
- the
ITypeDescription
getTypeName
public java.lang.String getTypeName()
- Gets the type name.
- Returns:
- the type name.
getArrayTypeName
public java.lang.String getArrayTypeName()
- Gets the array type name.
- Returns:
- the array type name.
getZClass
public java.lang.Class getZClass()
- Gets the corresponding java class for the type.
- Returns:
- the corresponding java class.
|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |