org.exolab.jmscts.core.meta
Class Attribute

java.lang.Object
  |
  +--org.exolab.jmscts.core.meta.Attribute
All Implemented Interfaces:
java.io.Serializable

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

Class Attribute.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Attribute()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 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 Attribute unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden
Overrides:
equals in class java.lang.Object
Parameters:
obj -  

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 org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
out -  

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 -  

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 Attribute unmarshal(java.io.Reader reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

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


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.