Java Doc for DtdParser.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » xml2 » 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 » EJB Server resin 3.1.5 » resin » com.caucho.xml2 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.xml2.DtdParser

DtdParser
public class DtdParser (Code)
A configurable XML parser. Loose versions of XML and HTML are supported by changing the Policy object.

Normally, applications will use Xml, LooseXml, Html, or LooseHtml.



Field Summary
 QName_activeNode
    
 ArrayList<String>_attrNames
    
static  HashMap<String, String>_attrTypes
    
 ArrayList<String>_attrValues
    
 QAttributes_attributes
    
 CharBuffer_buf
    
 CharBuffer_cb
    
 QDocumentType_dtd
    
 int[]_elementLines
    
 QName[]_elementNames
    
 int_elementTop
    
 CharBuffer_eltName
    
static  Entities_entities
    
 String_extPublicId
    
 String_extSystemId
    
 boolean_hasDoctype
    
 boolean_hasTopElement
    
 boolean_inDtd
    
 ReadStream_is
    
 boolean_isIgnorableWhitespace
    
 boolean_isJspText
    
 boolean_isTagStart
    
 MacroReader_macro
    
 char[]_macroBuffer
    
 int_macroIndex
    
 int_macroLength
    
 CharBuffer_name
    
 CharBuffer_nameBuffer
    
 NamespaceMap_namespaceMap
    
 NamespaceMap[]_namespaces
    
 QAttributes_nullAttributes
    
 XmlReader_reader
    
 boolean_stopOnIncludeEnd
    
 boolean_strictComments
    
 CharBuffer_text
    
 char[]_textBuffer
    
 int_textCapacity
    
 String_textFilename
    
 int_textLength
    
 int_textLine
    
 QName_topNamespaceNode
    

Constructor Summary
public  DtdParser(XmlParser xmlParser, QDocumentType dtd)
    

Method Summary
 intparseDoctypeDecl(QDocumentType doctype)
     Parses the DTD.
 dtd-item ::= <!ELEMENT ...
public  voidunread(int ch)
    

Field Detail
_activeNode
QName _activeNode(Code)



_attrNames
ArrayList<String> _attrNames(Code)



_attrTypes
static HashMap<String, String> _attrTypes(Code)



_attrValues
ArrayList<String> _attrValues(Code)



_attributes
QAttributes _attributes(Code)



_buf
CharBuffer _buf(Code)



_cb
CharBuffer _cb(Code)



_dtd
QDocumentType _dtd(Code)



_elementLines
int[] _elementLines(Code)



_elementNames
QName[] _elementNames(Code)



_elementTop
int _elementTop(Code)



_eltName
CharBuffer _eltName(Code)



_entities
static Entities _entities(Code)



_extPublicId
String _extPublicId(Code)



_extSystemId
String _extSystemId(Code)



_hasDoctype
boolean _hasDoctype(Code)



_hasTopElement
boolean _hasTopElement(Code)



_inDtd
boolean _inDtd(Code)



_is
ReadStream _is(Code)



_isIgnorableWhitespace
boolean _isIgnorableWhitespace(Code)



_isJspText
boolean _isJspText(Code)



_isTagStart
boolean _isTagStart(Code)



_macro
MacroReader _macro(Code)



_macroBuffer
char[] _macroBuffer(Code)



_macroIndex
int _macroIndex(Code)



_macroLength
int _macroLength(Code)



_name
CharBuffer _name(Code)



_nameBuffer
CharBuffer _nameBuffer(Code)



_namespaceMap
NamespaceMap _namespaceMap(Code)



_namespaces
NamespaceMap[] _namespaces(Code)



_nullAttributes
QAttributes _nullAttributes(Code)



_reader
XmlReader _reader(Code)



_stopOnIncludeEnd
boolean _stopOnIncludeEnd(Code)



_strictComments
boolean _strictComments(Code)



_text
CharBuffer _text(Code)



_textBuffer
char[] _textBuffer(Code)



_textCapacity
int _textCapacity(Code)



_textFilename
String _textFilename(Code)



_textLength
int _textLength(Code)



_textLine
int _textLine(Code)



_topNamespaceNode
QName _topNamespaceNode(Code)




Constructor Detail
DtdParser
public DtdParser(XmlParser xmlParser, QDocumentType dtd)(Code)




Method Detail
parseDoctypeDecl
int parseDoctypeDecl(QDocumentType doctype) throws IOException, SAXException(Code)
Parses the DTD.
 dtd-item ::= <!ELEMENT ...  |
 <!ATTLIST ...  |
 <!NOTATION ... |
 <!ENTITY ...   |
 <!-- comment   |
 <? pi          |
 %pe-ref;
 
the next character.



unread
public void unread(int ch)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.