Class AbstractToStringXmlFunction
java.lang.Object
com.blazebit.persistence.impl.function.tostringxml.AbstractToStringXmlFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
ForXmlPathToStringXmlFunction
,GroupConcatBasedToStringXmlFunction
,PostgreSQLToStringXmlFunction
public abstract class AbstractToStringXmlFunction extends Object implements JpqlFunction
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static String
FUNCTION_NAME
-
Constructor Summary
Constructors Constructor Description AbstractToStringXmlFunction()
-
Method Summary
Modifier and Type Method Description Class<?>
getReturnType(Class<?> firstArgumentType)
boolean
hasArguments()
boolean
hasParenthesesIfNoArguments()
Object
process(CharSequence result, String[] fields)
void
render(FunctionRenderContext context)
abstract void
render(FunctionRenderContext context, String[] fields, String[] selectItemExpressions, String subquery, int fromIndex)
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractToStringXmlFunction
public AbstractToStringXmlFunction()
-
-
Method Details
-
hasArguments
public boolean hasArguments()- Specified by:
hasArguments
in interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArguments
in interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnType
in interfaceJpqlFunction
-
render
- Specified by:
render
in interfaceJpqlFunction
-
process
-
render
public abstract void render(FunctionRenderContext context, String[] fields, String[] selectItemExpressions, String subquery, int fromIndex)
-