org.clazzes.jdbc2xml.sql.impl
Class SqlIdentifierMapperFactoryImpl

java.lang.Object
  extended by org.clazzes.jdbc2xml.sql.SqlIdentifierMapperFactory
      extended by org.clazzes.jdbc2xml.sql.impl.SqlIdentifierMapperFactoryImpl
All Implemented Interfaces:
ISqlIdentifierMapperFactory

public class SqlIdentifierMapperFactoryImpl
extends SqlIdentifierMapperFactory

The default SQL identifier mapper factory implementation.

Author:
wglas

Constructor Summary
SqlIdentifierMapperFactoryImpl()
           
 
Method Summary
 SqlIdentifierMapper newMapper(String key)
           
 
Methods inherited from class org.clazzes.jdbc2xml.sql.SqlIdentifierMapperFactory
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlIdentifierMapperFactoryImpl

public SqlIdentifierMapperFactoryImpl()
Method Detail

newMapper

public SqlIdentifierMapper newMapper(String key)
Parameters:
key - The name of the mapper. Currently, id, lower and upper are supported. The id mapper performs no transformation, the lower and upper mappers perform a lower case resp. upper case transformation of the identifiers. If name is null or and unknown name is specified the id mapper is instantiated and returned.
Returns:
A mapper for SQL identifiers to their external representation.


Copyright © 2011. All Rights Reserved.