|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.thdl.tib.bibl.GenericTibFactory | +--org.thdl.tib.bibl.IDFactory
Like its sister class, TitleFactory
, this class is used to access and display the information
in the ID section of a TIBBIBL record.
Field Summary | |
protected List |
children
|
protected Iterator |
it
|
protected Vector |
outStyles
|
protected org.thdl.tib.bibl.TibDoc |
tibDoc
|
Constructor Summary | |
protected |
IDFactory(org.thdl.tib.bibl.TibDoc td)
|
Method Summary | |
boolean |
addEditionConsulted(String[] info)
|
protected void |
addLineBreak()
|
protected void |
addSeparator()
|
void |
addSourceConsulted(String sigla,
String sourceInitials,
String sourceName)
|
protected void |
doHeader(String st)
|
protected void |
doLabel(String st)
|
protected void |
doReg(String st)
|
Element |
findEdTibid(String sigla)
|
Vector |
getEditionsConsulted()
|
String |
getEdName(String sigla)
|
String |
getMasterID()
This method returns the String version of the master ID where all the subcategories are delimited by a period, e.g. |
String |
getNumInVol(String sigla)
|
String |
getPagination(String sigla)
|
Element[] |
getSourceFiles()
|
String |
getTextNum(String sigla)
|
String |
getVolLet(String sigla)
|
String |
getVolNum(String sigla)
|
boolean |
hasEdition(String sigla)
|
protected void |
processDoc()
This methods is called as the initializing method for this class. |
void |
removeEd(String sigla)
|
protected void |
setDoc(org.thdl.tib.bibl.TibDoc td)
|
void |
setMasterID(String masterID)
This method takes a string as its parameter that is in the usual master ID format with subcategories separated by the period or the DOX_DELIM . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.thdl.tib.bibl.TibDoc tibDoc
protected Vector outStyles
protected Iterator it
protected List children
Constructor Detail |
protected IDFactory(org.thdl.tib.bibl.TibDoc td)
Method Detail |
protected void processDoc()
This methods is called as the initializing method for this class. It takes
the TibDoc
given in the constructor and processes it finding the relavant
information for its identification. It does this by reading through the TIBID elements
contained in the TIBIDDECL and extracting from their children edition name, sigla, volume
volume letter, text number, pagination.
And from the sources listed in the control info section.
processDoc
in class org.thdl.tib.bibl.GenericTibFactory
public String getMasterID()
This method returns the String version of the master ID where all the subcategories are delimited by a period, e.g. Ng1.4.2. It does this by recursively looking for a child Tibid within the master Tibid and adding the period delimiter between each of the content strings.
public void setMasterID(String masterID)
This method takes a string as its parameter that is in the usual master ID format with subcategories
separated by the period or the DOX_DELIM
. It parses it through a
StringTokenizer and using the #masterTibid
fills out the information. It does not however
set the text's number within the category but it leaves a last Tibid empty ready for that information.
public Element[] getSourceFiles()
public boolean hasEdition(String sigla)
public String getEdName(String sigla)
public String getTextNum(String sigla)
public String getVolNum(String sigla)
public String getVolLet(String sigla)
public String getNumInVol(String sigla)
public String getPagination(String sigla)
public Vector getEditionsConsulted()
public boolean addEditionConsulted(String[] info)
public void removeEd(String sigla)
public Element findEdTibid(String sigla)
public void addSourceConsulted(String sigla, String sourceInitials, String sourceName)
protected void setDoc(org.thdl.tib.bibl.TibDoc td)
protected void doReg(String st)
protected void doHeader(String st)
protected void doLabel(String st)
protected void addLineBreak()
protected void addSeparator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |