Class QueryWriter
java.lang.Object
com.evolveum.midpoint.prism.impl.query.lang.QueryWriter
- All Implemented Interfaces:
Builder<PrismQuerySerialization>
,PrismQueryExpressionFactory.ExpressionWriter
public class QueryWriter
extends Object
implements Builder<PrismQuerySerialization>, PrismQueryExpressionFactory.ExpressionWriter
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionQueryWriter
(com.evolveum.midpoint.prism.impl.query.lang.PrismQuerySerializerImpl.SimpleBuilder target, PrismQueryExpressionFactory expressionFactory, boolean forceDefaultPrefix) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
void
void
void
writeConst
(String name) void
writeExpression
(ExpressionWrapper wrapper) void
writeFilter
(ObjectFilter filter) void
writeFilterName
(Filter.Name filter) void
writeFilterName
(QName filter) void
writeMatchingRule
(@Nullable QName matchingRule) void
writeNegatedFilter
(ObjectFilter filter) void
writeNestedFilter
(ObjectFilter condition) void
void
writeRawValue
(Object rawValue, boolean escapeQName) void
writeRawValues
(Collection<?> oids) void
writeScript
(String language, String script) void
void
writeValues
(@Nullable List<? extends PrismPropertyValue<?>> values) void
writeVariable
(ItemPath path)
-
Field Details
-
SELF_PATH_SYMBOL
- See Also:
-
-
Constructor Details
-
QueryWriter
public QueryWriter(com.evolveum.midpoint.prism.impl.query.lang.PrismQuerySerializerImpl.SimpleBuilder target, PrismQueryExpressionFactory expressionFactory, boolean forceDefaultPrefix)
-
-
Method Details
-
writeSelf
public void writeSelf() -
writePath
-
writeMatchingRule
-
writeFilterName
-
writeFilterName
-
writeFilter
-
writeNestedFilter
public void writeNestedFilter(ObjectFilter condition) throws PrismQuerySerialization.NotSupportedException -
writeNegatedFilter
public void writeNegatedFilter(ObjectFilter filter) throws PrismQuerySerialization.NotSupportedException -
writeValues
-
startNestedFilter
public void startNestedFilter() -
endNestedFilter
public void endNestedFilter() -
writeRawValue
-
writeRawValues
-
build
- Specified by:
build
in interfaceBuilder<PrismQuerySerialization>
-
writeExpression
public void writeExpression(ExpressionWrapper wrapper) throws PrismQuerySerialization.NotSupportedException -
writeConst
- Specified by:
writeConst
in interfacePrismQueryExpressionFactory.ExpressionWriter
-
writeScript
- Specified by:
writeScript
in interfacePrismQueryExpressionFactory.ExpressionWriter
-
writeVariable
- Specified by:
writeVariable
in interfacePrismQueryExpressionFactory.ExpressionWriter
-