| java.lang.Object gnu.bytecode.Type gnu.bytecode.ObjectType gnu.kawa.reflect.OccurrenceType
All known Subclasses: gnu.kawa.xml.NodeSetType,
emptySequenceType | final public static Type emptySequenceType(Code) | | |
OccurrenceType | public OccurrenceType(Type base, int minOccurs, int maxOccurs)(Code) | | |
getImplementationType | public Type getImplementationType()(Code) | | |
getInstance | public static Type getInstance(Type base, int minOccurs, int maxOccurs)(Code) | | |
itemCountCode | public static char itemCountCode(Type type)(Code) | | Returna a quantifer kind for a sequence type.
'0' if type is known to be a void (0-item) type;'1' if type is known to be a single-item type;'?' if type matches a sequence of 0 or 1 items;'+' if type matches a sequence of 1 or more items;'*' otherwise. |
itemCountIsOne | public static boolean itemCountIsOne(Type type)(Code) | | |
itemCountIsZeroOrOne | public static boolean itemCountIsZeroOrOne(Type type)(Code) | | |
itemCountRange | public static int itemCountRange(Type type)(Code) | | Return a conservative estimage on the min/max number of items of a type.
maxCount << 12 | minCount & 0xFFF ,where a maxCount of -1 means unbounded. |
itemPrimeType | public static Type itemPrimeType(Type type)(Code) | | QUery formal semantics "prime type"
|
maxOccurs | public int maxOccurs()(Code) | | |
minOccurs | public int minOccurs()(Code) | | |
|
|