|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.uiuc.ndiipp.hubandspoke.profile.HaSMETSValidator
public class HaSMETSValidator
Class with methods used to validate whether a METS document conforms to the Hub and Spoke METS profile or not
| Constructor Summary | |
|---|---|
HaSMETSValidator()
|
|
| Method Summary | |
|---|---|
HaSMETSAppender |
getValidationProfileAppender()
|
void |
setValidationProfileAppender(HaSMETSAppender app)
|
boolean |
validateAquiferModsDocument(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mods.ModsModsDocument modsDoc)
Validate the primary dmdSec MODS against the Aquifer MODS profile |
boolean |
validateDigiprovMDPremisEventForDmdSec(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsMdSecType dmd)
Validate the digiprovMD Premis event for a dmdSec against the requirements of the METS HaS Profile |
boolean |
validateDigiprovMDPremisEventForFile(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsFileType ft)
Validate the digiprovMD Premis event for a file against the requirements of the METS HaS Profile |
boolean |
validateDigiprovMDPremisEventForStructMap(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsStructMapType smap)
Validate the digiprovMD Premis event for a structMap against the requirements of the METS HaS Profile |
boolean |
validateFiles(HaSMETSProfile metsP,
METSProfile.PackageType pt,
boolean openEachFile)
Validate the file elements against the requirements of the METS HaS Profile |
boolean |
validatePrimaryStructMap(HaSMETSProfile metsP,
METSProfile.PackageType pt)
Validate the primary structMap against the requirements of the METS HaS Profile This always returns true because the base profile has no specific requirements for the primary structMap |
boolean |
validatePrimaryStructMapFptr(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsDivType div)
Validate that the div of the PRIMARY_STRUCTMAP contains a valid fptr This always returns true because the base profile has no specific requirements for the primary structMap Fptrs |
boolean |
validateProfile(HaSMETSProfile metsP,
METSProfile.PackageType pt)
Validate the METS document against the requirements of the METS HaS Profile |
boolean |
validateProfile(HaSMETSProfile metsP,
METSProfile.PackageType pt,
boolean openEachFile)
Validate the METS document against the requirements of the METS HaS Profile |
boolean |
validateTechMDPremisObjectForFile(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsFileType ft)
Validate the techMD Premis object for a file against the requirements of the METS HaS Profile |
boolean |
validateTechMDPremisObjectForStructMap(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsStructMapType smap)
Validate the techMD Premis object for a structMap against the requirements of the METS HaS Profile |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HaSMETSValidator()
| Method Detail |
|---|
public boolean validateAquiferModsDocument(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mods.ModsModsDocument modsDoc)
metsP - pt - modsDoc -
public boolean validateProfile(HaSMETSProfile metsP,
METSProfile.PackageType pt)
pt - The package type for the METS document, AIP, SIP, or DIP
public boolean validateTechMDPremisObjectForStructMap(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsStructMapType smap)
smap - the MetsStructMapType for the structMap which references the
techMD
public boolean validateTechMDPremisObjectForFile(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsFileType ft)
ft - the MetsFileType for the file which references the techMD
public boolean validatePrimaryStructMapFptr(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsDivType div)
div - the div whose fptr is neing validated
public boolean validatePrimaryStructMap(HaSMETSProfile metsP,
METSProfile.PackageType pt)
public boolean validateFiles(HaSMETSProfile metsP,
METSProfile.PackageType pt,
boolean openEachFile)
public boolean validateDigiprovMDPremisEventForStructMap(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsStructMapType smap)
smap - the MetsStructMapType for the structMap which references the
techMD
public boolean validateDigiprovMDPremisEventForFile(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsFileType ft)
ft - the MetsFileType for the file which references the techMD
public boolean validateDigiprovMDPremisEventForDmdSec(HaSMETSProfile metsP,
METSProfile.PackageType pt,
gov.loc.mets.MetsMdSecType dmd)
dmd - the MetsMdSecType for the dmdSec which references the
digiprovMD
public boolean validateProfile(HaSMETSProfile metsP,
METSProfile.PackageType pt,
boolean openEachFile)
pt - The package type for the METS document, AIP, SIP, or DIP
public void setValidationProfileAppender(HaSMETSAppender app)
public HaSMETSAppender getValidationProfileAppender()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||