Java Doc for XSIElementHandler.java in  » GIS » GeoTools-2.4.1 » org » geotools » 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 » GIS » GeoTools 2.4.1 » org.geotools.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.xml.XSIElementHandler

All known Subclasses:   org.geotools.xml.handlers.xsi.FieldHandler,  org.geotools.xml.handlers.xsi.ComplexTypeHandler,  org.geotools.xml.handlers.xsi.SimpleContentHandler,  org.geotools.xml.handlers.xsi.FacetHandler,  org.geotools.xml.handlers.xsi.AttributeGroupHandler,  org.geotools.xml.handlers.xsi.ExtensionHandler,  org.geotools.xml.handlers.xsi.UniqueHandler,  org.geotools.xml.handlers.xsi.AttributeHandler,  org.geotools.xml.handlers.xsi.ElementGroupingHandler,  org.geotools.xml.handlers.xsi.IgnoreHandler,  org.geotools.xml.handlers.xsi.SelectorHandler,  org.geotools.xml.handlers.xsi.ImportHandler,  org.geotools.xml.handlers.xsi.IncludeHandler,  org.geotools.xml.handlers.xsi.AnyAttributeHandler,  org.geotools.xml.handlers.xsi.ComplexContentHandler,  org.geotools.xml.handlers.xsi.SchemaHandler,  org.geotools.xml.handlers.xsi.ListHandler,  org.geotools.xml.handlers.xsi.UnionHandler,  org.geotools.xml.handlers.xsi.RestrictionHandler,  org.geotools.xml.handlers.xsi.RedefineHandler,  org.geotools.xml.handlers.xsi.KeyHandler,  org.geotools.xml.handlers.xsi.RootHandler,  org.geotools.xml.handlers.xsi.SimpleTypeHandler,  org.geotools.xml.handlers.xsi.KeyrefHandler,
XSIElementHandler
abstract public class XSIElementHandler implements Serializable(Code)
XSIElementHandler purpose.

This abstract class is intended to act as both a definition of what a generic handler is, and a default handler.

When extending this class, one should as a minimum replace the start/end Element methods.


author:
   dzwiers, Refractions Research, Inc. http://www.refractions.net
author:
   $Author:$ (last modification)
version:
   $Id: XSIElementHandler.java 27862 2007-11-12 19:51:19Z desruisseaux $


Field Summary
final public static  intDEFAULT
    
final public static  intEXTENSION
    
final public static  intFACET
    
final public static  intLIST
    
final public static  intRESTRICTION
    
final public static  intSEQUENCE
    
final public static  intSIMPLETYPE
    
final public static  intUNION
    
final public static  Loggerlogger
    

Constructor Summary
protected  XSIElementHandler()
     Creates a new XSIElementHandler object.

Method Summary
public  voidcharacters(String text)
     In most cases this class should not be called within this framework as we do not intend to parse + store all the information required to recreate the exact Schema document being parsed.
abstract public  voidendElement(String namespaceURI, String localName)
     handles SAX end Element events.
public  booleanequals(Object obj)
    
abstract public  XSIElementHandlergetHandler(String namespaceURI, String localName)
     This method will be used to create the XSI document.
abstract public  intgetHandlerType()
     Returns one of the Specified types ...
abstract public  StringgetLocalName()
     Returns the LocalName for this element (ie this declaration in the Schema ...
abstract public  inthashCode()
    
public static  voidsetLogLevel(Level l)
    
abstract public  voidstartElement(String namespaceURI, String localName, Attributes attr)
     handles SAX start Element events.

Field Detail
DEFAULT
final public static int DEFAULT(Code)
Type constants



EXTENSION
final public static int EXTENSION(Code)
Type constants



FACET
final public static int FACET(Code)
Type constants



LIST
final public static int LIST(Code)
Type constants



RESTRICTION
final public static int RESTRICTION(Code)
Type constants



SEQUENCE
final public static int SEQUENCE(Code)
Type constants



SIMPLETYPE
final public static int SIMPLETYPE(Code)
Type constants



UNION
final public static int UNION(Code)
Type constants



logger
final public static Logger logger(Code)
the logger -- should be used for debugging (assuming there are bugs LOL)




Constructor Detail
XSIElementHandler
protected XSIElementHandler()(Code)
Creates a new XSIElementHandler object. Intended to limit creation to the sub-packages




Method Detail
characters
public void characters(String text) throws SAXException(Code)
In most cases this class should not be called within this framework as we do not intend to parse + store all the information required to recreate the exact Schema document being parsed. As a result, information such as annotations are ignored. When used, they method may be called multiple times for one element. This means the implementor should keep this in mind when overriding this method.
Parameters:
  text -
throws:
  SAXException -
throws:
  SAXNotSupportedException -



endElement
abstract public void endElement(String namespaceURI, String localName) throws SAXException(Code)
handles SAX end Element events. this is an opportunity to complete some post-processing
Parameters:
  namespaceURI -
Parameters:
  localName -
throws:
  SAXException -



equals
public boolean equals(Object obj)(Code)

See Also:   java.lang.Object.equals(java.lang.Object)



getHandler
abstract public XSIElementHandler getHandler(String namespaceURI, String localName) throws SAXException(Code)
This method will be used to create the XSI document. Validation and in-fix processing is expected to exist within this method, along with data logging for post-processing. This method will directly affect the stack being used to complete the parse.
Parameters:
  namespaceURI -
Parameters:
  localName - XSIElementHandler, or null
throws:
  SAXException -



getHandlerType
abstract public int getHandlerType()(Code)
Returns one of the Specified types ... intended for use by the child packages only int (DEFAULT?)



getLocalName
abstract public String getLocalName()(Code)
Returns the LocalName for this element (ie this declaration in the Schema ... so ComplexType or Sequence ...) String (not-null)



hashCode
abstract public int hashCode()(Code)

See Also:   java.lang.Object.hashCode



setLogLevel
public static void setLogLevel(Level l)(Code)

Sets the logging level for all XSIElementHandlers


Parameters:
  l -



startElement
abstract public void startElement(String namespaceURI, String localName, Attributes attr) throws SAXException(Code)
handles SAX start Element events. This is an opportunity to complete some pre-processing.
Parameters:
  namespaceURI -
Parameters:
  localName -
Parameters:
  attr -
throws:
  SAXException -



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.