Java Doc for DefaultModelReader.java in  » Graphic-Library » jcommon-components » org » jfree » xml » generator » 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 » Graphic Library » jcommon components » org.jfree.xml.generator 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.xml.util.AbstractModelReader
      org.jfree.xml.generator.DefaultModelReader

DefaultModelReader
public class DefaultModelReader extends AbstractModelReader (Code)
A reader for the class model.



Constructor Summary
public  DefaultModelReader()
     Creates a new model reader.

Method Summary
protected  voidendIncludeHandling()
     Ends include handling.
protected  voidendMultiplexMapping()
     Ends a multiplex mapping.
throws:
  ObjectDescriptionException - if there is a problem with the object description.
protected  voidendObjectDefinition()
     Finishes processing an object definition (sets the constructor and property info for the class description, and adds the class description to the model).
protected  voidendRootDocument()
     Ends the root document.
protected  voidfillSuperClasses()
     Iterates through all the class descriptions in the model, setting the superclass attribute in all cases where the superclass definitions are contained in the model.
protected  PropertyDescriptorgetPropertyDescriptor(String propertyName)
     Returns a property descriptor for the named property, or null if there is no descriptor with the given name.
Parameters:
  propertyName - the property name.
protected  voidhandleAttributeDefinition(String name, String attribName, String handlerClass)
     Handles the description of an attribute within an object definition.
protected  voidhandleConstructorDefinition(String tagName, String parameterClass)
     Handles the constructor definition.
protected  voidhandleElementDefinition(String name, String element)
     Handles the description of an element within an object definition.
protected  voidhandleIgnoredProperty(String name)
     Handles an ignored property.
protected  voidhandleLookupDefinition(String name, String lookupKey)
     Handles a lookup definition.
protected  booleanhandleManualMapping(String className, String readHandler, String writeHandler)
     Handles a manual mapping.
Parameters:
  className - the class name.
Parameters:
  readHandler - the read handler.
Parameters:
  writeHandler - the write handler.
protected  voidhandleMultiplexMapping(String typeName, String className)
     Handles a multiplex mapping.
public synchronized  DescriptionModelload(String file)
     Loads a description model.
Parameters:
  file - the file name.
protected  voidstartIncludeHandling(URL resource)
     Starts include handling.
protected  voidstartMultiplexMapping(String className, String typeAttr)
     Start a multiplex mapping.
protected  booleanstartObjectDefinition(String className, String register, boolean ignore)
     Begin processing an object definition element.
protected  voidstartRootDocument()
     Starts the root document.


Constructor Detail
DefaultModelReader
public DefaultModelReader()(Code)
Creates a new model reader.




Method Detail
endIncludeHandling
protected void endIncludeHandling()(Code)
Ends include handling.



endMultiplexMapping
protected void endMultiplexMapping() throws ObjectDescriptionException(Code)
Ends a multiplex mapping.
throws:
  ObjectDescriptionException - if there is a problem with the object description.



endObjectDefinition
protected void endObjectDefinition() throws ObjectDescriptionException(Code)
Finishes processing an object definition (sets the constructor and property info for the class description, and adds the class description to the model).
throws:
  ObjectDescriptionException - if there is a problem with the object description.



endRootDocument
protected void endRootDocument()(Code)
Ends the root document.



fillSuperClasses
protected void fillSuperClasses()(Code)
Iterates through all the class descriptions in the model, setting the superclass attribute in all cases where the superclass definitions are contained in the model.



getPropertyDescriptor
protected PropertyDescriptor getPropertyDescriptor(String propertyName)(Code)
Returns a property descriptor for the named property, or null if there is no descriptor with the given name.
Parameters:
  propertyName - the property name. a property descriptor.



handleAttributeDefinition
protected void handleAttributeDefinition(String name, String attribName, String handlerClass) throws ObjectDescriptionException(Code)
Handles the description of an attribute within an object definition.
Parameters:
  name - the name.
Parameters:
  attribName - the attribute name.
Parameters:
  handlerClass - the fully qualified class name for the attribute handler.
throws:
  ObjectDescriptionException - if there is a problem with the object description.



handleConstructorDefinition
protected void handleConstructorDefinition(String tagName, String parameterClass) throws ObjectDescriptionException(Code)
Handles the constructor definition.
Parameters:
  tagName - the tag name.
Parameters:
  parameterClass - the parameter class.
throws:
  ObjectDescriptionException - if there is a problem with the object description.



handleElementDefinition
protected void handleElementDefinition(String name, String element) throws ObjectDescriptionException(Code)
Handles the description of an element within an object definition.
Parameters:
  name - the property name.
Parameters:
  element - the element name.
throws:
  ObjectDescriptionException - if there is a problem with the object description.



handleIgnoredProperty
protected void handleIgnoredProperty(String name)(Code)
Handles an ignored property.
Parameters:
  name - the name.



handleLookupDefinition
protected void handleLookupDefinition(String name, String lookupKey) throws ObjectDescriptionException(Code)
Handles a lookup definition.
Parameters:
  name - the name.
Parameters:
  lookupKey - the lookup key.
throws:
  ObjectDescriptionException - if there is a problem with the object description.



handleManualMapping
protected boolean handleManualMapping(String className, String readHandler, String writeHandler) throws ObjectDescriptionException(Code)
Handles a manual mapping.
Parameters:
  className - the class name.
Parameters:
  readHandler - the read handler.
Parameters:
  writeHandler - the write handler. A boolean.
throws:
  ObjectDescriptionException - if there is a problem with the object description.



handleMultiplexMapping
protected void handleMultiplexMapping(String typeName, String className) throws ObjectDescriptionException(Code)
Handles a multiplex mapping.
Parameters:
  typeName - the type name.
Parameters:
  className - the class name.
throws:
  ObjectDescriptionException - if there is a problem with the object description.



load
public synchronized DescriptionModel load(String file) throws IOException, ObjectDescriptionException(Code)
Loads a description model.
Parameters:
  file - the file name. A description model.
throws:
  IOException - if there is an I/O problem.
throws:
  ObjectDescriptionException - if there is a problem reading the object descriptions.



startIncludeHandling
protected void startIncludeHandling(URL resource)(Code)
Starts include handling.
Parameters:
  resource - the URL.



startMultiplexMapping
protected void startMultiplexMapping(String className, String typeAttr)(Code)
Start a multiplex mapping.
Parameters:
  className - the class name.
Parameters:
  typeAttr - the type.



startObjectDefinition
protected boolean startObjectDefinition(String className, String register, boolean ignore)(Code)
Begin processing an object definition element.
Parameters:
  className - the class name.
Parameters:
  register - the register name (null permitted).
Parameters:
  ignore - ?? true if the class is available, and false otherwise.



startRootDocument
protected void startRootDocument()(Code)
Starts the root document.



Methods inherited from org.jfree.xml.util.AbstractModelReader
protected void endIncludeHandling()(Code)(Java Doc)
abstract protected void endMultiplexMapping() throws ObjectDescriptionException(Code)(Java Doc)
abstract protected void endObjectDefinition() throws ObjectDescriptionException(Code)(Java Doc)
protected void endRootDocument()(Code)(Java Doc)
protected String[] getCloseComment()(Code)(Java Doc)
protected CommentHandler getCommentHandler()(Code)(Java Doc)
protected String[] getOpenComment()(Code)(Java Doc)
abstract protected void handleAttributeDefinition(String name, String attribName, String handlerClass) throws ObjectDescriptionException(Code)(Java Doc)
abstract protected void handleConstructorDefinition(String propertyName, String parameterClass) throws ObjectDescriptionException(Code)(Java Doc)
abstract protected void handleElementDefinition(String name, String element) throws ObjectDescriptionException(Code)(Java Doc)
protected void handleIgnoredProperty(String name)(Code)(Java Doc)
abstract protected void handleLookupDefinition(String name, String lookupKey) throws ObjectDescriptionException(Code)(Java Doc)
abstract protected boolean handleManualMapping(String className, String readHandler, String writeHandler) throws ObjectDescriptionException(Code)(Java Doc)
abstract protected void handleMultiplexMapping(String typeName, String className) throws ObjectDescriptionException(Code)(Java Doc)
protected Class loadClass(String className)(Code)(Java Doc)
protected void parseXml(URL resource) throws ObjectDescriptionException(Code)(Java Doc)
protected void parseXmlDocument(URL resource, boolean isInclude) throws ObjectDescriptionException(Code)(Java Doc)
protected void setCloseComment(String[] closeComment)(Code)(Java Doc)
protected void setOpenComment(String[] openComment)(Code)(Java Doc)
protected void startIncludeHandling(URL resource)(Code)(Java Doc)
abstract protected void startMultiplexMapping(String className, String typeAttr)(Code)(Java Doc)
abstract protected boolean startObjectDefinition(String className, String register, boolean ignored) throws ObjectDescriptionException(Code)(Java Doc)
protected void startRootDocument()(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.