|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.uiuc.ndiipp.hubandspoke.profile.METSProfile
edu.uiuc.ndiipp.hubandspoke.profile.HaSMETSProfile
edu.uiuc.ndiipp.hubandspoke.profile.HaSMETSWebProfile
public class HaSMETSWebProfile
This class represents a METS XML document that conforms to the UIUC Hub and Spoke METS Web Profile. This is basically a wrapper around various XMLBeans class libraries for the different XML Schema used by the profile.
| Nested Class Summary | |
|---|---|
static class |
HaSMETSWebProfile.ArcFileDecomposition
|
static class |
HaSMETSWebProfile.WebCaptureDivision
|
| Nested classes/interfaces inherited from class edu.uiuc.ndiipp.hubandspoke.profile.METSProfile |
|---|
METSProfile.AMD_SECTION, METSProfile.DMDSecStatus, METSProfile.PackageType, METSProfile.PREMISAgentType, METSProfile.PREMISEventType, METSProfile.PREMISIdentifierType, METSProfile.PREMISLinkingAgentRole, METSProfile.PREMISObjectCategory, METSProfile.PREMISSwType, METSProfile.StructMapType, METSProfile.TechMDStatus |
| Field Summary |
|---|
| Fields inherited from class edu.uiuc.ndiipp.hubandspoke.profile.METSProfile |
|---|
AMD_NS, JHOVE_NS, METS_NS, MIX_NS, MODS_NS, PREMIS_NS, TEXTMD_NS, VMD_NS, XLINK_NS |
| Method Summary | |
|---|---|
void |
decomposeARCFiles(java.lang.String destinationPath)
If this METS document uses ARC files, decompose them and convert the METS file appropriately including generation of digiprov. |
void |
dumpArcFileRecordList()
Dump to stdout a list of all records in the each referenced ARC along with their offsets Mostly for debugging purposes |
java.io.InputStream |
getFileInputStream(gov.loc.mets.MetsFileType file)
Return an InputStream for the MetsFileType object, can accomodat either the FContent or FLocat sub-elements or sections from an ARC file |
boolean |
validateProfile(METSProfile.PackageType pt)
Validate the METS document against the requirements of the METS HaS Profile |
boolean |
validateProfile(METSProfile.PackageType pt,
HaSMETSAppender app)
Validate the METS document against the requirements of the METS HaS Profile |
| Methods inherited from class edu.uiuc.ndiipp.hubandspoke.profile.METSProfile |
|---|
createBasicPremisObject, createPremisObjectFromFile, getBaseURI, getMetsDocument, newPREMISObjectTechMD, newPREMISObjectTechMD, newPREMISObjectTechMD |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void dumpArcFileRecordList()
public java.io.InputStream getFileInputStream(gov.loc.mets.MetsFileType file)
throws HaSMETSProfileException
getFileInputStream in class HaSMETSProfilefile - the MetsFileType object for the file of interest
HaSMETSProfileException - if the stream is not accessible
public void decomposeARCFiles(java.lang.String destinationPath)
throws HaSMETSProfileException
destinationPath -
HaSMETSProfileExceptionpublic boolean validateProfile(METSProfile.PackageType pt)
HaSMETSProfile
validateProfile in class HaSMETSProfilept - the PackageType to assume for validation purposes
public boolean validateProfile(METSProfile.PackageType pt,
HaSMETSAppender app)
HaSMETSProfile
validateProfile in class HaSMETSProfilept - the PackageType to assume for validation purposesapp - HaSMETSAppender which will accumulate the log events, may be
null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||