org.kemet.orm.castor
Class Item
java.lang.Object
org.kemet.orm.castor.ItemType
org.kemet.orm.castor.Item
- All Implemented Interfaces:
- java.io.Serializable
public class Item
- extends ItemType
- implements java.io.Serializable
Class Item.
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Constructor Summary |
Item()
|
Methods inherited from class org.kemet.orm.castor.ItemType |
deleteName, getId, getItemTypeSequence, getItemTypeSequence2, getName, hasName, isName, setId, setItemTypeSequence, setItemTypeSequence2, setName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Item
public Item()
isValid
public boolean isValid()
- Method isValid.
- Overrides:
isValid
in class ItemType
- Returns:
- true if this object is valid according to the schema
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class ItemType
- Parameters:
out
-
- Throws:
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
marshal
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class ItemType
- Parameters:
handler
-
- Throws:
java.io.IOException
- if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
unmarshal
public static ItemType unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Method unmarshal.
- Parameters:
reader
-
- Returns:
- the unmarshaled org.kemet.orm.castor.ItemType
- Throws:
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate
in class ItemType
- Throws:
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
Copyright © 2008 F. MAUPIN. All Rights Reserved.