Source Code Cross Referenced for TodolistDocument.java in  » J2EE » enhydra » org » apache » xmlbeans » samples » validation » todolist » 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 » J2EE » enhydra » org.apache.xmlbeans.samples.validation.todolist 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * An XML document type.
003:         * Localname: todolist
004:         * Namespace: http://xmlbeans.apache.org/samples/validation/todolist
005:         * Java type: org.apache.xmlbeans.samples.validation.todolist.TodolistDocument
006:         *
007:         * Automatically generated - do not modify.
008:         */
009:        package org.apache.xmlbeans.samples.validation.todolist;
010:
011:        /**
012:         * A document containing one todolist(@http://xmlbeans.apache.org/samples/validation/todolist) element.
013:         *
014:         * This is a complex type.
015:         */
016:        public interface TodolistDocument extends org.apache.xmlbeans.XmlObject {
017:            public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) schema.system.s59A663BF38731BA9F8026B121E40FDD3.TypeSystemHolder.typeSystem
018:                    .resolveHandle("todolist637cdoctype");
019:
020:            /**
021:             * Gets the "todolist" element
022:             */
023:            org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist getTodolist();
024:
025:            /**
026:             * Sets the "todolist" element
027:             */
028:            void setTodolist(
029:                    org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist todolist);
030:
031:            /**
032:             * Appends and returns a new empty "todolist" element
033:             */
034:            org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist addNewTodolist();
035:
036:            /**
037:             * An XML todolist(@http://xmlbeans.apache.org/samples/validation/todolist).
038:             *
039:             * This is a complex type.
040:             */
041:            public interface Todolist extends org.apache.xmlbeans.XmlObject {
042:                public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) schema.system.s59A663BF38731BA9F8026B121E40FDD3.TypeSystemHolder.typeSystem
043:                        .resolveHandle("todolist39fcelemtype");
044:
045:                /**
046:                 * Gets array of all "item" elements
047:                 */
048:                org.apache.xmlbeans.samples.validation.todolist.ItemType[] getItemArray();
049:
050:                /**
051:                 * Gets ith "item" element
052:                 */
053:                org.apache.xmlbeans.samples.validation.todolist.ItemType getItemArray(
054:                        int i);
055:
056:                /**
057:                 * Returns number of "item" element
058:                 */
059:                int sizeOfItemArray();
060:
061:                /**
062:                 * Sets array of all "item" element
063:                 */
064:                void setItemArray(
065:                        org.apache.xmlbeans.samples.validation.todolist.ItemType[] itemArray);
066:
067:                /**
068:                 * Sets ith "item" element
069:                 */
070:                void setItemArray(
071:                        int i,
072:                        org.apache.xmlbeans.samples.validation.todolist.ItemType item);
073:
074:                /**
075:                 * Inserts and returns a new empty value (as xml) as the ith "item" element
076:                 */
077:                org.apache.xmlbeans.samples.validation.todolist.ItemType insertNewItem(
078:                        int i);
079:
080:                /**
081:                 * Appends and returns a new empty value (as xml) as the last "item" element
082:                 */
083:                org.apache.xmlbeans.samples.validation.todolist.ItemType addNewItem();
084:
085:                /**
086:                 * Removes the ith "item" element
087:                 */
088:                void removeItem(int i);
089:
090:                /**
091:                 * A factory class with static methods for creating instances
092:                 * of this type.
093:                 */
094:
095:                public static final class Factory {
096:                    public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist newInstance() {
097:                        return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist) org.apache.xmlbeans.XmlBeans
098:                                .getContextTypeLoader().newInstance(type, null);
099:                    }
100:
101:                    public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist newInstance(
102:                            org.apache.xmlbeans.XmlOptions options) {
103:                        return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist) org.apache.xmlbeans.XmlBeans
104:                                .getContextTypeLoader().newInstance(type,
105:                                        options);
106:                    }
107:
108:                    private Factory() {
109:                    } // No instance of this class allowed
110:                }
111:            }
112:
113:            /**
114:             * A factory class with static methods for creating instances
115:             * of this type.
116:             */
117:
118:            public static final class Factory {
119:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument newInstance() {
120:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
121:                            .getContextTypeLoader().newInstance(type, null);
122:                }
123:
124:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument newInstance(
125:                        org.apache.xmlbeans.XmlOptions options) {
126:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
127:                            .getContextTypeLoader().newInstance(type, options);
128:                }
129:
130:                /** @param xmlAsString the string value to parse */
131:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
132:                        java.lang.String xmlAsString)
133:                        throws org.apache.xmlbeans.XmlException {
134:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
135:                            .getContextTypeLoader().parse(xmlAsString, type,
136:                                    null);
137:                }
138:
139:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
140:                        java.lang.String xmlAsString,
141:                        org.apache.xmlbeans.XmlOptions options)
142:                        throws org.apache.xmlbeans.XmlException {
143:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
144:                            .getContextTypeLoader().parse(xmlAsString, type,
145:                                    options);
146:                }
147:
148:                /** @param file the file from which to load an xml document */
149:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
150:                        java.io.File file)
151:                        throws org.apache.xmlbeans.XmlException,
152:                        java.io.IOException {
153:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
154:                            .getContextTypeLoader().parse(file, type, null);
155:                }
156:
157:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
158:                        java.io.File file,
159:                        org.apache.xmlbeans.XmlOptions options)
160:                        throws org.apache.xmlbeans.XmlException,
161:                        java.io.IOException {
162:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
163:                            .getContextTypeLoader().parse(file, type, options);
164:                }
165:
166:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
167:                        java.net.URL u)
168:                        throws org.apache.xmlbeans.XmlException,
169:                        java.io.IOException {
170:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
171:                            .getContextTypeLoader().parse(u, type, null);
172:                }
173:
174:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
175:                        java.net.URL u, org.apache.xmlbeans.XmlOptions options)
176:                        throws org.apache.xmlbeans.XmlException,
177:                        java.io.IOException {
178:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
179:                            .getContextTypeLoader().parse(u, type, options);
180:                }
181:
182:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
183:                        java.io.InputStream is)
184:                        throws org.apache.xmlbeans.XmlException,
185:                        java.io.IOException {
186:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
187:                            .getContextTypeLoader().parse(is, type, null);
188:                }
189:
190:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
191:                        java.io.InputStream is,
192:                        org.apache.xmlbeans.XmlOptions options)
193:                        throws org.apache.xmlbeans.XmlException,
194:                        java.io.IOException {
195:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
196:                            .getContextTypeLoader().parse(is, type, options);
197:                }
198:
199:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
200:                        java.io.Reader r)
201:                        throws org.apache.xmlbeans.XmlException,
202:                        java.io.IOException {
203:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
204:                            .getContextTypeLoader().parse(r, type, null);
205:                }
206:
207:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
208:                        java.io.Reader r, org.apache.xmlbeans.XmlOptions options)
209:                        throws org.apache.xmlbeans.XmlException,
210:                        java.io.IOException {
211:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
212:                            .getContextTypeLoader().parse(r, type, options);
213:                }
214:
215:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
216:                        javax.xml.stream.XMLStreamReader sr)
217:                        throws org.apache.xmlbeans.XmlException {
218:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
219:                            .getContextTypeLoader().parse(sr, type, null);
220:                }
221:
222:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
223:                        javax.xml.stream.XMLStreamReader sr,
224:                        org.apache.xmlbeans.XmlOptions options)
225:                        throws org.apache.xmlbeans.XmlException {
226:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
227:                            .getContextTypeLoader().parse(sr, type, options);
228:                }
229:
230:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
231:                        org.w3c.dom.Node node)
232:                        throws org.apache.xmlbeans.XmlException {
233:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
234:                            .getContextTypeLoader().parse(node, type, null);
235:                }
236:
237:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
238:                        org.w3c.dom.Node node,
239:                        org.apache.xmlbeans.XmlOptions options)
240:                        throws org.apache.xmlbeans.XmlException {
241:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
242:                            .getContextTypeLoader().parse(node, type, options);
243:                }
244:
245:                /** @deprecated {@link XMLInputStream} */
246:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
247:                        org.apache.xmlbeans.xml.stream.XMLInputStream xis)
248:                        throws org.apache.xmlbeans.XmlException,
249:                        org.apache.xmlbeans.xml.stream.XMLStreamException {
250:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
251:                            .getContextTypeLoader().parse(xis, type, null);
252:                }
253:
254:                /** @deprecated {@link XMLInputStream} */
255:                public static org.apache.xmlbeans.samples.validation.todolist.TodolistDocument parse(
256:                        org.apache.xmlbeans.xml.stream.XMLInputStream xis,
257:                        org.apache.xmlbeans.XmlOptions options)
258:                        throws org.apache.xmlbeans.XmlException,
259:                        org.apache.xmlbeans.xml.stream.XMLStreamException {
260:                    return (org.apache.xmlbeans.samples.validation.todolist.TodolistDocument) org.apache.xmlbeans.XmlBeans
261:                            .getContextTypeLoader().parse(xis, type, options);
262:                }
263:
264:                /** @deprecated {@link XMLInputStream} */
265:                public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
266:                        org.apache.xmlbeans.xml.stream.XMLInputStream xis)
267:                        throws org.apache.xmlbeans.XmlException,
268:                        org.apache.xmlbeans.xml.stream.XMLStreamException {
269:                    return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
270:                            .newValidatingXMLInputStream(xis, type, null);
271:                }
272:
273:                /** @deprecated {@link XMLInputStream} */
274:                public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
275:                        org.apache.xmlbeans.xml.stream.XMLInputStream xis,
276:                        org.apache.xmlbeans.XmlOptions options)
277:                        throws org.apache.xmlbeans.XmlException,
278:                        org.apache.xmlbeans.xml.stream.XMLStreamException {
279:                    return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
280:                            .newValidatingXMLInputStream(xis, type, options);
281:                }
282:
283:                private Factory() {
284:                } // No instance of this class allowed
285:            }
286:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.