com.abra.j2xb.beans.xmlModel
Class MoXmlBeanValuedProperty

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
Direct Known Subclasses:
MoXmlBeanCollection, MoXmlBeanProperty

public abstract class MoXmlBeanValuedProperty
extends MoXmlProperty

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
protected  MoXmlBeanDescriptor beanDescriptor
           
protected  boolean globalElementRef
           
 
Method Summary
 MoXmlBeanDescriptor getBeanDescriptor()
           
 java.lang.String getElementName()
           
protected  MoXmlBeanDescriptor getInstanceBeanDescriptor(javax.xml.namespace.QName xmlName)
           
protected  java.util.List<javax.xml.namespace.QName> getSubstitutions()
           
 boolean isGlobalElementRef()
           
protected  void persistSingleInstance(XmlNode targetParentNode, java.lang.Object value)
           
 void printElement(java.io.PrintWriter pw, java.lang.String indent)
           
protected abstract  void printElementRef(java.io.PrintWriter pw, java.lang.String indent)
           
protected abstract  void printInlineElement(java.io.PrintWriter pw, java.lang.String indent)
           
 
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, persistInstance, readInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

beanDescriptor

protected MoXmlBeanDescriptor beanDescriptor

globalElementRef

protected boolean globalElementRef
Method Detail

getBeanDescriptor

public MoXmlBeanDescriptor getBeanDescriptor()

isGlobalElementRef

public boolean isGlobalElementRef()

printElementRef

protected abstract void printElementRef(java.io.PrintWriter pw,
                                        java.lang.String indent)

printInlineElement

protected abstract void printInlineElement(java.io.PrintWriter pw,
                                           java.lang.String indent)

printElement

public void printElement(java.io.PrintWriter pw,
                         java.lang.String indent)
Specified by:
printElement in class MoXmlElement

persistSingleInstance

protected void persistSingleInstance(XmlNode targetParentNode,
                                     java.lang.Object value)
                              throws XmlPersistException
Throws:
XmlPersistException

getElementName

public java.lang.String getElementName()
Overrides:
getElementName in class MoXmlProperty

getSubstitutions

protected java.util.List<javax.xml.namespace.QName> getSubstitutions()

getInstanceBeanDescriptor

protected MoXmlBeanDescriptor getInstanceBeanDescriptor(javax.xml.namespace.QName xmlName)


Copyright © 2008. All Rights Reserved.