Java Doc for XDataType.java in  » Scripting » Kawa » gnu » kawa » xml » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » Kawa » gnu.kawa.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   gnu.bytecode.Type
      gnu.kawa.xml.XDataType

All known Subclasses:   gnu.kawa.xml.XIntegerType,  gnu.kawa.xml.XStringType,  gnu.kawa.xml.XTimeType,
XDataType
public class XDataType extends Type implements TypeValue(Code)
An atomic type as used in XML Schema and related languages. For example the {code xs:decimal} type is XDataType.decimalType .


Field Summary
final public static  intANY_ATOMIC_TYPE_CODE
    
final public static  intANY_URI_TYPE_CODE
    
final public static  intBASE64_BINARY_TYPE_CODE
    
final public static  intBOOLEAN_TYPE_CODE
    
final public static  intBYTE_TYPE_CODE
    
final public static  intDATE_TIME_TYPE_CODE
    
final public static  intDATE_TYPE_CODE
    
final public static  intDAY_TIME_DURATION_TYPE_CODE
    
final public static  BigDecimalDECIMAL_ONE
    
final public static  intDECIMAL_TYPE_CODE
    
final public static  DoubleDOUBLE_ONE
    
final public static  intDOUBLE_TYPE_CODE
    
final public static  DoubleDOUBLE_ZERO
    
final public static  intDURATION_TYPE_CODE
    
final public static  intENTITY_TYPE_CODE
    
final public static  FloatFLOAT_ONE
    
final public static  intFLOAT_TYPE_CODE
    
final public static  FloatFLOAT_ZERO
    
final public static  intG_DAY_TYPE_CODE
    
final public static  intG_MONTH_DAY_TYPE_CODE
    
final public static  intG_MONTH_TYPE_CODE
    
final public static  intG_YEAR_MONTH_TYPE_CODE
    
final public static  intG_YEAR_TYPE_CODE
    
final public static  intHEX_BINARY_TYPE_CODE
    
final public static  intIDREF_TYPE_CODE
    
final public static  intID_TYPE_CODE
    
final public static  intINTEGER_TYPE_CODE
    
final public static  intINT_TYPE_CODE
    
final public static  intLANGUAGE_TYPE_CODE
    
final public static  intLONG_TYPE_CODE
    
final public static  intNAME_TYPE_CODE
    
final public static  intNCNAME_TYPE_CODE
    
final public static  intNEGATIVE_INTEGER_TYPE_CODE
    
final public static  intNMTOKEN_TYPE_CODE
    
final public static  intNONNEGATIVE_INTEGER_TYPE_CODE
    
final public static  intNON_POSITIVE_INTEGER_TYPE_CODE
    
final public static  intNORMALIZED_STRING_TYPE_CODE
    
final public static  intNOTATION_TYPE_CODE
    
final public static  XDataTypeNotationType
    
final public static  intPOSITIVE_INTEGER_TYPE_CODE
    
final public static  intQNAME_TYPE_CODE
    
final public static  intSHORT_TYPE_CODE
    
final public static  intSTRING_TYPE_CODE
    
final public static  intTIME_TYPE_CODE
    
final public static  intTOKEN_TYPE_CODE
    
final public static  intUNSIGNED_BYTE_TYPE_CODE
    
final public static  intUNSIGNED_INT_TYPE_CODE
    
final public static  intUNSIGNED_LONG_TYPE_CODE
    
final public static  intUNSIGNED_SHORT_TYPE_CODE
    
final public static  intUNTYPED_ATOMIC_TYPE_CODE
    
final public static  intYEAR_MONTH_DURATION_TYPE_CODE
    
final public static  XDataTypeanyAtomicType
    
final public static  XDataTypeanyURIType
    
final public static  XDataTypebase64BinaryType
    
 XDataTypebaseType
     The "parent" type.
final public static  XDataTypebooleanType
    
final public static  XDataTypedayTimeDurationType
    
final public static  XDataTypedecimalType
    
final public static  XDataTypedoubleType
    
final public static  XDataTypedurationType
    
final public static  XDataTypefloatType
    
final public static  XDataTypehexBinaryType
    
 TypeimplementationType
    
 Objectname
    
final public static  XDataTypestringStringType
     A value implemented as java.lang.String.
final public static  XDataTypestringType
    
 inttypeCode
     One of the XXXX_TYPE_CODE constants.
final public static  XDataTypeuntypedAtomicType
    
final public static  XDataTypeyearMonthDurationType
    

Constructor Summary
public  XDataType(Object name, Type implementationType, int typeCode)
    

Method Summary
public  Objectcast(Object value)
    
 DurationcastToDuration(Object value, Unit unit)
    
public  booleancastable(Object value)
    
public  ObjectcoerceFromObject(Object obj)
    
public  intcompare(Type other)
    
public  voidemitCoerceFromObject(CodeAttr code)
    
public  voidemitCoerceToObject(CodeAttr code)
    
public  voidemitIsInstance(Variable incoming, Compilation comp, Target target)
    
public  voidemitTestIf(Variable incoming, Declaration decl, Compilation comp)
    
public  ProceduregetConstructor()
    
public  TypegetImplementationType()
    
public  java.lang.ClassgetReflectClass()
    
public  booleanisInstance(Object obj)
    
public static  DoublemakeDouble(double value)
    
public static  FloatmakeFloat(float value)
    
public  voidprint(Object value, Consumer out)
    
public  StringtoString(Object value)
    
public  ObjectvalueOf(String value)
    

Field Detail
ANY_ATOMIC_TYPE_CODE
final public static int ANY_ATOMIC_TYPE_CODE(Code)



ANY_URI_TYPE_CODE
final public static int ANY_URI_TYPE_CODE(Code)



BASE64_BINARY_TYPE_CODE
final public static int BASE64_BINARY_TYPE_CODE(Code)



BOOLEAN_TYPE_CODE
final public static int BOOLEAN_TYPE_CODE(Code)



BYTE_TYPE_CODE
final public static int BYTE_TYPE_CODE(Code)



DATE_TIME_TYPE_CODE
final public static int DATE_TIME_TYPE_CODE(Code)



DATE_TYPE_CODE
final public static int DATE_TYPE_CODE(Code)



DAY_TIME_DURATION_TYPE_CODE
final public static int DAY_TIME_DURATION_TYPE_CODE(Code)



DECIMAL_ONE
final public static BigDecimal DECIMAL_ONE(Code)



DECIMAL_TYPE_CODE
final public static int DECIMAL_TYPE_CODE(Code)



DOUBLE_ONE
final public static Double DOUBLE_ONE(Code)



DOUBLE_TYPE_CODE
final public static int DOUBLE_TYPE_CODE(Code)



DOUBLE_ZERO
final public static Double DOUBLE_ZERO(Code)



DURATION_TYPE_CODE
final public static int DURATION_TYPE_CODE(Code)



ENTITY_TYPE_CODE
final public static int ENTITY_TYPE_CODE(Code)



FLOAT_ONE
final public static Float FLOAT_ONE(Code)



FLOAT_TYPE_CODE
final public static int FLOAT_TYPE_CODE(Code)



FLOAT_ZERO
final public static Float FLOAT_ZERO(Code)



G_DAY_TYPE_CODE
final public static int G_DAY_TYPE_CODE(Code)



G_MONTH_DAY_TYPE_CODE
final public static int G_MONTH_DAY_TYPE_CODE(Code)



G_MONTH_TYPE_CODE
final public static int G_MONTH_TYPE_CODE(Code)



G_YEAR_MONTH_TYPE_CODE
final public static int G_YEAR_MONTH_TYPE_CODE(Code)



G_YEAR_TYPE_CODE
final public static int G_YEAR_TYPE_CODE(Code)



HEX_BINARY_TYPE_CODE
final public static int HEX_BINARY_TYPE_CODE(Code)



IDREF_TYPE_CODE
final public static int IDREF_TYPE_CODE(Code)



ID_TYPE_CODE
final public static int ID_TYPE_CODE(Code)



INTEGER_TYPE_CODE
final public static int INTEGER_TYPE_CODE(Code)



INT_TYPE_CODE
final public static int INT_TYPE_CODE(Code)



LANGUAGE_TYPE_CODE
final public static int LANGUAGE_TYPE_CODE(Code)



LONG_TYPE_CODE
final public static int LONG_TYPE_CODE(Code)



NAME_TYPE_CODE
final public static int NAME_TYPE_CODE(Code)



NCNAME_TYPE_CODE
final public static int NCNAME_TYPE_CODE(Code)



NEGATIVE_INTEGER_TYPE_CODE
final public static int NEGATIVE_INTEGER_TYPE_CODE(Code)



NMTOKEN_TYPE_CODE
final public static int NMTOKEN_TYPE_CODE(Code)



NONNEGATIVE_INTEGER_TYPE_CODE
final public static int NONNEGATIVE_INTEGER_TYPE_CODE(Code)



NON_POSITIVE_INTEGER_TYPE_CODE
final public static int NON_POSITIVE_INTEGER_TYPE_CODE(Code)



NORMALIZED_STRING_TYPE_CODE
final public static int NORMALIZED_STRING_TYPE_CODE(Code)



NOTATION_TYPE_CODE
final public static int NOTATION_TYPE_CODE(Code)



NotationType
final public static XDataType NotationType(Code)



POSITIVE_INTEGER_TYPE_CODE
final public static int POSITIVE_INTEGER_TYPE_CODE(Code)



QNAME_TYPE_CODE
final public static int QNAME_TYPE_CODE(Code)



SHORT_TYPE_CODE
final public static int SHORT_TYPE_CODE(Code)



STRING_TYPE_CODE
final public static int STRING_TYPE_CODE(Code)



TIME_TYPE_CODE
final public static int TIME_TYPE_CODE(Code)



TOKEN_TYPE_CODE
final public static int TOKEN_TYPE_CODE(Code)



UNSIGNED_BYTE_TYPE_CODE
final public static int UNSIGNED_BYTE_TYPE_CODE(Code)



UNSIGNED_INT_TYPE_CODE
final public static int UNSIGNED_INT_TYPE_CODE(Code)



UNSIGNED_LONG_TYPE_CODE
final public static int UNSIGNED_LONG_TYPE_CODE(Code)



UNSIGNED_SHORT_TYPE_CODE
final public static int UNSIGNED_SHORT_TYPE_CODE(Code)



UNTYPED_ATOMIC_TYPE_CODE
final public static int UNTYPED_ATOMIC_TYPE_CODE(Code)



YEAR_MONTH_DURATION_TYPE_CODE
final public static int YEAR_MONTH_DURATION_TYPE_CODE(Code)



anyAtomicType
final public static XDataType anyAtomicType(Code)



anyURIType
final public static XDataType anyURIType(Code)



base64BinaryType
final public static XDataType base64BinaryType(Code)



baseType
XDataType baseType(Code)
The "parent" type.



booleanType
final public static XDataType booleanType(Code)



dayTimeDurationType
final public static XDataType dayTimeDurationType(Code)



decimalType
final public static XDataType decimalType(Code)



doubleType
final public static XDataType doubleType(Code)



durationType
final public static XDataType durationType(Code)



floatType
final public static XDataType floatType(Code)



hexBinaryType
final public static XDataType hexBinaryType(Code)



implementationType
Type implementationType(Code)



name
Object name(Code)



stringStringType
final public static XDataType stringStringType(Code)
A value implemented as java.lang.String. Can be cast from CharSequence.



stringType
final public static XDataType stringType(Code)



typeCode
int typeCode(Code)
One of the XXXX_TYPE_CODE constants.



untypedAtomicType
final public static XDataType untypedAtomicType(Code)



yearMonthDurationType
final public static XDataType yearMonthDurationType(Code)




Constructor Detail
XDataType
public XDataType(Object name, Type implementationType, int typeCode)(Code)




Method Detail
cast
public Object cast(Object value)(Code)



castToDuration
Duration castToDuration(Object value, Unit unit)(Code)



castable
public boolean castable(Object value)(Code)



coerceFromObject
public Object coerceFromObject(Object obj)(Code)



compare
public int compare(Type other)(Code)



emitCoerceFromObject
public void emitCoerceFromObject(CodeAttr code)(Code)



emitCoerceToObject
public void emitCoerceToObject(CodeAttr code)(Code)



emitIsInstance
public void emitIsInstance(Variable incoming, Compilation comp, Target target)(Code)



emitTestIf
public void emitTestIf(Variable incoming, Declaration decl, Compilation comp)(Code)



getConstructor
public Procedure getConstructor()(Code)



getImplementationType
public Type getImplementationType()(Code)



getReflectClass
public java.lang.Class getReflectClass()(Code)



isInstance
public boolean isInstance(Object obj)(Code)



makeDouble
public static Double makeDouble(double value)(Code)



makeFloat
public static Float makeFloat(float value)(Code)



print
public void print(Object value, Consumer out)(Code)



toString
public String toString(Object value)(Code)



valueOf
public Object valueOf(String value)(Code)



Fields inherited from gnu.bytecode.Type
final public static Method booleanValue_method(Code)(Java Doc)
final public static ClassType boolean_ctype(Code)(Java Doc)
final public static PrimType boolean_type(Code)(Java Doc)
final public static PrimType byte_type(Code)(Java Doc)
final public static PrimType char_type(Code)(Java Doc)
final public static Method clone_method(Code)(Java Doc)
final public static Method doubleValue_method(Code)(Java Doc)
final public static PrimType double_type(Code)(Java Doc)
final public static Method floatValue_method(Code)(Java Doc)
final public static PrimType float_type(Code)(Java Doc)
final public static Method intValue_method(Code)(Java Doc)
final public static PrimType int_type(Code)(Java Doc)
final public static ClassType java_lang_Class_type(Code)(Java Doc)
final public static Method longValue_method(Code)(Java Doc)
final public static PrimType long_type(Code)(Java Doc)
final public static PrimType neverReturnsType(Code)(Java Doc)
final public static ObjectType nullType(Code)(Java Doc)
final public static ClassType number_type(Code)(Java Doc)
final public static ClassType pointer_type(Code)(Java Doc)
protected Class reflectClass(Code)(Java Doc)
final public static PrimType short_type(Code)(Java Doc)
public static ClassType string_type(Code)(Java Doc)
final public static ClassType throwable_type(Code)(Java Doc)
final public static Method toString_method(Code)(Java Doc)
final public static ClassType tostring_type(Code)(Java Doc)
final public static Type[] typeArray0(Code)(Java Doc)
final public static PrimType void_type(Code)(Java Doc)

Methods inherited from gnu.bytecode.Type
abstract public Object coerceFromObject(Object obj)(Code)(Java Doc)
public Object coerceToObject(Object obj)(Code)(Java Doc)
abstract public int compare(Type other)(Code)(Java Doc)
public void emitCoerceFromObject(CodeAttr code)(Code)(Java Doc)
public void emitCoerceToObject(CodeAttr code)(Code)(Java Doc)
public void emitIsInstance(CodeAttr code)(Code)(Java Doc)
public Type getImplementationType()(Code)(Java Doc)
final public String getName()(Code)(Java Doc)
public java.lang.Class getReflectClass()(Code)(Java Doc)
final public String getSignature()(Code)(Java Doc)
final public int getSize()(Code)(Java Doc)
public int getSizeInWords()(Code)(Java Doc)
public static Type getType(String name)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isInstance(Object obj)(Code)(Java Doc)
public static boolean isMoreSpecific(Type[] t1, Type[] t2)(Code)(Java Doc)
final public boolean isSubtype(Type other)(Code)(Java Doc)
public static boolean isValidJavaTypeName(String name)(Code)(Java Doc)
final public boolean isVoid()(Code)(Java Doc)
public static Type lookupType(String name)(Code)(Java Doc)
public static Type lowestCommonSuperType(Type t1, Type t2)(Code)(Java Doc)
public static synchronized Type make(Class reflectClass)(Code)(Java Doc)
public Type promote()(Code)(Java Doc)
public static synchronized void registerTypeForClass(Class clas, Type type)(Code)(Java Doc)
protected void setName(String name)(Code)(Java Doc)
public void setReflectClass(java.lang.Class rclass)(Code)(Java Doc)
protected void setSignature(String sig)(Code)(Java Doc)
public static int signatureLength(String sig, int pos)(Code)(Java Doc)
public static int signatureLength(String sig)(Code)(Java Doc)
public static String signatureToName(String sig)(Code)(Java Doc)
public static PrimType signatureToPrimitive(char sig)(Code)(Java Doc)
public static Type signatureToType(String sig, int off, int len)(Code)(Java Doc)
public static Type signatureToType(String sig)(Code)(Java Doc)
protected static int swappedCompareResult(int code)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.