com.calitha.xml
Class SchemaLocationBuilder

java.lang.Object
  extended by com.calitha.xml.SchemaLocationBuilder

public final class SchemaLocationBuilder
extends Object

The SchemaLocationBuilder builds an external Schema Location String.

The location can be composed of multiple locations for multiple namespaces.

Author:
Robert van Loenhout

Constructor Summary
SchemaLocationBuilder()
           
 
Method Summary
 void add(String namespace, String location)
           
 void add(String namespace, URL location)
           
 String toExternalSchemaLocation()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaLocationBuilder

public SchemaLocationBuilder()
Method Detail

add

public void add(String namespace,
                String location)

add

public void add(String namespace,
                URL location)

toExternalSchemaLocation

public String toExternalSchemaLocation()

toString

public String toString()
Overrides:
toString in class Object