com.abra.j2xb.beans.xmlModel
Class MoXmlElement

java.lang.Object
  extended by com.abra.j2xb.beans.xmlModel.MoXmlElement
Direct Known Subclasses:
MoXmlChoiceElement, MoXmlChoiceElement.MoXmlChoiceOptionElement, MoXmlGroupByElement, MoXmlGroupByElement.MOXmlGroupByGroupingElement, MoXmlGroupElement, MoXmlProperty

public abstract class MoXmlElement
extends java.lang.Object

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

Constructor Summary
MoXmlElement(MoXmlElement parent)
           
 
Method Summary
 java.util.List<MoXmlElement> getChildElements()
           
abstract  java.lang.String getElementName()
           
 MoXmlElement getParentElement()
           
abstract  boolean isXmlOptional()
           
abstract  void persistInstance(XmlNode targetParentNode, java.lang.Object sourceInstance)
           
abstract  void printElement(java.io.PrintWriter pw, java.lang.String indent)
           
abstract  void readInstance(XmlNode sourceNode, java.lang.Object targetInstance, java.util.Set<MoXmlElement> suppressElements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoXmlElement

public MoXmlElement(MoXmlElement parent)
Method Detail

getChildElements

public java.util.List<MoXmlElement> getChildElements()

getParentElement

public MoXmlElement getParentElement()

getElementName

public abstract java.lang.String getElementName()

printElement

public abstract void printElement(java.io.PrintWriter pw,
                                  java.lang.String indent)

isXmlOptional

public abstract boolean isXmlOptional()

persistInstance

public abstract void persistInstance(XmlNode targetParentNode,
                                     java.lang.Object sourceInstance)
                              throws XmlPersistException
Throws:
XmlPersistException

readInstance

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


Copyright © 2008. All Rights Reserved.