net.sf.retrotranslator.runtime.org.teiid.core.types.basic
Class StringToSQLXMLTransform_
java.lang.Object
org.teiid.core.types.Transform
net.sf.retrotranslator.runtime.org.teiid.core.types.basic.StringToSQLXMLTransform_
public class StringToSQLXMLTransform_
- extends Transform
|
Method Summary |
java.lang.Class<?> |
getSourceType()
Type of the incoming value. |
java.lang.Class<?> |
getTargetType()
Type of the outgoing value. |
boolean |
isExplicit()
|
static XMLType.Type |
isXml(java.io.Reader reader)
|
java.lang.Object |
transformDirect(java.lang.Object value)
This method transforms a value of the source type into a value
of the target type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringToSQLXMLTransform_
public StringToSQLXMLTransform_()
isXml
public static XMLType.Type isXml(java.io.Reader reader)
throws TransformationException
- Throws:
TransformationException
transformDirect
public java.lang.Object transformDirect(java.lang.Object value)
throws TransformationException
- This method transforms a value of the source type into a value
of the target type.
- Specified by:
transformDirect in class Transform
- Parameters:
value - Incoming value of source type
- Returns:
- Outgoing value of target type
- Throws:
TransformationException - if value is an incorrect input type or
the transformation fails
getSourceType
public java.lang.Class<?> getSourceType()
- Type of the incoming value.
- Specified by:
getSourceType in class Transform
- Returns:
- Source type
getTargetType
public java.lang.Class<?> getTargetType()
- Type of the outgoing value.
- Specified by:
getTargetType in class Transform
- Returns:
- Target type
isExplicit
public boolean isExplicit()
- Overrides:
isExplicit in class Transform
Copyright © 2011. All Rights Reserved.