|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MCRMetaInterface
This interface is designed to to have a general description of the common methode set of all metadata classes.
| Method Summary | |
|---|---|
Object |
clone()
This method make a clone of this class. |
Element |
createXML()
This methode create a XML stream for a metadata part. |
void |
debug()
This method put debug data to the logger (for the debug mode). |
void |
decrementInherited()
This method decrements the inherited value with 1. |
int |
getInherited()
This method get the inherited element. |
String |
getInheritedToString()
This method get the inherited element. |
String |
getLang()
This method get the language element. |
String |
getSubTag()
This method get the subtag element. |
String |
getType()
This method get the type element. |
void |
incrementInherited()
This method increments the inherited value with 1. |
boolean |
isValid()
This methode check the validation of the content of this class. |
void |
setFromDOM(Element element)
This methode read the XML input stream part from a DOM part for the metadata of the document. |
void |
setInherited(int value)
This method set the inherited level. |
void |
setLang(String default_lang)
This methode set the default language to the class. |
void |
setSubTag(String set_subtag)
This method set the subtag element. |
void |
setType(String set_type)
This method set the type element. |
| Method Detail |
|---|
int getInherited()
String getInheritedToString()
String getLang()
String getSubTag()
String getType()
void setInherited(int value)
value - the inherited level value, if it is < 0, 0 was setvoid incrementInherited()
void decrementInherited()
void setLang(String default_lang)
default_lang - the default language
void setSubTag(String set_subtag)
throws MCRException
set_subtag - the subtag
MCRException - if the set_subtag value is null or emptyvoid setType(String set_type)
set_type - the optional typevoid setFromDOM(Element element)
element - a relevant JDOM element for the metadata
Element createXML()
throws MCRException
MCRException - if the content of this class is not validboolean isValid()
Object clone()
void debug()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||