org.clazzes.jdbc2xml.sql.impl
Class SqlIdentifierMapperFactoryImpl
java.lang.Object
org.clazzes.jdbc2xml.sql.SqlIdentifierMapperFactory
org.clazzes.jdbc2xml.sql.impl.SqlIdentifierMapperFactoryImpl
- All Implemented Interfaces:
- ISqlIdentifierMapperFactory
public class SqlIdentifierMapperFactoryImpl
- extends SqlIdentifierMapperFactory
The default SQL identifier mapper factory implementation.
- Author:
- wglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlIdentifierMapperFactoryImpl
public SqlIdentifierMapperFactoryImpl()
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.