|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.inria.ns.reflex.processor.asl.types.xs.ShortType
public class ShortType
The #xs:short type.
| Constructor Summary | |
|---|---|
ShortType()
|
|
| Method Summary | |
|---|---|
TypedData |
cast(Object o,
XPathContext context)
Cast an object to an xs:short. |
Comparator |
getComparator()
Return a comparator that compares numbers. |
Schema |
getOwnerSchema()
Return the schema that owns this type definition. |
QName |
getParentType()
Return #xs:int. |
QName |
getTypeName()
Return #xs:short. |
TypedData |
parse(String numberString,
XPathContext context)
Parses a string to a short. |
TypedData |
parse(TextCandidate number,
XPathContext context)
Parses a string to a short. |
TypedData |
parse(TypedData data,
XPathContext context)
Parses the remainder of a typed data to a short. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShortType()
| Method Detail |
|---|
public TypedData parse(TextCandidate number,
XPathContext context)
throws TypeFormatException
parse in interface Typenumber - The number to parse.context - Not used.
TypeFormatException - When the input string can't be a short.NumericData
public TypedData parse(TypedData data,
XPathContext context)
throws TypeFormatException
data - The data that has a remainder to parse.context - Not used.
TypeFormatException - When the input string can't be a short.NumericData
public TypedData parse(String numberString,
XPathContext context)
throws TypeFormatException
numberString - The number to parse.context - Not used.
TypeFormatException - When the input string can't be a short.NumericData
public TypedData cast(Object o,
XPathContext context)
throws TypeFormatException
cast in interface Typeo - The object to cast.context - Not used.
TypeFormatException - When the input object can't be a short.NumericDatapublic QName getTypeName()
getTypeName in interface NamedTypepublic QName getParentType()
getParentType in interface TypeIntTypepublic Schema getOwnerSchema()
getOwnerSchema in interface TypeType.getOwnerSchema()public Comparator getComparator()
getComparator in interface Typenull comparator
that may comparate datas of this type.Type.getComparator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||