com.iver.andami.persistence.generate
Class XmlEntity

java.lang.Object
  extended bycom.iver.andami.persistence.generate.XmlEntity
All Implemented Interfaces:
java.io.Serializable

public class XmlEntity
extends java.lang.Object
implements java.io.Serializable

Class XmlEntity.

Version:
$Revision: 1935 $ $Date: 2005-05-13 13:00:46 +0200 (Fri, 13 May 2005) $
See Also:
Serialized Form

Constructor Summary
XmlEntity()
           
 
Method Summary
 void addProperty(int index, Property vProperty)
          Method addProperty
 void addProperty(Property vProperty)
          Method addProperty
 java.util.Enumeration enumerateProperty()
          Method enumerateProperty
 Property[] getProperty()
          Method getProperty
 Property getProperty(int index)
          Method getProperty
 int getPropertyCount()
          Method getPropertyCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllProperty()
          Method removeAllProperty
 Property removeProperty(int index)
          Method removeProperty
 void setProperty(int index, Property vProperty)
          Method setProperty
 void setProperty(Property[] propertyArray)
          Method setProperty
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlEntity

public XmlEntity()
Method Detail

addProperty

public void addProperty(Property vProperty)
                 throws java.lang.IndexOutOfBoundsException
Method addProperty

Parameters:
vProperty -
Throws:
java.lang.IndexOutOfBoundsException

addProperty

public void addProperty(int index,
                        Property vProperty)
                 throws java.lang.IndexOutOfBoundsException
Method addProperty

Parameters:
index -
vProperty -
Throws:
java.lang.IndexOutOfBoundsException

enumerateProperty

public java.util.Enumeration enumerateProperty()
Method enumerateProperty


getProperty

public Property getProperty(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getProperty

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getProperty

public Property[] getProperty()
Method getProperty


getPropertyCount

public int getPropertyCount()
Method getPropertyCount


isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllProperty

public void removeAllProperty()
Method removeAllProperty


removeProperty

public Property removeProperty(int index)
Method removeProperty

Parameters:
index -

setProperty

public void setProperty(int index,
                        Property vProperty)
                 throws java.lang.IndexOutOfBoundsException
Method setProperty

Parameters:
index -
vProperty -
Throws:
java.lang.IndexOutOfBoundsException

setProperty

public void setProperty(Property[] propertyArray)
Method setProperty

Parameters:
propertyArray -

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException