org.inria.ns.reflex.processor.asl
Class SchemaBuilder

java.lang.Object
  extended by org.inria.ns.reflex.processor.catalog.Builder
      extended by org.inria.ns.reflex.processor.asl.SchemaBuilder

public class SchemaBuilder
extends Builder

A schema builder.

Use cases

Author:
Philippe Poulard

Constructor Summary
SchemaBuilder(Schema schema)
          Simply create a wrapper for the schema given.
SchemaBuilder(XFile baseURI, Object input)
          Create a builder that builds a schema ; the namespace URI is not known until the schema will be built.
SchemaBuilder(XFile baseURI, Object namespaceURI, Object input)
          Create a builder that build a schema.
 
Method Summary
 
Methods inherited from class org.inria.ns.reflex.processor.catalog.Builder
equals, getInstance, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaBuilder

public SchemaBuilder(Schema schema)
Simply create a wrapper for the schema given.

Parameters:
schema - The schema to wrap.

SchemaBuilder

public SchemaBuilder(XFile baseURI,
                     Object namespaceURI,
                     Object input)
Create a builder that build a schema.

Parameters:
baseURI - The base URI used to resolve relative files. Maybe null.
namespaceURI - The namespace URI of the schema.
input - The input to use for building the schema, that can be a ready-to-use schema.
See Also:
Schema

SchemaBuilder

public SchemaBuilder(XFile baseURI,
                     Object input)
Create a builder that builds a schema ; the namespace URI is not known until the schema will be built.

Parameters:
baseURI - The base URI used to resolve relative files. Maybe null.
input - The input to use for building the schema that can be a ready-to-use schema.
See Also:
Schema