edu.indiana.dlib.metsnav.mets.v1_4
Class AltRecordID

java.lang.Object
  extended by edu.indiana.dlib.metsnav.mets.v1_4.AltRecordID
All Implemented Interfaces:
Serializable

public class AltRecordID
extends Object
implements Serializable

altRecordID: Alternative Record ID. This element allows for documentation of alternative ID values for the METS document in addition to the primary ID stored in the OBJID attribute in the root METS element.

See Also:
Serialized Form

Constructor Summary
AltRecordID()
           
 
Method Summary
 String getContent()
          Returns the value of field 'content'.
 String getID()
          Returns the value of field 'ID'.
 String getTYPE()
          Returns the value of field 'TYPE'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setContent(String content)
          Sets the value of field 'content'.
 void setID(String ID)
          Sets the value of field 'ID'.
 void setTYPE(String TYPE)
          Sets the value of field 'TYPE'.
static Object unmarshal(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

AltRecordID

public AltRecordID()
Method Detail

getContent

public String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
String

getID

public String getID()
Returns the value of field 'ID'. The field 'ID' has the following description: ID: an optional XML ID value

Returns:
String

getTYPE

public String getTYPE()
Returns the value of field 'TYPE'. The field 'TYPE' has the following description: TYPE: an optional string describing the type of identifier (e.g., OCLC #, LCCN, etc.).

Returns:
String

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

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

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
MarshalException
ValidationException

setContent

public void setContent(String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

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

setID

public void setID(String ID)
Sets the value of field 'ID'. The field 'ID' has the following description: ID: an optional XML ID value

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

setTYPE

public void setTYPE(String TYPE)
Sets the value of field 'TYPE'. The field 'TYPE' has the following description: TYPE: an optional string describing the type of identifier (e.g., OCLC #, LCCN, etc.).

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

unmarshal

public static Object unmarshal(Reader reader)
                        throws MarshalException,
                               ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.