Serialized Form


Package org.devyant.decorutils.exceptions

Class org.devyant.decorutils.exceptions.DecoratorException extends java.lang.Exception implements Serializable

Class org.devyant.decorutils.exceptions.InvalidRuleFormatException extends java.lang.Exception implements Serializable

Class org.devyant.decorutils.exceptions.InvalidTagPlacementException extends javax.servlet.jsp.JspException implements Serializable


Package org.devyant.decorutils.tags.decorator

Class org.devyant.decorutils.tags.decorator.DecorateAndStoreTag extends DecorateTag implements Serializable

Serialized Fields

id

java.lang.String id
Stores the result of the decoration in the specified scope instead of printing it. If the scope is not specified, the default scope is the page scope.


toScope

java.lang.String toScope
The scope in which the result will be stored.

Class org.devyant.decorutils.tags.decorator.DecorateTag extends javax.servlet.jsp.tagext.BodyTagSupport implements Serializable

Serialized Fields

decorator

java.lang.String decorator
Decorator class to be used to decorate.


name

java.lang.String name
The name of the bean owning the property to be retrieved.


property

java.lang.String property
The name of the property to be retrieved.


scope

java.lang.String scope
The scope within which to search for the specified bean. Default is page scope.


attributes

java.lang.String attributes
A set of extra attributes that you may wish to add to your decorator through setter methods. The set of attributes should be seperated by commas (",").

The attributes may be static or dynamic. For static attributes you must indicate the name of the property and it's value in the following manner: property=value. Dynamic attributes only require the name of the bean to retrieve, which will also be the name of the property to set.

In the end, the attributes set should look something like this:

       thing, staticStuff=bla bla bla bla bla, moreStuff, evenMoreStuff
 


setPageContext

boolean setPageContext
If set to true, the decorator will be populated with the PageContext instance. Setter methods for pageContext must exist in the decorator class (setPageContext).

Default value is false.


iterate

boolean iterate
When set to true, the decorator expects a Collection of values to decorate and iterates through the Collection decorating each object seperatly.

Default value is false.

Class org.devyant.decorutils.tags.decorator.IterateAndDecorateTag extends DecorateAndStoreTag implements Serializable

Serialized Fields

items

java.util.Iterator<E> items
The items Iterator.


initRow

java.lang.reflect.Method initRow
The initRow Method.


decorator

java.lang.Object decorator
The decorator Object.


decorateMethod

java.lang.reflect.Method decorateMethod
The decorateMethod Method.


Package org.devyant.decorutils.tags.xmldecorator

Class org.devyant.decorutils.tags.xmldecorator.BaseXTag extends RuledTag implements Serializable

Serialized Fields

current

DynaNode current
The current DynaNode.


attributesCollection

java.util.Collection<E> attributesCollection
The attributes you wish to manipulate. They will be stored in the scope with the same name.

Class org.devyant.decorutils.tags.xmldecorator.RuledTag extends javax.servlet.jsp.tagext.BodyTagSupport implements Serializable

Serialized Fields

goRuleElse

boolean goRuleElse
Else is activated on each iteration and deactivated when a rule has been verified.

Class org.devyant.decorutils.tags.xmldecorator.XAttributeTag extends javax.servlet.jsp.tagext.TagSupport implements Serializable

Serialized Fields

attribute

java.lang.String attribute
The name of the attribute to fetch.

Class org.devyant.decorutils.tags.xmldecorator.XDecorateTag extends BaseXTag implements Serializable

Serialized Fields

items

java.util.Iterator<E> items
The items Iterator.


doc

java.lang.String doc
The document's path.


xpath

java.lang.String xpath
The xpath String.

Class org.devyant.decorutils.tags.xmldecorator.XNestedTag extends BaseXTag implements Serializable

Serialized Fields

items

java.util.Iterator<E> items
The items Iterator.


id

java.lang.String id
This id can be used to avoid a clash between the attributes names in the scope. The attributes will be set as [id]_[attribute].

Class org.devyant.decorutils.tags.xmldecorator.XRuleTag extends RuledTag implements Serializable

Serialized Fields

rules

java.util.Collection<E> rules
The rules.


Package org.devyant.decorutils.xml

Class org.devyant.decorutils.xml.DynaNode extends org.apache.commons.beanutils.LazyDynaBean implements Serializable

Serialized Fields

children

java.util.Collection<E> children
A Collection of child nodes.


parent

DynaNode parent
The parent DynaNode.


name

java.lang.String name
The tag's name.



Copyright © 2005 devyant. All Rights Reserved.