com.abra.j2xb.beans.xmlModel.types
Class MoXmlSimpleType
java.lang.Object
com.abra.j2xb.beans.xmlModel.types.MoXmlType
com.abra.j2xb.beans.xmlModel.types.MoXmlAbstractSimpleType
com.abra.j2xb.beans.xmlModel.types.MoXmlSimpleType
public class MoXmlSimpleType
- extends MoXmlAbstractSimpleType
- Since:
- JDK1.5
- Version:
- 1.0, May 1, 2008
- Author:
- Yoav Abrahami
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoXmlSimpleType
public MoXmlSimpleType(MoXmlSchema xmlSchema,
MOPropertySimpleTypeDescriptor simpleTypeDescriptor,
java.lang.String globalTypeName)
MoXmlSimpleType
public MoXmlSimpleType(MoXmlSchema xmlSchema,
MOPropertySimpleTypeDescriptor simpleTypeDescriptor)
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.