Map hints) throws IOException, OperationNotSupportedException {
if (!canEncode(element, value, hints)) {
return;
}
PropertyIsLike lf = (PropertyIsLike) value;
AttributesImpl at = new AttributesImpl();
at.addAttribute(FilterSchema.NAMESPACE.toString(), "wildCard",
null, "string", lf.getWildCard());
at.addAttribute(FilterSchema.NAMESPACE.toString(), "singleChar",
null, "string", lf.getSingleChar());
at.addAttribute(FilterSchema.NAMESPACE.toString(), "escape", null,
"string", lf.getEscape());
output.startElement(element.getNamespace(), element.getName(), at);
elems[0].getType().encode(elems[0], lf.getExpression(), output, hints); // PropertyName
elems[1].getType().encode(elems[1], lf.getLiteral(), output, hints); // Literal
output.endElement(element.getNamespace(), element.getName());
}