electric.xml.io.schema
Class SchemaLocations

java.lang.Object
  extended byelectric.xml.io.schema.SchemaLocations

public class SchemaLocations
extends java.lang.Object

SchemaLocations

Author:
webMethods

Constructor Summary
SchemaLocations()
           
 
Method Summary
static void addSchemaLocation(java.lang.String namespace, java.lang.String schemaLocation)
          Add a mapping from a namespace to it's schemaLocation.
static void appendImport(Element schema, java.lang.String namespace)
          This method appends an xsd:import to a schema, with the schemaLocation set to the schemaLocation connected with that namespace, if one is provided.
static void appendImport(Element schema, java.lang.String namespace, java.lang.String schemaLocation)
          This method appends an xsd:import to a schema node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaLocations

public SchemaLocations()
Method Detail

addSchemaLocation

public static void addSchemaLocation(java.lang.String namespace,
                                     java.lang.String schemaLocation)
Add a mapping from a namespace to it's schemaLocation.

Parameters:
namespace - Namespace represented in the schema.
schemaLocation - URL to find the schema.

appendImport

public static void appendImport(Element schema,
                                java.lang.String namespace)
This method appends an xsd:import to a schema, with the schemaLocation set to the schemaLocation connected with that namespace, if one is provided.

Parameters:
schema -
namespace -

appendImport

public static void appendImport(Element schema,
                                java.lang.String namespace,
                                java.lang.String schemaLocation)
This method appends an xsd:import to a schema node.

Parameters:
schema -
namespace -
schemaLocation -


copyright© 2001-2004 by webMethods All Rights Reserved.