Source Code Cross Referenced for NodeEditAS.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:        import org.w3c.dom.Node;
016:
017:        /**
018:         * @deprecated
019:         * This interface extends a <code>Node</code> from  with additional methods 
020:         * for guided document editing. The expectation is that an instance of the 
021:         * <code>DOMImplementationAS</code> interface can be obtained by using 
022:         * binding-specific casting methods on an instance of the 
023:         * <code>DOMImplementation</code> interface when the DOM implementation 
024:         * supports the feature "<code>AS-DOC</code>".
025:         * <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
026:         and Save Specification</a>.
027:         */
028:        public interface NodeEditAS {
029:            // ASCheckType
030:            /**
031:             * Check for well-formedness of this node.
032:             */
033:            public static final short WF_CHECK = 1;
034:            /**
035:             * Check for namespace well-formedness includes <code>WF_CHECK</code>.
036:             */
037:            public static final short NS_WF_CHECK = 2;
038:            /**
039:             * Checks for whether this node is partially valid. It includes 
040:             * <code>NS_WF_CHECK</code>.
041:             */
042:            public static final short PARTIAL_VALIDITY_CHECK = 3;
043:            /**
044:             * Checks for strict validity of the node with respect to active AS which 
045:             * by definition includes <code>NS_WF_CHECK</code>.
046:             */
047:            public static final short STRICT_VALIDITY_CHECK = 4;
048:
049:            /**
050:             * Determines whether the <code>insertBefore</code> operation from the 
051:             * <code>Node</code> interface would make this document invalid with 
052:             * respect to the currently active AS. Describe "valid" when referring 
053:             * to partially completed documents.
054:             * @param newChild <code>Node</code> to be inserted.
055:             * @param refChild Reference <code>Node</code>.
056:             * @return <code>true</code> if no reason it can't be done; 
057:             *   <code>false</code> if it can't be done.
058:             */
059:            public boolean canInsertBefore(Node newChild, Node refChild);
060:
061:            /**
062:             * Has the same arguments as <code>RemoveChild</code>.
063:             * @param oldChild <code>Node</code> to be removed.
064:             * @return <code>true</code> if no reason it can't be done; 
065:             *   <code>false</code> if it can't be done.
066:             */
067:            public boolean canRemoveChild(Node oldChild);
068:
069:            /**
070:             * Has the same arguments as <code>ReplaceChild</code>.
071:             * @param newChild New <code>Node</code>.
072:             * @param oldChild <code>Node</code> to be replaced.
073:             * @return <code>true</code> if no reason it can't be done; 
074:             *   <code>false</code> if it can't be done.
075:             */
076:            public boolean canReplaceChild(Node newChild, Node oldChild);
077:
078:            /**
079:             * Has the same arguments as <code>AppendChild</code>.
080:             * @param newChild <code>Node</code> to be appended.
081:             * @return <code>true</code> if no reason it can't be done; 
082:             *   <code>false</code> if it can't be done.
083:             */
084:            public boolean canAppendChild(Node newChild);
085:
086:            /**
087:             * Determines if the Node is valid relative to currently active AS. It 
088:             * doesn't normalize before checking if the document is valid. To do so, 
089:             * one would need to explicitly call a normalize method. 
090:             * @param deep Setting the <code>deep</code> flag on causes the 
091:             *   <code>isNodeValid</code> method to check for the whole subtree of 
092:             *   the current node for validity. Setting it to <code>false</code> 
093:             *   only checks the current node and its immediate child nodes. The 
094:             *   <code>validate</code> method on the <code>DocumentAS</code> 
095:             *   interface, however, checks to determine whether the entire document 
096:             *   is valid.
097:             * @param wFValidityCheckLevel Flag to tell at what level validity and 
098:             *   well-formedness checking is done. 
099:             * @return <code>true</code> if the node is valid/well-formed in the 
100:             *   current context and check level defined by 
101:             *   <code>wfValidityCheckLevel</code>, <code>false</code> if not.
102:             * @exception DOMASException
103:             *   <code>NO_AS_AVAILABLE</code>: Raised if the 
104:             *   <code>DocumentEditAS</code> related to this node does not have any 
105:             *   active <code>ASModel</code> and <code>wfValidityCheckLevel</code> 
106:             *   is set to <code>PARTIAL</code> or <code>STRICT_VALIDITY_CHECK</code>
107:             *   .
108:             */
109:            public boolean isNodeValid(boolean deep, short wFValidityCheckLevel)
110:                    throws DOMASException;
111:
112:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.