info.magnolia.module.workflow.beancoder
Class OwfeJcrBeanCoder

java.lang.Object
  extended by openwfe.org.util.beancoder.AbstractBeanCoder
      extended by openwfe.org.jcr.beancoder.JcrBeanCoder
          extended by info.magnolia.module.workflow.beancoder.OwfeJcrBeanCoder
All Implemented Interfaces:
openwfe.org.util.beancoder.BeanCoder

public class OwfeJcrBeanCoder
extends openwfe.org.jcr.beancoder.JcrBeanCoder

An extension of JcrBeanCoder that takes care of choosing nice node names for StringAttributes...

Author:
Nicolas Modrzyk, john.mettraux@openwfe.org

Nested Class Summary
 
Nested classes/interfaces inherited from class openwfe.org.jcr.beancoder.JcrBeanCoder
openwfe.org.jcr.beancoder.JcrBeanCoder.IndexedIterator, openwfe.org.jcr.beancoder.JcrBeanCoder.ItemIterator
 
Field Summary
 
Fields inherited from class openwfe.org.jcr.beancoder.JcrBeanCoder
C_NULL, NN_ENTRY, PN_CLASS, PN_PVALUE, PN_SIZE, V_NULL
 
Fields inherited from class openwfe.org.util.beancoder.AbstractBeanCoder
T_ARRAY, T_BEAN, T_BYTE_ARRAY, T_COLLECTION, T_MAP, T_NULL, T_PRIMITIVE, T_UNKNOWN
 
Constructor Summary
OwfeJcrBeanCoder(java.lang.String ns, openwfe.org.jcr.Node startNode)
           
OwfeJcrBeanCoder(java.lang.String ns, openwfe.org.jcr.Node startNode, java.lang.String beanNodeName)
           
 
Method Summary
protected  java.lang.Object[] asPropertyMapEntry(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class openwfe.org.jcr.beancoder.JcrBeanCoder
beginArray, beginBean, beginCollection, beginElement, beginMap, beginMapEntry, beginWithClass, currentClass, currentClassName, currentFieldName, currentNode, currentPrimitiveClass, currentProperty, currentText, currentType, decode, decode, decodeBean, decodeByteArray, decodeFieldValue, decodeMapEntry, decodePrimitive, encode, encode, encode, encodeByteArray, encodeEntry, encodeField, encodeMapEntry, encodeNull, encodePrimitive, endElement, getOverrideNode, getUniqueLocalId, isSafeForAnItemName, setOverrideNode, subElementCount, subElementIterator
 
Methods inherited from class openwfe.org.util.beancoder.AbstractBeanCoder
decode, decodeArray, decodeCollection, decodeMap, determineFieldName, encodeArray, encodeBean, encodeCollection, encodeMap, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwfeJcrBeanCoder

public OwfeJcrBeanCoder(java.lang.String ns,
                        openwfe.org.jcr.Node startNode)

OwfeJcrBeanCoder

public OwfeJcrBeanCoder(java.lang.String ns,
                        openwfe.org.jcr.Node startNode,
                        java.lang.String beanNodeName)
Method Detail

asPropertyMapEntry

protected java.lang.Object[] asPropertyMapEntry(java.lang.Object key,
                                                java.lang.Object value)
Overrides:
asPropertyMapEntry in class openwfe.org.jcr.beancoder.JcrBeanCoder


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.