|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.commonTypes.Source
public class Source
The local identifier of a person, organization of bibliographic resource that played a role in the creation or maintenance of a resource.
Constructor Summary | |
---|---|
Source()
|
|
Source(java.lang.String defaultValue)
|
Method Summary | |
---|---|
java.lang.String |
getContent()
Returns the value of field 'content'. |
java.lang.String |
getRole()
Returns the value of field 'role'. |
java.lang.String |
getSubRef()
Returns the value of field 'subRef'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setContent(java.lang.String content)
Sets the value of field 'content'. |
void |
setRole(java.lang.String role)
Sets the value of field 'role'. |
void |
setSubRef(java.lang.String subRef)
Sets the value of field 'subRef'. |
static Source |
unmarshalSource(java.io.Reader reader)
Method unmarshalSource. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Source()
public Source(java.lang.String defaultValue)
Method Detail |
---|
public java.lang.String getContent()
public java.lang.String getRole()
public java.lang.String getSubRef()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
- if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setContent(java.lang.String content)
content
- the value of field 'content'.public void setRole(java.lang.String role)
role
- the value of field 'role'.public void setSubRef(java.lang.String subRef)
subRef
- the value of field 'subRef'.public static Source unmarshalSource(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |