Package Name | Comment |
codegen | |
dsml | |
dtx | |
jdo | |
log4j | |
myapp | |
oes | |
org.castor |
New root package for all new classes added to Castor as of
release 0.9.7. As discussed in
the license help file,
all new files added to the project and hence this package as of release
0.9.7 (or refactored to a great extent) will carry a new Apache-style
license.
|
org.castor.anttask |
Ant task for Castor code generator
This package contains ant task for Castor code generator.
- Author:
- Joel Farquhar
- Author:
- Bruce Snyder
|
org.castor.ddlgen |
Castor DDL Generator package
This package contains functional classes, exceptions and Main class for
DDL generator.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.db2 |
Castor DDL Generator package
This package contains final classes to create DDL for DB2.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.derby |
Castor DDL Generator package
This package contains final classes to create DDL for Derby.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.hsql |
Castor DDL Generator package
This package contains final classes to create DDL for Hsql.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.mssql |
Castor DDL Generator package
This package contains final classes to create DDL for Microsoft SQL Server.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.mysql |
Castor DDL Generator package
This package contains final classes to create DDL for MySQL.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.oracle |
Castor DDL Generator package
This package contains final classes to create DDL for Oracle.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.pointbase |
Castor DDL Generator package
This package contains final classes to create DDL for PointBase.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.postgresql |
Castor DDL Generator package
This package contains final classes to create DDL for PostgreSQL.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.sapdb |
Castor DDL Generator package
This package contains final classes to create DDL for SapDB.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.engine.sybase |
Castor DDL Generator package
This package contains final classes to create DDL for Sybase.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.keygenerator |
Castor DDL Generator package
This package contains various various key generator implementations as well as
factory classes for all of the key generators.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.schemaobject |
Castor DDL Generator package
This package contains SchemaObject's for ddl generation including Table, Field,
KeyGenerator, Index, Schema,ForeignKey and PrimaryKey. SchemaObject's support
generation of 'standard' DDL for various databases. Specific databases must
overwrite some SchemaObject's if the target DDL is different from the 'standard'.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.ddlgen.test.framework | |
org.castor.ddlgen.typeinfo |
Castor DDL Generator package
This package contains various type definitions which implement the TypeInfo
interface.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
|
org.castor.mapping | |
org.castor.test.entity | |
org.castor.util | |
org.castor.util.concurrent |
Concurrent package
This package contains classes taken from EDU.oswego.cs.dl.util.concurrent
library Version 1.3.4.
- Author:
- Doug Lea
|
org.exolab.castor.builder |
Castor XML code generator
Castor XML code generator
- Version:
- $Revision: 6713 $
- Author:
- Keith Visco
- Author:
- Arnaud Blandin
This package is primarily used with Castor XML, however some people do
use it for Castor JDO. Some incompatabilities may exist.
The class {@link org.exolab.castor.builder.SourceGenerator}
is used for creating Java source code from an XML Schema. Currently
the version of XML Schema that is supported by the SourceGenerator is
a subset of the W3C XML Schema 1.0 Recommendation (20010502).
A binding file can be used to customize
the generated sources. More information may be obtained in the Castor documentation.
The class {@link org.exolab.castor.builder.SourceGeneratorMain}
is the main(String[]) entry point used when invoking the source generator
from the command line. This class parses the command-line arguments,
sets up the proper configuration, and then passes control to
org.exolab.castor.builder.SourceGenerator .
The file org/exolab/castor/builder/castorbuilder.properties
is used for configuring some advanced options.
|
org.exolab.castor.builder.binding |
Binding File Object Model for Castor XML code generator
Binding File Object Model for Castor XML code generator
- Version:
- $Revision: 6713 $
- Author:
- Arnaud Blandin
- Author:
- Keith Visco
This package contains the object model that represents an in-memory binding file.
The binding file allows one to customize the source generated by the
Castor Source Generator.
The class {@link org.exolab.castor.builder.binding.XMLBindingComponent}
is the XML Schema driven implementation of
{@link org.exolab.castor.builder.BindingComponent} and contains the logic to bind
an XML Schema structure to a java property.
More information may be obtained in the Castor documentation.
Much of the source in this package is itself generated using the
Castor Source Generator and the schema
src/main/resources/org/exolab/castor/builder/binding/binding.xsd .
|
org.exolab.castor.builder.binding.xml | |
org.exolab.castor.builder.binding.xml.descriptors | |
org.exolab.castor.builder.binding.xml.types | |
org.exolab.castor.builder.binding.xml.types.descriptors | |
org.exolab.castor.builder.conflict.strategy | |
org.exolab.castor.builder.conflictresolution | |
org.exolab.castor.builder.descriptors | |
org.exolab.castor.builder.factory | |
org.exolab.castor.builder.info | |
org.exolab.castor.builder.types | |
org.exolab.castor.builder.util | |
org.exolab.castor.core.exceptions | |
org.exolab.castor.dsml |
DSML
The DSML API for importing/exporting LDAP directories as XML
- Version:
- $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Assaf Arkin
|
org.exolab.castor.dsml.jndi |
DSML - JNDI Implementation
DSML implementation using the JNDI API.
- Version:
- $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Assaf Arkin
|
org.exolab.castor.dsml.mozilla |
DSML - Mozilla Implementation
DSML implementation using the Mozilla Directory SDK.
- Version:
- $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Assaf Arkin
|
org.exolab.castor.dsml.schema | |
org.exolab.castor.dsml.tools | |
org.exolab.castor.mapping |
The Class Mapping API
- Version:
- $Revision: 6216 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Assaf Arkin
- Author:
- Keith Visco
This package provides a common base for the class mapping descriptors and tools to
generate mapping descriptors from a mapping file. The Java objects for the XML-based
mapping file are contained in the sub-package xml and the DTD and XML schema
originate in this package. The sub-package loader implements a mapping loader.
{@link org.exolab.castor.mapping.Mapping} serves as a generic mapping loader that can
be used to load multiple mapping files and feed them to the XML marshaller, JDO engine,
and DAX engine.
{@link org.exolab.castor.mapping.ClassDescriptor} is a mapping descriptor for a Java class,
consisting of any number of fields. {@link org.exolab.castor.mapping.FieldDescriptor} is a
mapping descriptor for a Java field within that class. Access to the field value is granted
through a {@link org.exolab.castor.mapping.FieldHandler}, obtained from the field descriptor.
The following example illustrates how to load a mapping file with the current class
loader and use it to marshal an object:
Mapping map;
Marshaller mar;
// Load the specified mapping file
map = new Mapping( getClass().getClassLoader() );
map.loadMapping( "mapping.xml" );
// Marshal the object into a document
mar = new Marshaller( output );
mar.setMapping( mapping );
mar.marshal( object );
|
org.exolab.castor.mapping.handlers | |
org.exolab.castor.mapping.loader |
Implementations for mapping interfaces and the default mapping loader.
- Version:
- $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Assaf Arkin
|
org.exolab.castor.mapping.xml |
XML objects for loading the mapping file.
The source in this package is generated using the
Castor Source Generator, the schema
src/main/resources/org/exolab/castor/mapping/mapping.xsd ,
and the mapping file
src/main/resources/org/exolab/castor/mapping/mapping-binding.xml .
|
org.exolab.castor.mapping.xml.types | |
org.exolab.castor.net | |
org.exolab.castor.net.util | |
org.exolab.castor.tools |
Command line tools
- Version:
- $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Assaf Arkin
- Author:
- Keith Visco
|
org.exolab.castor.tools.ant.taskdefs |
Ant task for Castor code generator
This package contains ant task for Castor code generator.
- Author:
- Joel Farquhar
- Author:
- Bruce Snyder
|
org.exolab.castor.types |
The Castor implementation of specific XML Schema Types
- Version:
- $Revision: 6213 $
- Author:
- Arnaud Blandin
This package contains the implementation of the date/time datatypes defined in
W3C XML Schema 1.0 Recommendation. Those types are needed by the marshalling
framework and the source generator.
|
org.exolab.castor.util |
Utility classes used by Castor.
- Version:
- $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Assaf Arkin
- Author:
- Keith Visco
|
org.exolab.castor.util.dialog | |
org.exolab.castor.xml |
The XML Marshaller API
- Version:
- $Revision: 6213 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Keith Visco
{@link org.exolab.castor.xml.Marshaller} marshalls a Java object into an XML document.
{@link org.exolab.castor.xml.Unmarshaller} unmarshalls an XML document back into a Java
object.
The following example unmarshals the XML document product.xml into a
Product object, performs simple changes to the object and then marshals it
back into an XML document.
Product prod;
File file;
file = new File( "product.xml" );
// Unmarshal the document into an object
prod = (Product) Unmarshaller.unmarshal( Product.class, new FileReader( file ) );
// A 25% mark down for each product and mark as sale
prod.markDown( 0.25 );
prod.setOnSale( true );
// Marshal the object into a document
Marshaller.marshal( Product, new FileWriter( file ) );
In addition to static methods, marshaller objects can be created and set with a variety
of options affecting how they will operation. The above example adapted to use a specific
mapping file:
Mapping map;
Unmarshaller umr;
Marshaller mar;
// Load the specified mapping file
map = new Mapping();
map.loadMapping( "mapping.xml" );
// Unmarshal the document into an object
umr = new Unmarshaller( Product.class );
umr.setMapping( mapping );
prod = (Product) umr.unmarshal( new FileReader( file ) );
: : :
// Marshal the object into a document
mar = new Marshaller( new FileWriter( file ) );
mar.setMapping( mapping );
mar.marshal( Product );
|
org.exolab.castor.xml.descriptors | |
org.exolab.castor.xml.dtd |
The XML DTD Object Model
- Version:
- $Revision: 6213 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Alexander Totok
This package is an implementation of the XML DTD specification.
The XML DTD object model does not implement:
The XML DTD object model is fully compliant with the current
XML specification,
unless otherwise is stated.
This package also contains the class {@link org.exolab.castor.xml.dtd.Converter Converter},
which provides static top-level methods to parse and convert XML DTD
documents to corresponding XML Schema documents. It also contains a simple
command line interface to read an XML DTD file and create a corresponding
XML Schema file.
|
org.exolab.castor.xml.dtd.parser |
The XML DTD Parser API
- Version:
- $Revision: 6213 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Alexander Totok
This package consists of two parsers:
The parser is fully compliant with the current
XML specification,
unless otherwise is stated, for instance it is able to parse Unicode text,
provided the {@link java.io.Reader java.io.Reader} used to instantiate
the parser is correctly set up.
The structure of the package:
The parser was written using JavaCC
(Java Compiler Compiler) - an automated tool to generate Java programming
language parsers.
This package consists of the following classes and files:
The following example parses the XML DTD file dtd-document.dtd
and constructs the corresponding
{@link org.exolab.castor.xml.dtd.DTDdocument XML DTD document} object dtd.
FileInputStream inputStream;
InputStreamReader reader;
InputCharStream charStream;
DTDInitialParser initialParser;
String intermedResult;
StringReader strReader;
DTDParser parser;
DTDdocument dtd;
// instantiate input byte stream, associated with the input file
inputStream = new FileInputStream( "dtd-document.dtd" );
// instantiate character reader from the input file byte stream
reader = new InputStreamReader( inputStream, "US-ASCII" );
// instantiate char stream for initial parser from the input reader
charStream = new InputCharStream( reader );
// instantiate initial parser
initialParser = new DTDInitialParser( charStream );
// get result of initial parsing - DTD text document with parameter
// entity references expanded
intermedResult = initialParser.Input();
// construct StringReader from the intermediate parsing result
strReader= new StringReader( intermedResult );
// instantiate char stream for the main parser
charStream = new InputCharStream( strReader );
// instantiate main parser
parser = new DTDParser( charStream );
// parse intermediate parsing result with the main parser
// and get corresponding DTD document oblect
dtd = parser.Input();
|
org.exolab.castor.xml.handlers | |
org.exolab.castor.xml.location | |
org.exolab.castor.xml.schema | |
org.exolab.castor.xml.schema.reader | |
org.exolab.castor.xml.schema.simpletypes | |
org.exolab.castor.xml.schema.simpletypes.factory | |
org.exolab.castor.xml.schema.util | |
org.exolab.castor.xml.schema.writer | |
org.exolab.castor.xml.util | |
org.exolab.castor.xml.validators | |
org.exolab.castor.xml.wls8 | |
org.exolab.javasource |
Java Source classes for Castor XML code generator
This package contains classes that represent Java Source objects for Castor XML
code generator.
- Author:
- Keith Visco
- Author:
- Martin Skopp
- Author:
- Gary Shea
- Author:
- Andrew Fawcett
- Author:
- Werner Guttmann
- Author:
- Ralf Joachim
|
tools | |