com.abra.j2xb.beans.xmlModel
Class MoXmlBeanProperty

java.lang.Object
  extended by com.abra.j2xb.beans.xmlModel.MoXmlElement
      extended by com.abra.j2xb.beans.xmlModel.MoXmlProperty
          extended by com.abra.j2xb.beans.xmlModel.MoXmlBeanValuedProperty
              extended by com.abra.j2xb.beans.xmlModel.MoXmlBeanProperty

public class MoXmlBeanProperty
extends MoXmlBeanValuedProperty

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami

Nested Class Summary
 
Nested classes/interfaces inherited from class com.abra.j2xb.beans.xmlModel.MoXmlProperty
MoXmlProperty.XmlLocation
 
Field Summary
 
Fields inherited from class com.abra.j2xb.beans.xmlModel.MoXmlBeanValuedProperty
beanDescriptor, globalElementRef
 
Method Summary
static boolean isBeanProperty(MOPropertyDescriptor propertyDescriptor)
           
 void persistInstance(XmlNode targetParentNode, java.lang.Object sourceInstance)
           
protected  void printElementRef(java.io.PrintWriter pw, java.lang.String indent)
           
protected  void printInlineElement(java.io.PrintWriter pw, java.lang.String indent)
           
 void readInstance(XmlNode sourceNode, java.lang.Object targetInstance, java.util.Set<MoXmlElement> suppressElements)
           
 
Methods inherited from class com.abra.j2xb.beans.xmlModel.MoXmlBeanValuedProperty
getBeanDescriptor, getElementName, getInstanceBeanDescriptor, getSubstitutions, isGlobalElementRef, persistSingleInstance, printElement
 
Methods inherited from class com.abra.j2xb.beans.xmlModel.MoXmlProperty
createMoXmlProperty, getJavaType, getPropertyDescriptor, getSchema, getXmlLocation, isXmlOptional, toString
 
Methods inherited from class com.abra.j2xb.beans.xmlModel.MoXmlElement
getChildElements, getParentElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

printElementRef

protected void printElementRef(java.io.PrintWriter pw,
                               java.lang.String indent)
Specified by:
printElementRef in class MoXmlBeanValuedProperty

printInlineElement

protected void printInlineElement(java.io.PrintWriter pw,
                                  java.lang.String indent)
Specified by:
printInlineElement in class MoXmlBeanValuedProperty

persistInstance

public void persistInstance(XmlNode targetParentNode,
                            java.lang.Object sourceInstance)
                     throws XmlPersistException
Specified by:
persistInstance in class MoXmlElement
Throws:
XmlPersistException

readInstance

public void readInstance(XmlNode sourceNode,
                         java.lang.Object targetInstance,
                         java.util.Set<MoXmlElement> suppressElements)
                  throws XmlPersistException
Specified by:
readInstance in class MoXmlElement
Throws:
XmlPersistException

isBeanProperty

public static boolean isBeanProperty(MOPropertyDescriptor propertyDescriptor)


Copyright © 2008. All Rights Reserved.