com.abra.j2xb.beans.xmlModel
Class MoXmlSimpleProperty
java.lang.Object
com.abra.j2xb.beans.xmlModel.MoXmlElement
com.abra.j2xb.beans.xmlModel.MoXmlProperty
com.abra.j2xb.beans.xmlModel.MoXmlSimpleProperty
public class MoXmlSimpleProperty
- extends MoXmlProperty
- Since:
- JDK1.5
- Version:
- 1.0, May 1, 2008
- Author:
- Yoav Abrahami
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MoXmlSimpleProperty
public MoXmlSimpleProperty(MoXmlElement parent,
MoXmlSchema schema,
MOPropertyDescriptor propertyDescriptor)
getEnumTypeKey
public static java.lang.String getEnumTypeKey(java.lang.Class<?> enumType)
printElement
public void printElement(java.io.PrintWriter pw,
java.lang.String indent)
- Specified by:
printElement
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
getXmlLocation
public MoXmlProperty.XmlLocation getXmlLocation()
- Overrides:
getXmlLocation
in class MoXmlProperty
isSimpleType
public static boolean isSimpleType(MOPropertyDescriptor propertyDescriptor)
getType
public MoXmlType getType()
isXmlAttribute
public boolean isXmlAttribute()
getValue
public java.lang.Object getValue(XmlNode sourceNode)
throws MOBeansException
- Throws:
MOBeansException
Copyright © 2008. All Rights Reserved.