Source Code Cross Referenced for ASContentModel.java in  » XML » xerces-2_9_1 » org » apache » xerces » dom3 » as » 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 » XML » xerces 2_9_1 » org.apache.xerces.dom3.as 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (c) 2001 World Wide Web Consortium,
003:         * (Massachusetts Institute of Technology, Institut National de
004:         * Recherche en Informatique et en Automatique, Keio University). All
005:         * Rights Reserved. This program is distributed under the W3C's Software
006:         * Intellectual Property License. This program is distributed in the
007:         * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008:         * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009:         * PURPOSE.
010:         * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011:         */
012:
013:        package org.apache.xerces.dom3.as;
014:
015:        /**
016:         * @deprecated
017:         * The content model of a declared element.
018:         * <p>See also the <a href='http://www.w3.org/TR/2001/WD-DOM-Level-3-ASLS-20011025'>Document Object Model (DOM) Level 3 Abstract Schemas and Load
019:         and Save Specification</a>.
020:         */
021:        public interface ASContentModel extends ASObject {
022:            /**
023:             * Signifies unbounded upper limit. The MAX_VALUE value is 
024:             * <code>0xFFFFFFFF FFFFFFFF</code>. This needs to be better defined in 
025:             * the generated bindings.
026:             */
027:            public static final int AS_UNBOUNDED = Integer.MAX_VALUE;
028:            // ASContentModelType
029:            /**
030:             * This constant value signifies a sequence operator. For example, in a 
031:             * DTD, this would be the '<code>,</code>' operator.
032:             */
033:            public static final short AS_SEQUENCE = 0;
034:            /**
035:             * This constant value signifies a choice operator. For example, in a DTD, 
036:             * this would be the '<code>|</code>' operator.
037:             */
038:            public static final short AS_CHOICE = 1;
039:            /**
040:             * All of the above.
041:             */
042:            public static final short AS_ALL = 2;
043:            /**
044:             * None of the above, i.e., neither a choice nor sequence operator.
045:             */
046:            public static final short AS_NONE = 3;
047:
048:            /**
049:             *  One of <code>AS_CHOICE</code>, <code>AS_SEQUENCE</code>, 
050:             * <code>AS_ALL</code> or <code>AS_NONE</code>. The operator is applied 
051:             * to all the components(ASObjects) in the <code>subModels</code>. For 
052:             * example, if the list operator is <code>AS_CHOICE</code> and the 
053:             * components in subModels are a, b and c then the abstract schema for 
054:             * the element being declared is <code>(a|b|c)</code>. 
055:             */
056:            public short getListOperator();
057:
058:            /**
059:             *  One of <code>AS_CHOICE</code>, <code>AS_SEQUENCE</code>, 
060:             * <code>AS_ALL</code> or <code>AS_NONE</code>. The operator is applied 
061:             * to all the components(ASObjects) in the <code>subModels</code>. For 
062:             * example, if the list operator is <code>AS_CHOICE</code> and the 
063:             * components in subModels are a, b and c then the abstract schema for 
064:             * the element being declared is <code>(a|b|c)</code>. 
065:             */
066:            public void setListOperator(short listOperator);
067:
068:            /**
069:             * min occurrence for this content particle. Its value may be 0 or a 
070:             * positive integer. 
071:             */
072:            public int getMinOccurs();
073:
074:            /**
075:             * min occurrence for this content particle. Its value may be 0 or a 
076:             * positive integer. 
077:             */
078:            public void setMinOccurs(int minOccurs);
079:
080:            /**
081:             *  maximum occurrence for this content particle. Its value may be 
082:             * <code>0</code>, a positive integer, or <code>AS_UNBOUNDED</code> to 
083:             * indicate that no upper limit has been set. 
084:             */
085:            public int getMaxOccurs();
086:
087:            /**
088:             *  maximum occurrence for this content particle. Its value may be 
089:             * <code>0</code>, a positive integer, or <code>AS_UNBOUNDED</code> to 
090:             * indicate that no upper limit has been set. 
091:             */
092:            public void setMaxOccurs(int maxOccurs);
093:
094:            /**
095:             * Pointers to <code>ASObject</code>s such as 
096:             * <code> ASElementDeclaration</code>s and further 
097:             * <code>ASContentModel</code>s. 
098:             */
099:            public ASObjectList getSubModels();
100:
101:            /**
102:             * Pointers to <code>ASObject</code>s such as 
103:             * <code> ASElementDeclaration</code>s and further 
104:             * <code>ASContentModel</code>s. 
105:             */
106:            public void setSubModels(ASObjectList subModels);
107:
108:            /**
109:             * Removes the <code>ASObject</code> in the submodel. Nodes that already 
110:             * exist in the list are moved as needed. 
111:             * @param oldNode The node to be removed.
112:             */
113:            public void removesubModel(ASObject oldNode);
114:
115:            /**
116:             * Inserts a new node in the submodel. Nodes that already exist in the 
117:             * list are moved as needed. 
118:             * @param newNode The new node to be inserted.
119:             * @exception DOMASException
120:             *    <code>DUPLICATE_NAME_ERR</code>: Raised if a element declaration 
121:             *   already exists with the same name within an <code>AS_CHOICE</code> 
122:             *   operator. 
123:             */
124:            public void insertsubModel(ASObject newNode) throws DOMASException;
125:
126:            /**
127:             * Appends a new node to the end of the list representing the
128:             * <code>subModels</code>.
129:             * @param newNode The new node to be appended.
130:             * @return the length of the <code>subModels</code>.
131:             * @exception DOMASException
132:             *    <code>DUPLICATE_NAME_ERR</code>: Raised if a element declaration 
133:             *   already exists with the same name within an <code>AS_CHOICE</code> 
134:             *   operator. 
135:             *   <br> <code>TYPE_ERR</code>: Raised if type is neither an 
136:             *   <code>ASContentModel</code> nor an <code>ASElementDeclaration</code>
137:             *   . 
138:             */
139:            public int appendsubModel(ASObject newNode) throws DOMASException;
140:
141:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.