com.abra.j2xb.beans.xmlModel
Class MoXmlChoiceElement

java.lang.Object
  extended by com.abra.j2xb.beans.xmlModel.MoXmlElement
      extended by com.abra.j2xb.beans.xmlModel.MoXmlChoiceElement

public class MoXmlChoiceElement
extends MoXmlElement

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

Nested Class Summary
 class MoXmlChoiceElement.MoXmlChoiceOptionElement
           
 
Constructor Summary
MoXmlChoiceElement(MoXmlElement parent, MoXmlSchema schema, MOChoicePropertyDescriptor propertyDescriptor)
           
 
Method Summary
 java.lang.String getElementName()
           
 MOValuePropertyDescriptor getPropertyDescriptor()
           
 boolean isXmlOptional()
           
 void persistInstance(XmlNode targetParentNode, java.lang.Object sourceInstance)
           
 void printElement(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.MoXmlElement
getChildElements, getParentElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoXmlChoiceElement

public MoXmlChoiceElement(MoXmlElement parent,
                          MoXmlSchema schema,
                          MOChoicePropertyDescriptor propertyDescriptor)
Method Detail

getElementName

public java.lang.String getElementName()
Specified by:
getElementName in class MoXmlElement

printElement

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

isXmlOptional

public boolean isXmlOptional()
Specified by:
isXmlOptional in class MoXmlElement

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

getPropertyDescriptor

public MOValuePropertyDescriptor getPropertyDescriptor()


Copyright © 2008. All Rights Reserved.