public class BindObjectEqualDirective extends BindDirective
Constructor and Description |
---|
BindObjectEqualDirective() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
render(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
org.apache.velocity.runtime.parser.node.Node node)
Extracts the value of the object property to render and passes control to
BindDirective.render(InternalContextAdapter, Writer, ParameterBinding) to do
the actual rendering. |
protected void |
render(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
ParameterBinding binding) |
protected void |
renderColumn(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
Object columnName,
int columnIndex) |
protected Object[] |
toArray(Object columns) |
protected Map |
toIdMap(Object object) |
bind, getChild, getType, render
public String getName()
getName
in class BindDirective
public boolean render(org.apache.velocity.context.InternalContextAdapter context, Writer writer, org.apache.velocity.runtime.parser.node.Node node) throws IOException, org.apache.velocity.exception.ResourceNotFoundException, org.apache.velocity.exception.ParseErrorException, org.apache.velocity.exception.MethodInvocationException
BindDirective
BindDirective.render(InternalContextAdapter, Writer, ParameterBinding)
to do
the actual rendering.render
in class BindDirective
IOException
org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.ParseErrorException
org.apache.velocity.exception.MethodInvocationException
protected Map toIdMap(Object object) throws org.apache.velocity.exception.ParseErrorException
org.apache.velocity.exception.ParseErrorException
protected void renderColumn(org.apache.velocity.context.InternalContextAdapter context, Writer writer, Object columnName, int columnIndex) throws IOException
IOException
protected void render(org.apache.velocity.context.InternalContextAdapter context, Writer writer, ParameterBinding binding) throws IOException
render
in class BindDirective
IOException
Copyright © 2001–2019 Apache Cayenne. All rights reserved.