Java Doc for HashtableContentHandler.java in  » Database-DBMS » Ozone-1.1 » org » ozoneDB » core » xml » 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 » Database DBMS » Ozone 1.1 » org.ozoneDB.core.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ozoneDB.core.xml.XML2ObjectContentHandler
      org.ozoneDB.core.xml.HashtableContentHandler

HashtableContentHandler
public class HashtableContentHandler extends XML2ObjectContentHandler (Code)
This class handles a special part of the XML and transform it into an Hashtable.
version:
   $Revision: 1.1 $
author:
   SMB


Field Summary
final static  intKEYMODE
    
final static  intNEXTMODE
    
final static  intNOMODE
    
final static  intVALUEMODE
    
protected  StackhashEndStack
    

Constructor Summary
public  HashtableContentHandler()
    
public  HashtableContentHandler(Locator locator, Hashtable hash)
    

Method Summary
public  StackgetStack()
     This method returns the stack.
protected  voidmemberEndElement()
     This methode handles the memberEndElement.
protected  voidmemberStartElement(Attributes atts)
     The method memberStartElement set the mode on KEYMODE, VALUEMODE or NEXTMODE if the member has the attribute name with the value "key", "value" or "next".
protected  voidvalueArrayEndElement()
     The method valueArrayEndElement refers to handleValueArrayEndElement if mode is on KEYMODE or VALUEMODE.
protected  voidvalueArrayStartElement(Attributes atts)
     The method valueArrayStartElement refers to handleValueArrayStartElement if mode is on KEYMODE or VALUEMODE.
protected  voidvalueEndElement()
     The method valueEndElement refers to handleValueEndElement if mode is on KEYMODE or VALUEMODE.
protected  voidvalueObjEndElement()
     The method valueObjEndElement refers to handleValueObjEndElement if mode is on KEYMODE or VALUEMODE.
protected  voidvalueObjStartElement(Attributes atts)
     The method valueObjStartElement refers to handleValueObjStartElement if mode is on KEYMODE or VALUEMODE.
protected  voidvalueStartElement(Attributes atts)
     The method valueStartElement refers to handleValueStartElement if mode is on KEYMODE or VALUEMODE.
public  voidvalues(char[] ch, int start, int end)
     The method values refers to handleValues if mode is on KEYMODE or VALUEMODE.

Field Detail
KEYMODE
final static int KEYMODE(Code)



NEXTMODE
final static int NEXTMODE(Code)



NOMODE
final static int NOMODE(Code)



VALUEMODE
final static int VALUEMODE(Code)



hashEndStack
protected Stack hashEndStack(Code)




Constructor Detail
HashtableContentHandler
public HashtableContentHandler()(Code)



HashtableContentHandler
public HashtableContentHandler(Locator locator, Hashtable hash)(Code)

Parameters:
  locator -
Parameters:
  hash -




Method Detail
getStack
public Stack getStack()(Code)
This method returns the stack. Stack



memberEndElement
protected void memberEndElement()(Code)
This methode handles the memberEndElement.



memberStartElement
protected void memberStartElement(Attributes atts)(Code)
The method memberStartElement set the mode on KEYMODE, VALUEMODE or NEXTMODE if the member has the attribute name with the value "key", "value" or "next". And only if mode is on KEYMODE or VALUEMODE it refers to handleMemberStartElement.
Parameters:
  atts - (the attributes)



valueArrayEndElement
protected void valueArrayEndElement()(Code)
The method valueArrayEndElement refers to handleValueArrayEndElement if mode is on KEYMODE or VALUEMODE.



valueArrayStartElement
protected void valueArrayStartElement(Attributes atts)(Code)
The method valueArrayStartElement refers to handleValueArrayStartElement if mode is on KEYMODE or VALUEMODE.
Parameters:
  atts - (the attributes)



valueEndElement
protected void valueEndElement()(Code)
The method valueEndElement refers to handleValueEndElement if mode is on KEYMODE or VALUEMODE.



valueObjEndElement
protected void valueObjEndElement()(Code)
The method valueObjEndElement refers to handleValueObjEndElement if mode is on KEYMODE or VALUEMODE.



valueObjStartElement
protected void valueObjStartElement(Attributes atts)(Code)
The method valueObjStartElement refers to handleValueObjStartElement if mode is on KEYMODE or VALUEMODE.
Parameters:
  atts - (the attributes)



valueStartElement
protected void valueStartElement(Attributes atts)(Code)
The method valueStartElement refers to handleValueStartElement if mode is on KEYMODE or VALUEMODE.
Parameters:
  atts - (the attributes)



values
public void values(char[] ch, int start, int end)(Code)
The method values refers to handleValues if mode is on KEYMODE or VALUEMODE.
Parameters:
  ch - (char-array)
Parameters:
  start - (start of the array)
Parameters:
  end - (end of the array)



Fields inherited from org.ozoneDB.core.xml.XML2ObjectContentHandler
protected XML2ObjectContentHandler CH(Code)(Java Doc)
final public static boolean debug(Code)(Java Doc)
protected XML2ObjectDelegate delegate(Code)(Java Doc)
protected Locator locator(Code)(Java Doc)
protected static Hashtable objCache(Code)(Java Doc)
protected Stack stack(Code)(Java Doc)

Methods inherited from org.ozoneDB.core.xml.XML2ObjectContentHandler
protected Object castValue(String type, String valueStr)(Code)(Java Doc)
public void characters(char[] ch, int start, int end)(Code)(Java Doc)
public void endDocument()(Code)(Java Doc)
public void endElement(String namespaceURI, String localName, String rawName)(Code)(Java Doc)
public void endPrefixMapping(String prefix)(Code)(Java Doc)
protected void handleMemberEndElement()(Code)(Java Doc)
protected void handleMemberStartElement(Attributes atts)(Code)(Java Doc)
protected void handleObjEndElement()(Code)(Java Doc)
protected void handleObjStartElement(Attributes atts)(Code)(Java Doc)
protected void handleOzoneProxyMember(Attributes atts)(Code)(Java Doc)
protected void handleSuperclassEndElement()(Code)(Java Doc)
protected void handleSuperclassStartElement(Attributes atts)(Code)(Java Doc)
protected void handleValueArrayEndElement()(Code)(Java Doc)
protected void handleValueArrayStartElement(Attributes atts)(Code)(Java Doc)
protected void handleValueEndElement()(Code)(Java Doc)
protected void handleValueObjEndElement()(Code)(Java Doc)
protected void handleValueObjStartElement(Attributes atts)(Code)(Java Doc)
protected void handleValueStartElement(Attributes atts)(Code)(Java Doc)
public void handleValues(char[] ch, int start, int end)(Code)(Java Doc)
public void ignorableWhitespace(char[] ch, int start, int end)(Code)(Java Doc)
protected void memberEndElement()(Code)(Java Doc)
protected void memberStartElement(Attributes atts)(Code)(Java Doc)
protected void objEndElement()(Code)(Java Doc)
protected void objStartElement(Attributes atts)(Code)(Java Doc)
public void processingInstruction(String target, String data)(Code)(Java Doc)
public void setDocumentLocator(Locator locator)(Code)(Java Doc)
protected void showStack(Stack s)(Code)(Java Doc)
public void skippedEntity(String name)(Code)(Java Doc)
public void startDocument()(Code)(Java Doc)
public void startElement(String namespaceURI, String localName, String rawName, Attributes atts)(Code)(Java Doc)
public void startPrefixMapping(String prefix, String uri)(Code)(Java Doc)
protected void superclassEndElement()(Code)(Java Doc)
protected void superclassStartElement(Attributes atts)(Code)(Java Doc)
protected void valueArrayEndElement()(Code)(Java Doc)
protected void valueArrayStartElement(Attributes atts)(Code)(Java Doc)
protected void valueEndElement()(Code)(Java Doc)
protected void valueObjEndElement()(Code)(Java Doc)
protected void valueObjStartElement(Attributes atts)(Code)(Java Doc)
protected void valueStartElement(Attributes atts)(Code)(Java Doc)
protected void values(char[] ch, int start, int end)(Code)(Java Doc)

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.