Source Code Cross Referenced for LiteralsDescriptor.java in  » Report » jmagallanes-1.0 » com » calipso » reportgenerator » reportdefinitions » 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 » Report » jmagallanes 1.0 » com.calipso.reportgenerator.reportdefinitions 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * This class was automatically generated with 
003:         * <a href="http://www.castor.org">Castor 0.9.4.3</a>, using an XML
004:         * Schema.
005:         * $Id$
006:         */
007:
008:        package com.calipso.reportgenerator.reportdefinitions;
009:
010:        //---------------------------------/
011:        //- Imported classes and packages -/
012:        //---------------------------------/
013:
014:        import org.exolab.castor.mapping.AccessMode;
015:        import org.exolab.castor.xml.TypeValidator;
016:        import org.exolab.castor.xml.XMLFieldDescriptor;
017:        import org.exolab.castor.xml.validators.*;
018:
019:        /**
020:         * Class LiteralsDescriptor.
021:         * 
022:         * @version $Revision$ $Date$
023:         */
024:        public class LiteralsDescriptor extends
025:                org.exolab.castor.xml.util.XMLClassDescriptorImpl {
026:
027:            //--------------------------/
028:            //- Class/Member Variables -/
029:            //--------------------------/
030:
031:            /**
032:             * Field nsPrefix
033:             */
034:            private java.lang.String nsPrefix;
035:
036:            /**
037:             * Field nsURI
038:             */
039:            private java.lang.String nsURI;
040:
041:            /**
042:             * Field xmlName
043:             */
044:            private java.lang.String xmlName;
045:
046:            /**
047:             * Field identity
048:             */
049:            private org.exolab.castor.xml.XMLFieldDescriptor identity;
050:
051:            //----------------/
052:            //- Constructors -/
053:            //----------------/
054:
055:            public LiteralsDescriptor() {
056:                super ();
057:                xmlName = "Literals";
058:                org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
059:                org.exolab.castor.xml.XMLFieldHandler handler = null;
060:                org.exolab.castor.xml.FieldValidator fieldValidator = null;
061:                //-- initialize attribute descriptors
062:
063:                //-- _code
064:                desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
065:                        java.lang.String.class, "_code", "Code",
066:                        org.exolab.castor.xml.NodeType.Attribute);
067:                desc.setImmutable(true);
068:                handler = (new org.exolab.castor.xml.XMLFieldHandler() {
069:                    public java.lang.Object getValue(java.lang.Object object)
070:                            throws IllegalStateException {
071:                        Literals target = (Literals) object;
072:                        return target.getCode();
073:                    }
074:
075:                    public void setValue(java.lang.Object object,
076:                            java.lang.Object value)
077:                            throws IllegalStateException,
078:                            IllegalArgumentException {
079:                        try {
080:                            Literals target = (Literals) object;
081:                            target.setCode((java.lang.String) value);
082:                        } catch (java.lang.Exception ex) {
083:                            throw new IllegalStateException(ex.toString());
084:                        }
085:                    }
086:
087:                    public java.lang.Object newInstance(java.lang.Object parent) {
088:                        return null;
089:                    }
090:                });
091:                desc.setHandler(handler);
092:                desc.setRequired(true);
093:                addFieldDescriptor(desc);
094:
095:                //-- validation code for: _code
096:                fieldValidator = new org.exolab.castor.xml.FieldValidator();
097:                fieldValidator.setMinOccurs(1);
098:                { //-- local scope
099:                    StringValidator typeValidator = new StringValidator();
100:                    typeValidator.setWhiteSpace("preserve");
101:                    fieldValidator.setValidator(typeValidator);
102:                }
103:                desc.setValidator(fieldValidator);
104:                //-- _value
105:                desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
106:                        java.lang.String.class, "_value", "Value",
107:                        org.exolab.castor.xml.NodeType.Attribute);
108:                desc.setImmutable(true);
109:                handler = (new org.exolab.castor.xml.XMLFieldHandler() {
110:                    public java.lang.Object getValue(java.lang.Object object)
111:                            throws IllegalStateException {
112:                        Literals target = (Literals) object;
113:                        return target.getValue();
114:                    }
115:
116:                    public void setValue(java.lang.Object object,
117:                            java.lang.Object value)
118:                            throws IllegalStateException,
119:                            IllegalArgumentException {
120:                        try {
121:                            Literals target = (Literals) object;
122:                            target.setValue((java.lang.String) value);
123:                        } catch (java.lang.Exception ex) {
124:                            throw new IllegalStateException(ex.toString());
125:                        }
126:                    }
127:
128:                    public java.lang.Object newInstance(java.lang.Object parent) {
129:                        return null;
130:                    }
131:                });
132:                desc.setHandler(handler);
133:                desc.setRequired(true);
134:                addFieldDescriptor(desc);
135:
136:                //-- validation code for: _value
137:                fieldValidator = new org.exolab.castor.xml.FieldValidator();
138:                fieldValidator.setMinOccurs(1);
139:                { //-- local scope
140:                    StringValidator typeValidator = new StringValidator();
141:                    typeValidator.setWhiteSpace("preserve");
142:                    fieldValidator.setValidator(typeValidator);
143:                }
144:                desc.setValidator(fieldValidator);
145:                //-- initialize element descriptors
146:
147:            } //-- com.calipso.reportgenerator.reportdefinitions.LiteralsDescriptor()
148:
149:            //-----------/
150:            //- Methods -/
151:            //-----------/
152:
153:            /**
154:             * Method getAccessMode
155:             */
156:            public org.exolab.castor.mapping.AccessMode getAccessMode() {
157:                return null;
158:            } //-- org.exolab.castor.mapping.AccessMode getAccessMode() 
159:
160:            /**
161:             * Method getExtends
162:             */
163:            public org.exolab.castor.mapping.ClassDescriptor getExtends() {
164:                return null;
165:            } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() 
166:
167:            /**
168:             * Method getIdentity
169:             */
170:            public org.exolab.castor.mapping.FieldDescriptor getIdentity() {
171:                return identity;
172:            } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() 
173:
174:            /**
175:             * Method getJavaClass
176:             */
177:            public java.lang.Class getJavaClass() {
178:                return com.calipso.reportgenerator.reportdefinitions.Literals.class;
179:            } //-- java.lang.Class getJavaClass() 
180:
181:            /**
182:             * Method getNameSpacePrefix
183:             */
184:            public java.lang.String getNameSpacePrefix() {
185:                return nsPrefix;
186:            } //-- java.lang.String getNameSpacePrefix() 
187:
188:            /**
189:             * Method getNameSpaceURI
190:             */
191:            public java.lang.String getNameSpaceURI() {
192:                return nsURI;
193:            } //-- java.lang.String getNameSpaceURI() 
194:
195:            /**
196:             * Method getValidator
197:             */
198:            public org.exolab.castor.xml.TypeValidator getValidator() {
199:                return this ;
200:            } //-- org.exolab.castor.xml.TypeValidator getValidator() 
201:
202:            /**
203:             * Method getXMLName
204:             */
205:            public java.lang.String getXMLName() {
206:                return xmlName;
207:            } //-- java.lang.String getXMLName() 
208:
209:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.