Source Code Cross Referenced for Messages.java in  » Parser » XP-Parser » com » jclark » xml » parse » 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 » XP Parser » com.jclark.xml.parse 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        package com.jclark.xml.parse;
02:
03:        import java.util.ListResourceBundle;
04:        import java.util.MissingResourceException;
05:        import java.util.Enumeration;
06:        import com.jclark.util.Hashtable;
07:
08:        /**
09:         * A <code>ResourceBundle</code> for the text of messages used
10:         * in <code>NotWellFormedException</code>.
11:         *
12:         * @see NotWellFormedException
13:         * @see Parser
14:         * @version $Revision: 1.10 $ $Date: 1998/05/14 02:04:05 $
15:         */
16:        public class Messages extends ListResourceBundle {
17:            protected Object[][] getContents() {
18:                return contents;
19:            }
20:
21:            private static final Object[][] contents = {
22:                    // Arguments: description, location, line number, column number, byte index
23:                    // Use ,0 in the number format to avoid getting , as thousands separator.
24:                    { MessageId.MESSAGE_FORMAT,
25:                            "{1}:{2,number,0}:{3,number,0}: {0}" },
26:                    { MessageId.PUBID_CHAR,
27:                            "character not allowed in public identifier" },
28:                    { MessageId.ELEMENT_AFTER_DOCUMENT_ELEMENT,
29:                            "element after document element" },
30:                    { MessageId.BAD_INITIAL_BYTES,
31:                            "impossible initial byte sequence" },
32:                    { MessageId.BAD_DECL_ENCODING,
33:                            "incorrect encoding specified in XML declaration" },
34:                    { MessageId.INVALID_XML_DECLARATION,
35:                            "invalid XML declaration" },
36:                    { MessageId.IGNORE_SECT_CHAR,
37:                            "invalid character in ignored conditional section" },
38:                    { MessageId.INVALID_END_TAG, "invalid end-tag" },
39:                    { MessageId.EPILOG_JUNK, "junk after document element" },
40:                    { MessageId.MISMATCHED_END_TAG,
41:                            "mismatched end tag: expected \"{1}\" but got \"{0}\"" },
42:                    { MessageId.MISPLACED_XML_DECL, "misplaced XML decl" },
43:                    { MessageId.MISSING_END_TAG, "missing end-tag" },
44:                    { MessageId.NO_DOCUMENT_ELEMENT, "no document element" },
45:                    { MessageId.NOT_WELL_FORMED, "not well-formed" },
46:                    { MessageId.PE_GROUP_NESTING,
47:                            "parameter entities not properly nested with parentheses" },
48:                    { MessageId.PE_DECL_NESTING,
49:                            "parameter entity not properly nested with declarations" },
50:                    { MessageId.INTERNAL_PEREF_ENTVAL,
51:                            "parameter entity reference in entity value in internal subset" },
52:                    { MessageId.RECURSION, "recursive entity reference" },
53:                    { MessageId.EXTERN_REF_ATTVAL,
54:                            "reference to external entity in attribute value" },
55:                    { MessageId.UNDEF_REF,
56:                            "reference to undefined entity \"{0}\"" },
57:                    { MessageId.UNDEF_PEREF,
58:                            "reference to undefined parameter entity \"{0}\"" },
59:                    { MessageId.UNPARSED_REF, "reference to unparsed entity" },
60:                    { MessageId.SYNTAX_ERROR, "syntax error" },
61:                    { MessageId.UNCLOSED_CDATA_SECTION,
62:                            "unclosed CDATA section" },
63:                    { MessageId.UNCLOSED_CONDITIONAL_SECTION,
64:                            "unclosed conditional section" },
65:                    { MessageId.UNCLOSED_TOKEN, "unclosed token" },
66:                    { MessageId.UNSUPPORTED_ENCODING, "unsupported encoding" },
67:                    { MessageId.DUPLICATE_ATTRIBUTE, "duplicate attribute" },
68:                    { MessageId.XML_TARGET,
69:                            "target of a processing instruction must not be [Xx][Mm][Ll]" },
70:                    { MessageId.ILLEGAL_CHAR, "character not allowed" } };
71:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.