org.exolab.castor.mapping.xml
Class PropertyType

java.lang.Object
  extended by org.exolab.castor.mapping.xml.PropertyType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Property

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

Class PropertyType.

Version:
$Revision: 1.1 $ $Date: 2004/03/08 07:36:51 $
See Also:
Serialized Form

Constructor Summary
PropertyType()
           
 
Method Summary
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getValue()
          Returns the value of field 'value'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setValue(java.lang.String value)
          Sets the value of field 'value'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyType

public PropertyType()
Method Detail

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
the value of field 'name'.

getValue

public java.lang.String getValue()
Returns the value of field 'value'.

Returns:
the value of field 'value'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

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

Parameters:
handler -
Throws:
java.io.IOException
MarshalException
ValidationException

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

setValue

public void setValue(java.lang.String value)
Sets the value of field 'value'.

Parameters:
value - the value of field 'value'.

unmarshal

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

Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com