org.geotools.xml

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 
org.geotools.xml
Java Source File NameTypeComment
AbstractComplexBinding.javaClass Base class for complex bindings.
AbstractComplexEMFBinding.javaClass Base class for complex bindings which map to an EMF model class.
AbstractSimpleBinding.javaClass Base class for simple bindings.
AttributeInstance.javaInterface Represents an attribute in an instance document.
Binding.javaInterface A specialized handler for a specific type in an xml schema.

Bindings have the following responsibilities.

  • Parsing components from an instance document (elements and attributes) into model objects
  • Encoding model objects as xml components
  • Sorting themselves in case multiple bindings target the same type

Type Binding

Binding objects correspond to xml schema types.
BindingConfiguration.javaInterface Resonsible for loading bindings into a container.

Strategy objects live inside a pico container.

BindingFactory.javaInterface Creates the binding for a qualified name.
BindingWalkerFactory.javaInterface Factory made available to bindings to walk over a bindign execution chain.
ComplexBinding.javaInterface A strategy for parsing elements in an instance document which are of complex type.

Complex types contain child elements, and attributes.

Configuration.javaClass Responsible for configuring a parser runtime environment.

Implementations have the following responsibilites:

  • Configuration of bindings.
  • Configuration of context used by bindings.
  • Supplying specialized handlers for looking up schemas.
  • Supplying specialized handlers for parsing schemas.
  • Declaring dependencies on other configurations

Dependencies

Configurations have dependencies on one another, that result from teh fact that one schema imports another.

DocumentFactory.javaClass SchemaFactory purpose.

This is the main entry point into the XSI parsing routines.

Example Use:


 Object x = DocumentFactory.getInstance(new URI("MyInstanceDocumentURI");
 


author:
   dzwiers, Refractions Research, Inc.
DocumentWriter.javaClass This is the thing that writes documents.
DOMParser.javaClass Parses a DOM (Document Object Model) using the geotools xml binding system.
ElementInstance.javaInterface Represents an element in an instance document.
EMFUtils.javaClass Utility methods for working with emf model objects.
Encoder.javaClass Encodes objects as xml based on a schema.

The function of the encoder is to traverse a tree of objects seializing them out as xml as it goes.

EncoderConfiguration.javaInterface Used to configure an instance of org.geotools.xml.Writer .
FacetTest.javaClass
FlowHandler.javaInterface Provides a mechanism to indicate that the XMLSAXHandler should stop parsing.
GMLInheritanceTest.javaClass
GMLParser2Test.javaClass

Big dataset tests ...

GMLParserTest.javaClass
GMLStreamingParserStressTest.javaClass
InstanceComponent.javaInterface
Node.javaInterface Represents a value in the parse tree.
OptionalComponentParameter.javaClass A pico container "parameter" which allows one to make setter injection optional.

This class is a hack of pico container...

Parser.javaClass Main interface to the geotools xml parser.

Schema Resolution

See org.geotools.xml.Configuration javadocs for instructions on how to customize schema resolution.
ParserTest.javaClass
PrintHandler.javaInterface PrintHandler accepts SAXish events and generated output.
PropertyExtractor.javaInterface Factory used by the encoder to obtain child values from objects being encoded.
SchemaFactory.javaClass SchemaFactory purpose.

This is the main entry point into the XSI parsing routines.

Example Use:


 Schema x = SchemaFactory.getInstance("MyTargetNameSpace",new URI("MyNameSpaceURI");
 


author:
   dzwiers, Refractions Research, Inc.
SchemaIndex.javaInterface
SchemaLocationResolver.javaClass Resolves a physical schema location from a namespace uri.

This class works from a org.geotools.xml.Configuration which defines information about the schema.

SchemaLocator.javaClass Creates a schema from scratch for a particular namespace.

This class works from a org.geotools.xml.Configuration which defines information about the schema.

SchemaMergeTest.javaClass
SchemaParser2Test.javaClass
SchemaParserTest.javaClass
Schemas.javaClass Utility class for performing various opreations.
SimpleBinding.javaInterface A strategy for parsing components in an instance document which are of simple type.

Simple types can be manifested in elements and in attributes.

SLDParserTest.javaClass
StreamingParser.javaClass XML parser capable of streaming.

Performs the same task as org.geotools.xml.Parser , with the addition that objects are streamed back to the client.

XmlConverterFactory.javaClass A ConverterFactory which can convert strings using javax.xml.datatype.DatatypeFactory .
XMLElementHandler.javaClass XSIElementHandler purpose.

This abstract class is intended to act as both a definition of a generic handler.


author:
   dzwiers, Refractions Research, Inc.
XMLHandlerHints.javaClass Hint object with known parameters for XML parsing.
XMLParserTest.javaClass
XMLSAXHandler.javaClass XMLSAXHandler purpose.

This is a schema content handler.

XPathPropertyAccessorFactory.javaClass PropertyAccessorFactory used to create property accessors which can handle xpath expressions against instances of Feature .
XPathPropertyAcessorTest.javaClass
XSIElementHandler.javaClass 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.
XSISAXHandler.javaClass XSISAXHandler purpose.

This is a schema handler.

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