|
||||||||||
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.FContent
public class FContent
FContent: file content. The FContent element is used to deliver a content file for a METS document within the METS file itself. The content file must be either Base 64 encoded, and contained within the subsidiary binData wrapper element, or consist of XML information and be contained within the subsidiary xmlData wrapper element.
Constructor Summary | |
---|---|
FContent()
|
Method Summary | |
---|---|
byte[] |
getBinData()
Returns the value of field 'binData'. |
String |
getID()
Returns the value of field 'ID'. |
String |
getUSE()
Returns the value of field 'USE'. |
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 |
setUSE(String USE)
Sets the value of field 'USE'. |
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 FContent()
Method Detail |
---|
public byte[] getBinData()
public String getID()
public String getUSE()
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 setUSE(String USE)
USE
- the value of field 'USE'.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 |