de.matthias_burbach.mosaique.core.model
Class Insert

java.lang.Object
  extended byde.matthias_burbach.mosaique.core.model.AbstractFileItem
      extended byde.matthias_burbach.mosaique.core.model.Insert

public class Insert
extends AbstractFileItem

Is the internal representation of a Tiles insert element defined on a JSP in order to insert/include a Tile.

Author:
Matthias Burbach

Constructor Summary
Insert(Context context)
           
 
Method Summary
 java.lang.String getAttribute()
           
 Definition getDefinition(TilesContext tilesContext)
           
 java.util.List getPuts()
           
 void setAttribute(java.lang.String attribute)
           
 void setPuts(java.util.List puts)
           
 
Methods inherited from class de.matthias_burbach.mosaique.core.model.AbstractFileItem
getBegin, getContext, getDefinitionResolver, getEnd, getFilePath, getJspResolver, getMessage, getPrimarySearchText, getSecondarySearchText, isErroneous, setBegin, setContext, setEnd, setErroneous, setFilePath, setMessage, setPrimarySearchText, setSecondarySearchText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Insert

public Insert(Context context)
Parameters:
context - The context to use by this instance.
Method Detail

getAttribute

public java.lang.String getAttribute()
Returns:
The attribute naming the alias of the definition to insert.

setAttribute

public void setAttribute(java.lang.String attribute)
Parameters:
attribute - The attribute naming the alias of the definition to insert.

getDefinition

public Definition getDefinition(TilesContext tilesContext)
Parameters:
tilesContext - The Tiles context to evaluate the definition alias.
Returns:
The definition inserted by this insert element resolved from the definition's alias using the Tile's context passed in.

getPuts

public java.util.List getPuts()
Returns:
The put attributes defined in the body of this insert element that add to the Tiles context when the definition is inserted.

setPuts

public void setPuts(java.util.List puts)
Parameters:
puts - The put attributes defined in the body of this insert element that add to the Tiles context when the definition is inserted.


Copyright © 2005-2006 . All Rights Reserved.