com.abra.j2xb.beans.xmlModel
Class MoXmlGroupElement

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

public class MoXmlGroupElement
extends MoXmlElement

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

Constructor Summary
MoXmlGroupElement(MoXmlElement parent, MoXmlSchema schema, java.lang.String groupName)
           
MoXmlGroupElement(MoXmlElement parent, MoXmlSchema schema, java.lang.String groupName, int level)
           
 
Method Summary
 MoXmlElement add(MOValuePropertyDescriptor propertyDescriptor, java.util.List<java.lang.String> groupPath)
           
 MoXmlElement getChildElement(MOValuePropertyDescriptor valuePropertyDescriptor, java.util.List<java.lang.String> groupPath, int groupLevel)
           
 java.util.List<MoXmlElement> getChildElements()
           
 java.lang.String getElementName()
           
 java.lang.String getGroupName()
           
 MoXmlContainerType getType()
           
 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)
           
 java.lang.String toString()
           
 
Methods inherited from class com.abra.j2xb.beans.xmlModel.MoXmlElement
getParentElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MoXmlGroupElement

public MoXmlGroupElement(MoXmlElement parent,
                         MoXmlSchema schema,
                         java.lang.String groupName)

MoXmlGroupElement

public MoXmlGroupElement(MoXmlElement parent,
                         MoXmlSchema schema,
                         java.lang.String groupName,
                         int level)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getGroupName

public java.lang.String getGroupName()

add

public MoXmlElement add(MOValuePropertyDescriptor propertyDescriptor,
                        java.util.List<java.lang.String> groupPath)

getChildElement

public MoXmlElement getChildElement(MOValuePropertyDescriptor valuePropertyDescriptor,
                                    java.util.List<java.lang.String> groupPath,
                                    int groupLevel)

getChildElements

public java.util.List<MoXmlElement> getChildElements()
Overrides:
getChildElements in class MoXmlElement

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

getType

public MoXmlContainerType getType()


Copyright © 2008. All Rights Reserved.