org.geotools.xml.transform
Class TransformerBase.SchemaLocationSupport

Object
  extended by TransformerBase.SchemaLocationSupport
Enclosing class:
TransformerBase

public static class TransformerBase.SchemaLocationSupport
extends Object

Adds support for schemaLocations.

TODO:
REVISIT: consider combining this with NamespaceSupport, as it would make sense to just add a location to your nsURI. Or at least tie them more closely, so that you can only add a SchemaLocation if the namespace actually exists.

Constructor Summary
TransformerBase.SchemaLocationSupport()
           
 
Method Summary
 String getSchemaLocation()
           
 String getSchemaLocation(Set namespaces)
           
 String getSchemaLocation(String nsURI)
           
 void setLocation(String nsURI, String uri)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerBase.SchemaLocationSupport

public TransformerBase.SchemaLocationSupport()
Method Detail

setLocation

public void setLocation(String nsURI,
                        String uri)

getSchemaLocation

public String getSchemaLocation()

getSchemaLocation

public String getSchemaLocation(String nsURI)

getSchemaLocation

public String getSchemaLocation(Set namespaces)


Copyright © 1996-2010 Geotools. All Rights Reserved.