public class ChunkTypeRequest extends SlotBasedRequest
_slots, _unresolved
Constructor and Description |
---|
ChunkTypeRequest(IChunk chunk)
create a request that directly mirrors this chunk.
|
ChunkTypeRequest(IChunkType chunkType) |
ChunkTypeRequest(IChunkType chunkType,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
int |
bind(IChunk testChunk,
IModel model,
VariableBindings bindings,
boolean iterativeCall)
same idea as
IRequest.bind(IModel, VariableBindings, boolean) |
ChunkTypeRequest |
clone()
duplicate this IRequest so that the clone can
be resolved against since the process is destructive
|
IChunkType |
getChunkType() |
java.lang.String |
toString()
NOTE: this is hideous inefficient
|
addSlot, bind, bind, bindSlots, bindSlots, countMatches, getConditionalAndLogicalSlots, getConditionalSlots, getSlots, getSlots, removeSlot, resolveConditionalSlot, resolveLogicalSlot, resolveSlot, setLocked
public ChunkTypeRequest(IChunkType chunkType)
public ChunkTypeRequest(IChunkType chunkType, java.util.Collection<? extends ISlot> slots)
public ChunkTypeRequest(IChunk chunk)
chunk
- public ChunkTypeRequest clone()
IRequest
clone
in interface IRequest
clone
in class SlotBasedRequest
public IChunkType getChunkType()
public int bind(IChunk testChunk, IModel model, VariableBindings bindings, boolean iterativeCall) throws CannotMatchException
IRequest.bind(IModel, VariableBindings, boolean)
testChunk
- model
- bindings
- CannotMatchException
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()