org.globus.cog.abstraction.xml
Class Attribute

java.lang.Object
  extended byorg.globus.cog.abstraction.xml.Attribute
All Implemented Interfaces:
Serializable

public class Attribute
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2005/04/22 09:53:24 $
See Also:
Serialized Form

Constructor Summary
Attribute()
           
 
Method Summary
 String getName()
           
 String getValue()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void setName(String name)
           
 void setValue(String value)
           
static Attribute unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()
Method Detail

getName

public String getName()

getValue

public String getValue()

isValid

public boolean isValid()

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setName

public void setName(String name)
Parameters:
name -

setValue

public void setValue(String value)
Parameters:
value -

unmarshal

public static Attribute unmarshal(Reader reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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