commgrids.nuggets.wiley.schema
Class DigitalObjectIdentifier

java.lang.Object
  extended bycommgrids.nuggets.wiley.schema.DigitalObjectIdentifier
All Implemented Interfaces:
java.io.Serializable

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

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

Constructor Summary
DigitalObjectIdentifier()
           
 
Method Summary
 java.lang.String getHref()
          Returns the value of field 'href'.
 java.lang.String getLevel()
          Returns the value of field 'level'.
 java.lang.String getOrigin()
          Returns the value of field 'origin'.
 java.lang.String getRegistered()
          Returns the value of field 'registered'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setHref(java.lang.String href)
          Sets the value of field 'href'.
 void setLevel(java.lang.String level)
          Sets the value of field 'level'.
 void setOrigin(java.lang.String origin)
          Sets the value of field 'origin'.
 void setRegistered(java.lang.String registered)
          Sets the value of field 'registered'.
static DigitalObjectIdentifier unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigitalObjectIdentifier

public DigitalObjectIdentifier()
Method Detail

getHref

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

Returns:
the value of field 'href'.

getLevel

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

Returns:
the value of field 'level'.

getOrigin

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

Returns:
the value of field 'origin'.

getRegistered

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

Returns:
the value of field 'registered'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.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(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setHref

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

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

setLevel

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

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

setOrigin

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

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

setRegistered

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

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

unmarshal

public static DigitalObjectIdentifier unmarshal(java.io.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