org.geotools.xml.transform
Class TransformerBase.SchemaLocationSupport

java.lang.Object
  extended byorg.geotools.xml.transform.TransformerBase.SchemaLocationSupport
Enclosing class:
TransformerBase

public static class TransformerBase.SchemaLocationSupport
extends java.lang.Object

Adds support for schemaLocations.

Task:
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
 java.lang.String getSchemaLocation()
           
 java.lang.String getSchemaLocation(java.util.Set namespaces)
           
 java.lang.String getSchemaLocation(java.lang.String nsURI)
           
 void setLocation(java.lang.String nsURI, java.lang.String uri)
           
 
Methods inherited from class java.lang.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(java.lang.String nsURI,
                        java.lang.String uri)

getSchemaLocation

public java.lang.String getSchemaLocation()

getSchemaLocation

public java.lang.String getSchemaLocation(java.lang.String nsURI)

getSchemaLocation

public java.lang.String getSchemaLocation(java.util.Set namespaces)


Copyright © GeoTools. All Rights Reserved.