|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.indiana.dlib.metsnav.mets.v1_5.MdWrap
public class MdWrap
mdWrap: metadata wrapper. The mdWrap element is a generic element used throughout the METS schema to allow the encoder to place arbitrary metadata conforming to other standards/schema within a METS document. The included metadata can either be encoded in XML, in which case it may be placed directly within the mdWrap element, or it can be Base64 encoded, and placed within a subsidiary binData element.
Constructor Summary | |
---|---|
MdWrap()
|
Method Summary | |
---|---|
byte[] |
getBinData()
Returns the value of field 'binData'. |
String |
getID()
Returns the value of field 'ID'. |
String |
getLABEL()
Returns the value of field 'LABEL'. |
MdRefMDTYPEType |
getMDTYPE()
Returns the value of field 'MDTYPE'. |
String |
getMIMETYPE()
Returns the value of field 'MIMETYPE'. |
String |
getOTHERMDTYPE()
Returns the value of field 'OTHERMDTYPE'. |
XmlData |
getXmlData()
Returns the value of field 'xmlData'. |
boolean |
isValid()
Method isValid |
void |
marshal(ContentHandler handler)
Method marshal |
void |
marshal(Writer out)
Method marshal |
void |
setBinData(byte[] binData)
Sets the value of field 'binData'. |
void |
setID(String ID)
Sets the value of field 'ID'. |
void |
setLABEL(String LABEL)
Sets the value of field 'LABEL'. |
void |
setMDTYPE(MdRefMDTYPEType MDTYPE)
Sets the value of field 'MDTYPE'. |
void |
setMIMETYPE(String MIMETYPE)
Sets the value of field 'MIMETYPE'. |
void |
setOTHERMDTYPE(String OTHERMDTYPE)
Sets the value of field 'OTHERMDTYPE'. |
void |
setXmlData(XmlData xmlData)
Sets the value of field 'xmlData'. |
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 MdWrap()
Method Detail |
---|
public byte[] getBinData()
public String getID()
public String getLABEL()
public MdRefMDTYPEType getMDTYPE()
public String getMIMETYPE()
public String getOTHERMDTYPE()
public XmlData getXmlData()
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
ValidationException
public void setBinData(byte[] binData)
binData
- the value of field 'binData'.public void setID(String ID)
ID
- the value of field 'ID'.public void setLABEL(String LABEL)
LABEL
- the value of field 'LABEL'.public void setMDTYPE(MdRefMDTYPEType MDTYPE)
MDTYPE
- the value of field 'MDTYPE'.public void setMIMETYPE(String MIMETYPE)
MIMETYPE
- the value of field 'MIMETYPE'.public void setOTHERMDTYPE(String OTHERMDTYPE)
OTHERMDTYPE
- the value of field 'OTHERMDTYPE'.public void setXmlData(XmlData xmlData)
xmlData
- the value of field 'xmlData'.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 |