Package org.hibernate.query.criteria
Interface JpaXmlElementExpression
- All Superinterfaces:
Expression<String>
,JpaCriteriaNode
,JpaExpression<String>
,JpaSelection<String>
,JpaTupleElement<String>
,Selection<String>
,Serializable
,TupleElement<String>
- All Known Implementing Classes:
SqmXmlElementExpression
A special expression for the
xmlelement
function.- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionattribute
(String attributeName, Expression<?> expression) Passes the givenExpression
as value for the XML attribute with the given name.content
(Expression<?>... expressions) Passes the givenExpression
s as value for the XML content of this element.content
(List<? extends Expression<?>> expressions) Passes the givenExpression
s as value for the XML content of this element.Methods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnum
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
attribute
Passes the givenExpression
as value for the XML attribute with the given name.- Returns:
this
for method chaining
-
content
Passes the givenExpression
s as value for the XML content of this element.- Returns:
this
for method chaining
-
content
Passes the givenExpression
s as value for the XML content of this element.- Returns:
this
for method chaining
-