|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uio.edd.model.geo.GeoModelPersonReg
public class GeoModelPersonReg
A class for full sets of person information records.
Constructor Summary | |
---|---|
GeoModelPersonReg(GeoModelRunner inGeoModelRunner,
org.w3c.dom.Element rootNode,
GeoModelPersonTitCat inGeoModelPersonTitCat)
Creates a new set based on input data. |
Method Summary | |
---|---|
(package private) void |
addLinkPersonregNamenode(java.lang.String linkString)
Adds a link between a person element and a node representing use of the person's name. |
(package private) void |
addLinksPersonregNamenodes(org.w3c.dom.Element rootNode)
Adds a set of links between person elements and nodes representing use of the persons' names. |
(package private) void |
addSpeakerOfParagraph(java.lang.String linkString)
Adds to the person object a reference to a paragraph for which a person is the speaker. |
(package private) void |
addSpeakersOfParagraphs(org.w3c.dom.Element rootNode)
Adds to the person object a set of reference to paragraphs for which a person is the speaker. |
(package private) java.lang.String |
FormatAllPersonsFull()
A report for all persons. |
(package private) java.lang.String |
FormatAllPersonsWithParagraphsFull()
A report for all persons who has paragraphs they are speakers for. |
(package private) java.lang.String |
FormatAllSpeakersWithText()
A report consisting of all speakers with their spoken text. |
GeoModelPerson |
getGeoModelPersonFromId(int id)
Return the person object with the requested id value. |
GeoModelPerson |
getGeoModelPersonFromId(java.lang.String idTxt)
Return the person object with the requested id value. |
(package private) GeoModelPerson |
getGeoModelPersonFromPointingNodeId(java.lang.String nodeId)
Get a person element from an XML name element. |
(package private) GeoModelPerson |
getGeoModelPersonFromSpeakerNodeId(java.lang.String nodeId)
Gets a person element representing the speaker of an XML paragraph type element. |
GeoModelPerson[] |
getGeoModelPersons()
|
(package private) java.lang.String |
getGeoModelPersonsWithChangedCoref()
|
(package private) GeoModelPersonTitCat |
getGeoModelPersonTitCat()
Find the object containing the taxonomy of titles and categories for this person set. |
(package private) java.lang.String[] |
getIds(java.lang.String linkString)
Separates an XML type link string and returns the parts as a string array. |
(package private) GeoModelRunner |
getMyGeoModelRunner()
|
(package private) void |
insertCorefs(org.w3c.dom.NodeList inNodeList)
|
(package private) java.lang.String |
tableOfSpeakingPersons()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
GeoModelPersonReg(GeoModelRunner inGeoModelRunner, org.w3c.dom.Element rootNode, GeoModelPersonTitCat inGeoModelPersonTitCat) throws java.lang.NullPointerException
inGeoModelRunner
- The runner holding this object.rootNode
- A TEI node of type personList, containing one or more person
elements.inGeoModelPersonTitCat
- An object containing a taxonomy of titles and categories.
java.lang.NullPointerException
- When there is something wrong with rootNode.Method Detail |
---|
void addLinksPersonregNamenodes(org.w3c.dom.Element rootNode) throws javax.xml.datatype.DatatypeConfigurationException
rootNode
- The node whose children are link elements.
javax.xml.datatype.DatatypeConfigurationException
- On malformed links format.void addLinkPersonregNamenode(java.lang.String linkString) throws javax.xml.datatype.DatatypeConfigurationException
linkString
- An XML type link string, linking two xml:id's.
javax.xml.datatype.DatatypeConfigurationException
- On malformed link format.void addSpeakersOfParagraphs(org.w3c.dom.Element rootNode) throws javax.xml.datatype.DatatypeConfigurationException
rootNode
- The node whose children are link elements.
javax.xml.datatype.DatatypeConfigurationException
- On malformed links format.void addSpeakerOfParagraph(java.lang.String linkString) throws javax.xml.datatype.DatatypeConfigurationException
linkString
- An XML type link string, linking two xml:id's.
javax.xml.datatype.DatatypeConfigurationException
- On malformed link format.java.lang.String[] getIds(java.lang.String linkString) throws javax.xml.datatype.DatatypeConfigurationException
linkString
- The string with an XML link.
javax.xml.datatype.DatatypeConfigurationException
- If the XML link in malformed.java.lang.String FormatAllPersonsFull()
java.lang.String FormatAllPersonsWithParagraphsFull()
java.lang.String FormatAllSpeakersWithText()
GeoModelPersonTitCat getGeoModelPersonTitCat()
GeoModelPerson getGeoModelPersonFromPointingNodeId(java.lang.String nodeId)
nodeId
- The xml:id for the name element.
GeoModelPerson getGeoModelPersonFromSpeakerNodeId(java.lang.String nodeId)
nodeId
- nodeId
- The xml:id for the paragraph type element.
public GeoModelPerson getGeoModelPersonFromId(int id)
id
- The numeric ID value.
public GeoModelPerson getGeoModelPersonFromId(java.lang.String idTxt)
idTxt
- The ID value.
java.lang.String getGeoModelPersonsWithChangedCoref()
void insertCorefs(org.w3c.dom.NodeList inNodeList)
GeoModelRunner getMyGeoModelRunner()
java.lang.String tableOfSpeakingPersons()
public GeoModelPerson[] getGeoModelPersons()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |