|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.castor.xml.Validator | +--org.exolab.castor.xml.util.XMLClassDescriptorImpl | +--org.gxos.schema.TreeObjectDescriptor | +--org.gxos.schema.EntityDescriptor | +--org.gxos.MetaObjectDescriptor
An empty class created for the sole purpose of preventing MetaObjects being printed without a tag name in the output XML. Exolab's Castor requires every generated class to have a descriptor class which provides necessary type casting rules, namespace and tag name information.
When this class is not provided, XML object marshaling cannot find the tage name, which is GXObject in this case.
By extending this class from GXObjectDescriptor, the problem is solved, and MetaObject can be marshaled with a tag name GXObject.
$Id: MetaObjectDescriptor.java,v 1.3 2001/04/23 23:21:39 balsoy Exp $
MetaObject
Constructor Summary | |
MetaObjectDescriptor()
|
Methods inherited from class org.gxos.schema.EntityDescriptor |
getAccessMode, getExtends, getIdentity, getJavaClass, getNameSpacePrefix, getNameSpaceURI, getValidator, getXMLName |
Methods inherited from class org.exolab.castor.xml.util.XMLClassDescriptorImpl |
addFieldDescriptor, getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getFieldDescriptor, getFields, removeFieldDescriptor, setCompositorAsAll, setCompositorAsChoice, setCompositorAsSequence, setExtends, setExtendsWithoutFlatten, setIdentity, setIntrospected, setJavaClass, setNameSpacePrefix, setNameSpaceURI, setXMLName, sortDescriptors, toString, toXMLName, validate, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MetaObjectDescriptor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |