com.opensymphony.webwork.views.xslt
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
|---|---|
AdapterFactory()
|
|
| Method Summary | |
|---|---|
Document |
adaptDocument(String propertyName,
Object propertyValue)
Create a top level Document adapter for the specified Java object. |
Node |
adaptNode(AdapterNode parent,
String propertyName,
Object value)
Create an Node adapter for a child element. |
Node |
adaptNullValue(BeanAdapter parent,
String propertyName)
Create an appropriate adapter for a null value. |
Class |
getAdapterForValue(Object value)
|
NamedNodeMap |
proxyNamedNodeMap(AdapterNode parent,
NamedNodeMap nnm)
|
Node |
proxyNode(AdapterNode parent,
Node node)
Construct a proxy adapter for a value that is an existing DOM Node. |
void |
registerAdapterType(Class type,
Class adapterType)
Register an adapter type for a Java class type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdapterFactory()
| Method Detail |
|---|
public void registerAdapterType(Class type, Class adapterType)
type - the Java class type which is to be handled by the adapter.adapterType - The adapter class, which implements AdapterNode.public Document adaptDocument(String propertyName, Object propertyValue) throws IllegalAccessException, InstantiationException
propertyName - The name of the root document element
IllegalAccessException
InstantiationExceptionpublic Node adaptNode(AdapterNode parent, String propertyName, Object value)
adaptDocument( String, Object )public Node proxyNode(AdapterNode parent, Node node)
public NamedNodeMap proxyNamedNodeMap(AdapterNode parent, NamedNodeMap nnm)
public Node adaptNullValue(BeanAdapter parent, String propertyName)
parent - propertyName - public Class getAdapterForValue(Object value)
|
WebWork Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||