de.matthias_burbach.mosaique.core.model
Class Put

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

public class Put
extends AbstractFileItem

Is the internal representation of a Tiles put element that occurs within a Tiles definition or a Tiles insert element.

Author:
Matthias Burbach

Constructor Summary
Put(Context context)
           
 
Method Summary
 int getLevel()
           
 java.lang.String getName()
           
 Definition getOwner()
           
 Definition getReferencedDefinition()
           
 java.lang.String getValue()
           
 boolean isDynamicPut()
           
 void setDynamicPut(boolean dynamicPut)
           
 void setName(java.lang.String name)
           
 void setOwner(Definition owner)
           
 void setValue(java.lang.String value)
           
 
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

Put

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

getOwner

public Definition getOwner()
Returns:
The definition putting this attribute. Is null if this is a dynamic put on a JSP within a tiles:insert element.

setOwner

public void setOwner(Definition owner)
Parameters:
owner - The definition putting this attribute. Is null if this is a dynamic put on a JSP within a tiles:insert element.

getReferencedDefinition

public Definition getReferencedDefinition()
Returns:
The definition referenced by the attributes value. Is null if the value is not the name of a Tiles definition.

getName

public java.lang.String getName()
Returns:
The name of the attribute.

setName

public void setName(java.lang.String name)
Parameters:
name - The name of the attribute.

getValue

public java.lang.String getValue()
Returns:
The value of the attribute.

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value of the attribute.

getLevel

public int getLevel()
Returns:
The level of the owner definition or -1 if there is no owner. See Definition.getLevel().

isDynamicPut

public boolean isDynamicPut()
Returns:
Is true if this put is defined on a JSP within a tiles:insert element. The default is false.

setDynamicPut

public void setDynamicPut(boolean dynamicPut)
Parameters:
dynamicPut - Is true if this put is defined on a JSP within a tiles:insert element. The default is false.


Copyright © 2005-2006 . All Rights Reserved.