Source Code Cross Referenced for IXMLEntityResolver.java in  » Parser » NanoXML » net » n3 » nanoxml » 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 » Parser » NanoXML » net.n3.nanoxml 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /* IXMLEntityResolver.java                                         NanoXML/Java
02:         *
03:         * $Revision: 1.4 $
04:         * $Date: 2002/01/04 21:03:28 $
05:         * $Name: RELEASE_2_2_1 $
06:         *
07:         * This file is part of NanoXML 2 for Java.
08:         * Copyright (C) 2000-2002 Marc De Scheemaecker, All Rights Reserved.
09:         *
10:         * This software is provided 'as-is', without any express or implied warranty.
11:         * In no event will the authors be held liable for any damages arising from the
12:         * use of this software.
13:         *
14:         * Permission is granted to anyone to use this software for any purpose,
15:         * including commercial applications, and to alter it and redistribute it
16:         * freely, subject to the following restrictions:
17:         *
18:         *  1. The origin of this software must not be misrepresented; you must not
19:         *     claim that you wrote the original software. If you use this software in
20:         *     a product, an acknowledgment in the product documentation would be
21:         *     appreciated but is not required.
22:         *
23:         *  2. Altered source versions must be plainly marked as such, and must not be
24:         *     misrepresented as being the original software.
25:         *
26:         *  3. This notice may not be removed or altered from any source distribution.
27:         */
28:
29:        package net.n3.nanoxml;
30:
31:        import java.util.Hashtable;
32:        import java.io.Reader;
33:        import java.io.StringReader;
34:
35:        /**
36:         * An IXMLEntityResolver resolves entities.
37:         *
38:         * @author Marc De Scheemaecker
39:         * @version $Name: RELEASE_2_2_1 $, $Revision: 1.4 $
40:         */
41:        public interface IXMLEntityResolver {
42:
43:            /**
44:             * Adds an internal entity.
45:             *
46:             * @param name  the name of the entity.
47:             * @param value the value of the entity.
48:             */
49:            public void addInternalEntity(String name, String value);
50:
51:            /**
52:             * Adds an external entity.
53:             *
54:             * @param name     the name of the entity.
55:             * @param publicID the public ID of the entity, which may be null.
56:             * @param systemID the system ID of the entity.
57:             */
58:            public void addExternalEntity(String name, String publicID,
59:                    String systemID);
60:
61:            /**
62:             * Returns a Java reader containing the value of an entity.
63:             *
64:             * @param xmlReader the current NanoXML reader.
65:             * @param name      the name of the entity.
66:             *
67:             * @return the reader, or null if the entity could not be resolved.
68:             *
69:             * @throws net.n3.nanoxml.XMLParseException
70:             *     If an exception occurred while resolving the entity.
71:             */
72:            public Reader getEntity(IXMLReader xmlReader, String name)
73:                    throws XMLParseException;
74:
75:            /**
76:             * Returns true if an entity is external.
77:             *
78:             * @param name the name of the entity.
79:             */
80:            public boolean isExternalEntity(String name);
81:
82:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.