|
|||||||||||
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 | |
(package private) Element |
altid
IDFactory is a helper class that takes a TibDoc in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. |
(package private) Attribute |
att
|
(package private) Element |
child
|
protected List |
children
|
(package private) Hashtable |
ed_names
|
(package private) Element[] |
ed_tibids
|
(package private) Vector |
editions
|
(package private) Element |
grandparent
|
protected Iterator |
it
|
(package private) Element |
masterTibid
IDFactory is a helper class that takes a TibDoc in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. |
(package private) Element |
num
|
(package private) Hashtable |
num_in_vols
|
(package private) Element[] |
nums
|
protected Vector |
outStyles
|
(package private) Hashtable |
pages
|
(package private) Element |
pagination
IDFactory is a helper class that takes a TibDoc in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. |
(package private) Element |
parent
|
(package private) Element |
physdecl
IDFactory is a helper class that takes a TibDoc in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. |
(package private) String |
sigla
|
(package private) Element |
sourceFiles
|
(package private) Hashtable |
textNums
|
protected org.thdl.tib.bibl.TibDoc |
tibDoc
|
(package private) Element |
tibid
IDFactory is a helper class that takes a TibDoc in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. |
(package private) Element |
tibidDecl
IDFactory is a helper class that takes a TibDoc in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. |
(package private) Element |
topTibid
IDFactory is a helper class that takes a TibDoc in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. |
(package private) String |
value
|
(package private) Hashtable |
vol_lets
|
(package private) Hashtable |
vols
|
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 |
Element tibidDecl
IDFactory is a helper class that takes a TibDoc
in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. This information has to do with
the identification of the text. ID numbers and so forth.
Element topTibid
IDFactory is a helper class that takes a TibDoc
in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. This information has to do with
the identification of the text. ID numbers and so forth.
Element masterTibid
IDFactory is a helper class that takes a TibDoc
in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. This information has to do with
the identification of the text. ID numbers and so forth.
Element tibid
IDFactory is a helper class that takes a TibDoc
in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. This information has to do with
the identification of the text. ID numbers and so forth.
Element altid
IDFactory is a helper class that takes a TibDoc
in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. This information has to do with
the identification of the text. ID numbers and so forth.
Element physdecl
IDFactory is a helper class that takes a TibDoc
in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. This information has to do with
the identification of the text. ID numbers and so forth.
Element pagination
IDFactory is a helper class that takes a TibDoc
in its constructor,
processes that doc so that certain information (tags and data) within it is
easily accessible for display and modification. This information has to do with
the identification of the text. ID numbers and so forth.
Element num
Element sourceFiles
Element[] ed_tibids
Element[] nums
Attribute att
String sigla
String value
Vector editions
Hashtable ed_names
Hashtable textNums
Hashtable vols
Hashtable vol_lets
Hashtable num_in_vols
Hashtable pages
protected org.thdl.tib.bibl.TibDoc tibDoc
protected Vector outStyles
protected Iterator it
Element grandparent
Element parent
Element child
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 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 |