|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.harvard.hul.ois.mets.helper.MetsElement
edu.harvard.hul.ois.mets.helper.MetsVElement
Abstract validatable element class.
| Field Summary | |
protected boolean |
_valid
Validation flag. |
| Fields inherited from class edu.harvard.hul.ois.mets.helper.MetsElement |
_attrs, _content, _localName, _namespace, _qName, _schema |
| Constructor Summary | |
MetsVElement(java.lang.String qName)
Instantiate an MetsVElement object. |
|
| Method Summary | |
boolean |
isValid()
Get the validity flag. |
void |
validate(MetsValidator v)
Validate this element and its content model using the given validator. |
void |
validateIDREFs(MetsValidator v)
Validate this element for ID/IDREF and its content model for consistency using the given validator. |
void |
validateThis(MetsValidator v)
Validate this element using the given validator. |
void |
validateThisIDREFs(MetsValidator v)
Validate this element for ID/IDREF consistency using the given validator. |
| Methods inherited from class edu.harvard.hul.ois.mets.helper.MetsElement |
getContent, getLocalName, getNamespace, getQName, getSchemas, init, read, setSchema, setSchema, write, writeSchemas |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean _valid
| Constructor Detail |
public MetsVElement(java.lang.String qName)
qName - Element local name| Method Detail |
public boolean isValid()
isValid in interface MetsValidatable
public void validate(MetsValidator v)
throws MetsException
validate in interface MetsValidatablev - Validator
MetsException - Validation exception
public void validateIDREFs(MetsValidator v)
throws MetsException
v - Validator
MetsException - Validation exception
public void validateThis(MetsValidator v)
throws MetsException
validateThis in interface MetsValidatablev - Validator
MetsException - Validation exception
public void validateThisIDREFs(MetsValidator v)
throws MetsException
v - Validator
MetsException - Validation exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||