net.sourceforge.ajaxtags.xml
Interface AjaxXmlBuilder.PropertyProvider<T>

Type Parameters:
T - class of items
All Known Implementing Classes:
AjaxXmlBuilder.AbstractCDataPropertyProvider, AjaxXmlBuilder.AbstractPropertyProvider
Enclosing class:
AjaxXmlBuilder

public static interface AjaxXmlBuilder.PropertyProvider<T>

Interface for property provider. Provides access to name/value/CData properties for object of any class.


Method Summary
 String getName(T item)
           
 String getValue(T item)
           
 boolean isCData(T item)
           
 

Method Detail

getName

String getName(T item)
Parameters:
item - item
Returns:
the name of the item

getValue

String getValue(T item)
Parameters:
item - item
Returns:
the value of the item

isCData

boolean isCData(T item)
Parameters:
item - item
Returns:
true if item should be added as CData


Copyright © 2005-2010 The Ajaxtags Team. All Rights Reserved.