com.abra.j2xb.beans.xmlModel.types
Class MoXmlContainerType

java.lang.Object
  extended by com.abra.j2xb.beans.xmlModel.types.MoXmlType
      extended by com.abra.j2xb.beans.xmlModel.types.MoXmlContainerType
Direct Known Subclasses:
MoXmlGroupByType

public class MoXmlContainerType
extends MoXmlType

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

Constructor Summary
MoXmlContainerType(MoXmlSchema schema)
           
 
Method Summary
 MoXmlElement add(MoXmlElement parent, MOValuePropertyDescriptor valuePropertyDescriptor, java.util.List<java.lang.String> groupPath, int groupLevel)
           
 MoXmlElement getChildElementByPath(MOValuePropertyDescriptor valuePropertyDescriptor, java.util.List<java.lang.String> groupPath, int groupLevel)
           
 java.util.List<MoXmlElement> getXmlChildAttributes()
           
 java.util.List<MoXmlElement> getXmlChildElements()
           
 java.util.Map<java.lang.String,MoXmlGroupElement> getXmlGroups()
           
 boolean isGlobal()
           
 void persistInstance(XmlNode targetNode, java.lang.Object sourceInstance)
           
 void printType(java.io.PrintWriter pw, java.lang.String indent, boolean writeTypeName)
           
 void readInstance(XmlNode sourceNode, java.lang.Object targetInstance, java.util.Set<MoXmlElement> suppressElements)
           
 void setGlobal(boolean global)
           
 void setSuperclassType(MoXmlContainerType xmlType)
           
 
Methods inherited from class com.abra.j2xb.beans.xmlModel.types.MoXmlType
getName, getQualifiedName, getSchema, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoXmlContainerType

public MoXmlContainerType(MoXmlSchema schema)
Method Detail

getXmlChildElements

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

getXmlChildAttributes

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

getXmlGroups

public java.util.Map<java.lang.String,MoXmlGroupElement> getXmlGroups()

add

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

getChildElementByPath

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

printType

public void printType(java.io.PrintWriter pw,
                      java.lang.String indent,
                      boolean writeTypeName)
Specified by:
printType in class MoXmlType

isGlobal

public boolean isGlobal()
Overrides:
isGlobal in class MoXmlType

setGlobal

public void setGlobal(boolean global)

persistInstance

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

readInstance

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

setSuperclassType

public void setSuperclassType(MoXmlContainerType xmlType)


Copyright © 2008. All Rights Reserved.