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

java.lang.Object
  extended by com.abra.j2xb.beans.xmlModel.types.MoXmlType
      extended by com.abra.j2xb.beans.xmlModel.types.MoXmlAbstractSimpleType
          extended by com.abra.j2xb.beans.xmlModel.types.MoXmlSimpleType

public class MoXmlSimpleType
extends MoXmlAbstractSimpleType

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

Field Summary
 
Fields inherited from class com.abra.j2xb.beans.xmlModel.types.MoXmlAbstractSimpleType
simpleTypeDescriptors
 
Constructor Summary
MoXmlSimpleType(MoXmlSchema xmlSchema, MOPropertySimpleTypeDescriptor simpleTypeDescriptor)
           
MoXmlSimpleType(MoXmlSchema xmlSchema, MOPropertySimpleTypeDescriptor simpleTypeDescriptor, java.lang.String globalTypeName)
           
 
Method Summary
 java.lang.String getQualifiedName()
           
 boolean isBuiltinSimpleType()
           
 void persistInstance(MOJavaValueDescriptor javaValueDescriptor, XmlNode parentTargetNode, java.lang.Object value, MoXmlSchema elementSchema, java.lang.String elementName, XmlNode.ChildLocation location)
           
 void persistInstances(MOJavaValueDescriptor javaValueDescriptor, XmlNode parentTargetNode, java.util.Collection<java.lang.Object> values, MoXmlSchema elementSchema, java.lang.String elementName)
           
 void persistInstancesAsList(MOJavaValueDescriptor javaValueDescriptor, XmlNode targetParentNode, java.util.Collection<java.lang.Object> values, MoXmlSchema elementSchema, java.lang.String elementName)
           
 void printType(java.io.PrintWriter pw, java.lang.String indent, boolean writeTypeName)
           
 java.lang.Object readInstance(MOJavaValueDescriptor javaValueDescriptor, XmlNode sourceNode, MoXmlSchema elementSchema, java.lang.String elementName, XmlNode.ChildLocation location)
           
 java.util.List<java.lang.Object> readInstances(MOJavaValueDescriptor javaValueDescriptor, XmlNode sourceNode, java.lang.String elementName)
           
 java.util.List<java.lang.Object> readInstancesAsList(MOJavaValueDescriptor javaValueDescriptor, XmlNode sourceNode, java.lang.String elementName)
           
 
Methods inherited from class com.abra.j2xb.beans.xmlModel.types.MoXmlAbstractSimpleType
createSimpleType, createSimpleType, fromXmlValue, isGlobal, toXmlValue
 
Methods inherited from class com.abra.j2xb.beans.xmlModel.types.MoXmlType
getName, getSchema, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoXmlSimpleType

public MoXmlSimpleType(MoXmlSchema xmlSchema,
                       MOPropertySimpleTypeDescriptor simpleTypeDescriptor,
                       java.lang.String globalTypeName)

MoXmlSimpleType

public MoXmlSimpleType(MoXmlSchema xmlSchema,
                       MOPropertySimpleTypeDescriptor simpleTypeDescriptor)
Method Detail

isBuiltinSimpleType

public boolean isBuiltinSimpleType()
Specified by:
isBuiltinSimpleType in class MoXmlAbstractSimpleType

getQualifiedName

public java.lang.String getQualifiedName()
Overrides:
getQualifiedName in class MoXmlType

persistInstance

public void persistInstance(MOJavaValueDescriptor javaValueDescriptor,
                            XmlNode parentTargetNode,
                            java.lang.Object value,
                            MoXmlSchema elementSchema,
                            java.lang.String elementName,
                            XmlNode.ChildLocation location)
                     throws XmlPersistException,
                            MOBeansPropertyAccessException,
                            MOBeansException
Specified by:
persistInstance in class MoXmlAbstractSimpleType
Throws:
XmlPersistException
MOBeansPropertyAccessException
MOBeansException

persistInstances

public void persistInstances(MOJavaValueDescriptor javaValueDescriptor,
                             XmlNode parentTargetNode,
                             java.util.Collection<java.lang.Object> values,
                             MoXmlSchema elementSchema,
                             java.lang.String elementName)
                      throws XmlPersistException
Specified by:
persistInstances in class MoXmlAbstractSimpleType
Throws:
XmlPersistException

persistInstancesAsList

public void persistInstancesAsList(MOJavaValueDescriptor javaValueDescriptor,
                                   XmlNode targetParentNode,
                                   java.util.Collection<java.lang.Object> values,
                                   MoXmlSchema elementSchema,
                                   java.lang.String elementName)
                            throws XmlPersistException
Specified by:
persistInstancesAsList in class MoXmlAbstractSimpleType
Throws:
XmlPersistException

readInstancesAsList

public java.util.List<java.lang.Object> readInstancesAsList(MOJavaValueDescriptor javaValueDescriptor,
                                                            XmlNode sourceNode,
                                                            java.lang.String elementName)
                                                     throws MOBeansException
Specified by:
readInstancesAsList in class MoXmlAbstractSimpleType
Throws:
MOBeansException

readInstance

public java.lang.Object readInstance(MOJavaValueDescriptor javaValueDescriptor,
                                     XmlNode sourceNode,
                                     MoXmlSchema elementSchema,
                                     java.lang.String elementName,
                                     XmlNode.ChildLocation location)
                              throws MOBeansException
Specified by:
readInstance in class MoXmlAbstractSimpleType
Throws:
MOBeansException

readInstances

public java.util.List<java.lang.Object> readInstances(MOJavaValueDescriptor javaValueDescriptor,
                                                      XmlNode sourceNode,
                                                      java.lang.String elementName)
                                               throws XmlPersistException,
                                                      MOBeansException
Specified by:
readInstances in class MoXmlAbstractSimpleType
Throws:
XmlPersistException
MOBeansException

printType

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


Copyright © 2008. All Rights Reserved.