Class InternalUnoType
- java.lang.Object
-
- org.libreoffice.ide.eclipse.core.unotypebrowser.InternalUnoType
-
public class InternalUnoType extends java.lang.ObjectClass describing a UNO-Type. Only used with theUnoTypeProvider. A UNO type is described by its name, a boolean field defining if it's a local type and a path containing the fully qualified name of the type container.
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_TYPESstatic InternalUnoTypeANYstatic InternalUnoTypeBOOLEANstatic InternalUnoTypeBYTEstatic InternalUnoTypeCHARstatic InternalUnoTypeDOUBLEstatic InternalUnoTypeFLOATstatic InternalUnoTypeHYPERstatic InternalUnoTypeLONGstatic InternalUnoTypeSHORTstatic InternalUnoTypeSTRINGstatic InternalUnoTypeTYPEstatic InternalUnoTypeUHYPERstatic InternalUnoTypeULONGstatic InternalUnoTypeUSHORTstatic InternalUnoTypeVOID
-
Constructor Summary
Constructors Constructor Description InternalUnoType(java.lang.String pTypeString)Constructor.InternalUnoType(java.lang.String pCompleteName, int pType, boolean pIsLocal)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFullName()java.lang.StringgetName()intgetType()Returns the type of the type, ieIUnoFactoryConstants.INTERFACEforcom.sun.star.uno.XInterface.booleanisLocalType()java.lang.StringtoString()
-
-
-
Field Detail
-
STRING
public static final InternalUnoType STRING
-
VOID
public static final InternalUnoType VOID
-
BOOLEAN
public static final InternalUnoType BOOLEAN
-
BYTE
public static final InternalUnoType BYTE
-
SHORT
public static final InternalUnoType SHORT
-
LONG
public static final InternalUnoType LONG
-
HYPER
public static final InternalUnoType HYPER
-
FLOAT
public static final InternalUnoType FLOAT
-
DOUBLE
public static final InternalUnoType DOUBLE
-
CHAR
public static final InternalUnoType CHAR
-
TYPE
public static final InternalUnoType TYPE
-
ANY
public static final InternalUnoType ANY
-
USHORT
public static final InternalUnoType USHORT
-
ULONG
public static final InternalUnoType ULONG
-
UHYPER
public static final InternalUnoType UHYPER
-
ALL_TYPES
public static final int ALL_TYPES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InternalUnoType
public InternalUnoType(java.lang.String pTypeString)
Constructor.- Parameters:
pTypeString- the string representing the type.
-
InternalUnoType
public InternalUnoType(java.lang.String pCompleteName, int pType, boolean pIsLocal)Constructor.- Parameters:
pCompleteName- the type complete name separated with "."pType- the UNO type's typepIsLocal-trueif the type is defined in the project,falseif it's defined in an externaltypes.rdb.
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- the type name, ie
XInterfaceforcom.sun.star.uno.XInterface.
-
getFullName
public java.lang.String getFullName()
- Returns:
- the type complete name, i.e.
com.sun.star.uno.XInterfaceforcom.sun.star.uno.XInterface.
-
getType
public int getType()
Returns the type of the type, ieIUnoFactoryConstants.INTERFACEforcom.sun.star.uno.XInterface.- Returns:
- one of the types defined in
UnoTypeProvider
-
isLocalType
public boolean isLocalType()
- Returns:
- whether the type is defined in an external project or not.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-