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, renderpublic String getName()
getName in class BindDirectivepublic 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
BindDirectiveBindDirective.render(InternalContextAdapter, Writer, ParameterBinding) to do the actual
rendering.render in class BindDirectiveIOExceptionorg.apache.velocity.exception.ResourceNotFoundExceptionorg.apache.velocity.exception.ParseErrorExceptionorg.apache.velocity.exception.MethodInvocationExceptionprotected Map toIdMap(Object object) throws org.apache.velocity.exception.ParseErrorException
org.apache.velocity.exception.ParseErrorExceptionprotected void renderColumn(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
Object columnName,
int columnIndex)
throws IOException
IOExceptionprotected void render(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
ParameterBinding binding)
throws IOException
render in class BindDirectiveIOExceptionCopyright © 2001–2018 Apache Cayenne. All rights reserved.