| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.indiana.dlib.metsnav.mets.v1_4.Agent
public class Agent
agent: METS agent. The agent element allows for various parties and their roles with respect to the METS document to be recorded.
| Constructor Summary | |
|---|---|
Agent()
 | 
|
| Method Summary | |
|---|---|
 void | 
addNote(int index,
        String vNote)
Method addNote  | 
 void | 
addNote(String vNote)
Method addNote  | 
 void | 
clearNote()
Method clearNote  | 
 Enumeration | 
enumerateNote()
Method enumerateNote  | 
 String | 
getID()
Returns the value of field 'ID'.  | 
 String | 
getName()
Returns the value of field 'name'.  | 
 String[] | 
getNote()
Method getNote  | 
 String | 
getNote(int index)
Method getNote  | 
 int | 
getNoteCount()
Method getNoteCount  | 
 String | 
getOTHERROLE()
Returns the value of field 'OTHERROLE'.  | 
 String | 
getOTHERTYPE()
Returns the value of field 'OTHERTYPE'.  | 
 AgentROLEType | 
getROLE()
Returns the value of field 'ROLE'.  | 
 AgentTYPEType | 
getTYPE()
Returns the value of field 'TYPE'.  | 
 boolean | 
isValid()
Method isValid  | 
 void | 
marshal(ContentHandler handler)
Method marshal  | 
 void | 
marshal(Writer out)
Method marshal  | 
 boolean | 
removeNote(String vNote)
Method removeNote  | 
 void | 
setID(String ID)
Sets the value of field 'ID'.  | 
 void | 
setName(String name)
Sets the value of field 'name'.  | 
 void | 
setNote(int index,
        String vNote)
Method setNote  | 
 void | 
setNote(String[] noteArray)
Method setNote  | 
 void | 
setOTHERROLE(String OTHERROLE)
Sets the value of field 'OTHERROLE'.  | 
 void | 
setOTHERTYPE(String OTHERTYPE)
Sets the value of field 'OTHERTYPE'.  | 
 void | 
setROLE(AgentROLEType ROLE)
Sets the value of field 'ROLE'.  | 
 void | 
setTYPE(AgentTYPEType 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 | 
|---|
public Agent()
| Method Detail | 
|---|
public void addNote(String vNote)
             throws IndexOutOfBoundsException
vNote - 
IndexOutOfBoundsException
public void addNote(int index,
                    String vNote)
             throws IndexOutOfBoundsException
index - vNote - 
IndexOutOfBoundsExceptionpublic void clearNote()
public Enumeration enumerateNote()
public String getID()
public String getName()
public String getNote(int index)
               throws IndexOutOfBoundsException
index - 
IndexOutOfBoundsExceptionpublic String[] getNote()
public int getNoteCount()
public String getOTHERROLE()
public String getOTHERTYPE()
public AgentROLEType getROLE()
public AgentTYPEType getTYPE()
public boolean isValid()
public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
out - 
MarshalException
ValidationException
public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
handler - 
IOException
MarshalException
ValidationExceptionpublic boolean removeNote(String vNote)
vNote - 
public void setID(String ID)
ID - the value of field 'ID'.public void setName(String name)
name - the value of field 'name'.
public void setNote(int index,
                    String vNote)
             throws IndexOutOfBoundsException
index - vNote - 
IndexOutOfBoundsExceptionpublic void setNote(String[] noteArray)
noteArray - public void setOTHERROLE(String OTHERROLE)
OTHERROLE - the value of field 'OTHERROLE'.public void setOTHERTYPE(String OTHERTYPE)
OTHERTYPE - the value of field 'OTHERTYPE'.public void setROLE(AgentROLEType ROLE)
ROLE - the value of field 'ROLE'.public void setTYPE(AgentTYPEType TYPE)
TYPE - the value of field 'TYPE'.
public static Object unmarshal(Reader reader)
                        throws MarshalException,
                               ValidationException
reader - 
MarshalException
ValidationException
public void validate()
              throws ValidationException
ValidationException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||