|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.index.reader.DocReader
org.dlese.dpc.index.reader.FileIndexingServiceDocReader
org.dlese.dpc.index.reader.XMLDocReader
org.dlese.dpc.index.reader.ItemDocReader
public class ItemDocReader
A bean for accessing the data stored in a Lucene Document that was
indexed from a DLESE item-level metadata record, such as ADN. The index writer that is responsible for
creating this type of Lucene Document is a ItemFileIndexingWriter.
ItemFileIndexingWriter,
Serialized Form| Nested Class Summary | |
|---|---|
class |
ItemDocReader.RelatedResource
Data for a related resource. |
| Nested classes/interfaces inherited from class org.dlese.dpc.index.reader.XMLDocReader |
|---|
XMLDocReader.VocabUiLabelsCollection |
| Field Summary |
|---|
| Fields inherited from class org.dlese.dpc.index.reader.XMLDocReader |
|---|
metadataVocab, recordDataService, repositoryManager |
| Fields inherited from class org.dlese.dpc.index.reader.DocReader |
|---|
conf, doc, resultDoc, score |
| Constructor Summary | |
|---|---|
ItemDocReader()
Constructor for the ItemDocReader object |
|
ItemDocReader(org.apache.lucene.document.Document doc,
SimpleLuceneIndex index)
Constructor that may be used programatically to wrap a reader around a Lucene Document created by a ItemFileIndexingWriter. |
|
| Method Summary | |
|---|---|
String |
getAccessionDate()
Gets the accession date as a String. |
Date |
getAccessionDateDate()
Gets the accession date as a Java Date. |
String |
getAccessionStatus()
Gets the AccessionStatus for this record. |
String[] |
getAllAssociatedCollectionKeys()
Gets the collection keys for all collections that are associated with this resource including collections that are not enabled. |
String[] |
getAllIds()
Gets all the IDs associated with this resource, including this record's ID. |
ResultDocList |
getAllItemResultDocs()
Gets the ItemDocReaders for all records that refer to this resource. |
String[] |
getAnnoCollectionKeys()
Gets the annotataion collection keys, for example {06, 08}, for all collections that annotate this item. |
ArrayList |
getAnnoFormats()
Gets the annotation formats that are associated with this item. |
ArrayList |
getAnnoPathways()
Gets the anno pathways that are associated with this record. |
String[] |
getAnnoRatings()
Gets a String array of all annotation star ratings for this item in numerical form from 1 to 5, or null if none. |
ArrayList |
getAnnoStatus()
Gets the annotation statuses that are associated with this item. |
ResultDocList |
getAnnotationResultDocs()
Gets the ResultDocs for all annotations that refer to this resource. |
String[] |
getAnnoTypes()
Gets the anno types that are associated with this record. |
ArrayList |
getAssociatedCollectionKeys()
Gets the collection keys for all enabled collections that are associated with this resource. |
String[] |
getAssociatedIds()
Gets the IDs of records that refer to the same resource, not including this record's ID. |
ResultDocList |
getAssociatedItemResultDocs()
Gets the ItemDocReaders for all associated items for this item (refer to same resource). |
ArrayList |
getAudioAnnosInProgress()
Gets a list of DleseAnnoDocReaders containing each of the in-progress type 'audio' annotations
for this resource. |
String |
getAverageAnnoRating()
Gets a the average of all star ratings for this item as a String, or null if none. |
float |
getAverageAnnoRatingFloat()
Gets a the average of all star ratings for this item as a float, or -1 if none. |
String[] |
getBeneficiary()
Gets the beneficiary attribute of the ItemDocReader object |
String |
getCollectionsString()
Gets the collections associated with this record as a single String. |
ArrayList |
getCompletedAdvice()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'advice' annotations for
this resource. |
String[] |
getCompletedAnnoCollectionKeys()
Gets the annotataion collection keys, for example {06, 08}, for all collections that annotate this item with one or more status completed annotations. |
ArrayList |
getCompletedAnnos()
Gets a list of DleseAnnoDocReaders containing each of the completed annotations, regardless of
type, for this resource. |
ArrayList |
getCompletedAnnosOfType(String type)
Gets a list of all completed annotataions for this item of the given type. |
ArrayList |
getCompletedAnnotation()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'annotation' annotations
for this resource. |
ArrayList |
getCompletedAverageScores()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'average scores'
annotations for this resource. |
ArrayList |
getCompletedBias()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'bias' annotations for
this resource. |
ArrayList |
getCompletedChallengingSituations()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'challenging situation'
annotations for this resource. |
ArrayList |
getCompletedChange()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'change' annotations for
this resource. |
ArrayList |
getCompletedComment()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'comment' annotations
for this resource. |
ArrayList |
getCompletedEditorSummaries()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'editors summary'
annotations for this resource. |
ArrayList |
getCompletedEducationalStandard()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'educational standard'
annotations for this resource. |
ArrayList |
getCompletedExample()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'example' annotations
for this resource. |
ArrayList |
getCompletedExplanation()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'explanation'
annotations for this resource. |
ArrayList |
getCompletedQuestion()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'question' annotations
for this resource. |
ArrayList |
getCompletedReviews()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'review' annotations for
this resource. |
ArrayList |
getCompletedSeeAlso()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'see also' annotations
for this resource. |
ArrayList |
getCompletedTeachingTips()
Gets a list of DleseAnnoDocReaders containing each of the completed type 'teaching tip'
annotations for this resource. |
Collection |
getContentStandardLabels()
Gets the content standard UI labels from the vocab manager for this record, for example 'Change, constancy, and measurement', or 'NSES:K-4:Unifying Concepts and Processes Standards:Change, constancy, and measurement' if the vocab manager is not available. |
String[] |
getContentStandards()
Gets the content standards for this record, for example 01, or 'NSES:K-4:Unifying Concepts and Processes Standards:Change, constancy, and measurement' if no vocab manager is available. |
String |
getCreationDate()
Gets the created date as a String. |
Date |
getCreationDateDate()
Gets the created date as a Java Date ADN XPath metaMetadata/dateInfo@created. |
ResultDocList |
getDeDupedResultDocs()
Gets the de-duped ResultDocs for all records that refer to this resource from the dup items index, or null if this is not a duped record. |
String |
getDescription()
Gets the description for this item. |
ResultDocList |
getDisplayableAssociatedItemResultDocs()
Gets the ItemDocReaders for all associated items (refer to same resource) for this item that have an appropriate status for display in discovery. |
String[] |
getErrorStrings()
Gets the errors identified by the ID mapper for this records. |
String[] |
getErrorTypes()
Gets the errors types (codes) identified by the ID mapper for this records. |
Collection |
getGradeRangeLabels()
Gets the grade range UI labels from the vocab manager for this record, for example 'Primary (K-2)', or 'DLESE:Primary elementary' if the vocab manager is not available. |
String[] |
getGradeRanges()
Gets the grade ranges for this record, for example 07, or 'DLESE:Primary elementary' if no vocab manager is available. |
ArrayList |
getGraphicalAnnosInProgress()
Gets a list of DleseAnnoDocReaders containing each of the in-progress type 'graphical'
annotations for this resource. |
String |
getHasCompletedAnno()
Gets the hasCompletedAnno attribute of the ItemDocReader object |
String |
getHasInProgressAnno()
Determines whether the item has an annotation in progress. |
String |
getHasRelatedResource()
Determines whether this item has one or more related resources of any type. |
ArrayList |
getInProgressAnnosOfFormat(String format)
Gets all in-progress annotations for this item that have the given format, which is one of 'text', 'audio', 'graphical', or 'video'. |
String[] |
getInstructionalGoal()
Gets the instructionalGoal attribute of the ItemDocReader object |
String[] |
getKeywords()
Gets the keywords as a sorted array. |
String |
getKeywordsDisplay()
Gets the keywords as a sorted comma separated list terminated with a period suitable for display to users. |
ArrayList |
getMissingAssociatedItemIds()
Gets the missingAssociatedItemIds for associated items that are not in the index. |
String |
getMultiAccessionDate()
Gets the accession date for this muti-doc, as a date String, which is the date the resource first appeared in the library among all records that catalog it. |
Date |
getMultiAccessionDateDate()
Gets the accession date for this multi-doc as a Java Date, which is the date the resource first appeared in the library among all records that catalog it. |
String |
getMultiAccessionStatus()
Gets the the concatinated accession statuses of all associated records for this item. |
Collection |
getMultiContentStandardLabels()
Gets the content standard UI labels from the vocab manager for this record and all others that catalog this resource, for example 'Change, constancy, and measurement', or 'NSES:K-4:Unifying Concepts and Processes Standards:Change, constancy, and measurement' if the vocab manager is not available. |
String[] |
getMultiContentStandards()
Gets the content standards for this record and all others that catalog the same resource, for example 01, or 'NSES:K-4:Unifying Concepts and Processes Standards:Change, constancy, and measurement' if no vocab manager is available. |
String |
getMultiDescription()
Gets the concatinated descriptions of all associated records for this item. |
List |
getMultiDisplayableRelatedResources()
Gets a List of RelatedResource Objects for each related resource from each of the records that catalog this resource that have an appropriate status for display in discovery, or null if none. |
protected org.apache.lucene.document.Document |
getMultiDoc()
Gets the multiDoc lucene Document for this item, or the single doc, if none available. |
Collection |
getMultiGradeRangeLabels()
Gets the grade range UI labels from the vocab manager for this record and all others that catalog the same resource, for example 'Primary (K-2)', or 'DLESE:Primary elementary' if the vocab manager is not available. |
String[] |
getMultiGradeRanges()
Gets the grade ranges for this record and all others that catalog the same resource, for example 07, or 'DLESE:Primary elementary' if no vocab manager is available. |
String |
getMultiHasRelatedResource()
Determines whether this item has one or more related resources of any type from any records that catalogs this resource. |
String |
getMultiIds()
Gets the the concatinated IDs of all associated records for this item. |
String[] |
getMultiKeywords()
Gets the keywords for all associated records as a sorted array. |
String |
getMultiRecordStatus()
Gets the value 'true' or 'false' depending on whether this item does or does not have multiple records associated with it. |
ResultDocList |
getMultiRelatedResourceByIdDocs()
Gets the multiRelatedResourceByIdDocs attribute of the ItemDocReader object |
String[] |
getMultiRelatedResourceIds()
Gets the IDs of all related resources that were cataloged by ID from all records that catalog this resource, or null if none were present. |
List |
getMultiRelatedResources()
Gets a List of RelatedResource Objects for each related resource from each of the records that catalog this resource, or null if none. |
String[] |
getMultiRelatedResourceUrls()
Gets the URLs of all related resources that were cataloged by URL from all records that catalog this resource, or null if none were present |
Object[] |
getMultiResourceTypeLabels()
Gets the resource type UI labels from the vocab manager for this record and all others that catalog the same resource, for example 'Classroom activity', or 'DLESE:Learning materials:Classroom activity' if the vocab manager is not available, sorted alphabetically. |
String[] |
getMultiResourceTypes()
Gets the resource types for this record and all others that catalog the same resource, for example 0c, or 'DLESE:Learning materials:Classroom activity' if no vocab manager is available. |
Object[] |
getMultiSubjectLabels()
Gets the subject UI labels from the vocab manager for this record and all others that catalog the same resource, for example 'Biology', or 'DLESE:Biology' if the vocab manager is not available, sorted alphabetically. |
String[] |
getMultiSubjects()
Gets the subjects for this item and all additional items associated via the ID mapper. |
String |
getMultiTitle()
Gets the concatinated title of all associated records for this item. |
String |
getMultiWhatsNewDate()
Gets the Whats New date for the multi-record as a String, which is the whats new date for this resource across all records that catalog it. |
Date |
getMultiWhatsNewDateDate()
Gets the Whats New date for the multi-record (if it exists) as a Date, which is the whats new date for this resource across all records that catalog it. |
String |
getMultiWhatsNewType()
Gets the Whats New type for the multi-record (if it exists), which is one of 'itemnew,' 'itemannocomplete,' 'itemannoinprogress,' 'annocomplete,' 'annoinprogress,' 'drcannocomplete,' 'drcannoinprogress,' 'collection'. |
String |
getNumAnnoRatings()
Gets a the total number of star ratings for this item as a String. |
int |
getNumAnnoRatingsInt()
Gets a the total number of star ratings for this item as a int. |
String |
getNumAudioAnnosInProgress()
Gets the numAudioAnnosInProgress attribute of the ItemDocReader object |
String |
getNumCompletedAnnos()
Gets the numCompletedAnnos attribute of the ItemDocReader object |
String |
getNumGraphicalAnnosInProgress()
Gets the numGraphicalAnnosInProgress attribute of the ItemDocReader object |
String |
getNumInProgressAnnos()
Gets the numInProgressAnnos attribute of the ItemDocReader object |
String |
getNumTextAnnosInProgress()
Gets the numTextAnnosInProgress attribute of the ItemDocReader object |
String |
getNumVideoAnnosInProgress()
Gets the number of video format annotations in progress for this item. |
String |
getPartOfDRC()
Gets the part-of-DRC status (true or false). |
String |
getReaderType()
Gets the String 'ItemDocReader,' which is the key that describes this reader type. |
ResultDocList |
getRelatedResourceByIdDocs()
Gets the relatedResourceByIdDocs attribute of the ItemDocReader object |
String[] |
getRelatedResourceIds()
Gets the IDs of all related resources that were cataloged by ID, or null if none were present |
String[] |
getRelatedResourceUrls()
Gets the URLs of all related resources that were cataloged by URL, or null if none were present |
Object[] |
getResourceTypeLabels()
Gets the resource type UI labels from the vocab manager for this record, for example 'Classroom activity', or 'DLESE:Learning materials:Classroom activity' if the vocab manager is not available, sorted alphabetically. |
String[] |
getResourceTypes()
Gets the resource types for this record, for example 0c, or 'DLESE:Learning materials:Classroom activity' if no vocab manager is available. |
Object[] |
getSubjectLabels()
Gets the subject UI labels from the vocab manager for this record, for example 'Biology', or 'DLESE:Biology' if the vocab manager is not available, sorted alphabetically. |
String[] |
getSubjects()
Gets the subjects for this record, for example 03, or 'DLESE:Biology' if no vocab manager is available. |
String[] |
getTeachingMethod()
Gets the teachingMethod attribute of the ItemDocReader object |
ArrayList |
getTextAnnosInProgress()
Gets a list of DleseAnnoDocReaders containing each of the in-progress type 'text' annotations for
this resource. |
String |
getTitle()
Gets the title of the item. |
String[] |
getToolFor()
Gets the toolFor attribute of the ItemDocReader object |
String[] |
getTypicalAgeRange()
Gets the typicalAgeRange attribute of the ItemDocReader object |
String |
getUrl()
Gets the URL for this resource. |
String |
getUrlEncoded()
Gets the URL for this resource. |
String |
getUrlTruncated()
Gets the URL for this resource, truncated if it is very long |
ArrayList |
getVideoAnnosInProgress()
Gets a list of DleseAnnoDocReaders containing each of the in-progress type 'video' annotations
for this resource. |
boolean |
hasAnnotations()
Determines whether this item has annotations. |
boolean |
hasCompletedAnno()
Determines whether this item has at least one completed annotation. |
boolean |
hasCompletedAnnoOfType(String type)
Determines whether this item has a completed annotataion of the given type, for example 'Review', 'Comment', 'Educational standard', etc. |
boolean |
hasInProgressAnno()
Determines whether the item has an annotation in progress. |
boolean |
hasInProgressAnnoOfFormat(String format)
Determines whether the item has an annotation in progress of the given format, which is one of 'text', 'audio', 'graphical', or 'video'. |
boolean |
hasMultiRelatedResource()
Determines whether this item has one or more related resources of any type from any records that catalogs this resource. |
boolean |
hasRelatedResource()
Determines whether this item has one or more related resources of any type. |
void |
init()
Initializes the ItemDocReader at search time. |
boolean |
isMultiRecord()
Determines whether this item does or does not have multiple records associated with it. |
protected static void |
prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true. |
protected static void |
prtlnErr(String s)
Output a line of text to error out, with datestamp. |
| Methods inherited from class org.dlese.dpc.index.reader.FileIndexingServiceDocReader |
|---|
fileExists, getDateFileWasIndexed, getDateFileWasIndexedString, getDateStamp, getDeleted, getDocDir, getDocsourceEncoded, getDoctype, getFile, getFileExists, getFileName, getFullContent, getFullContentEncodedAs, getLastModified, getLastModifiedAsUTC, getLastModifiedString, isDeleted, setDebug |
| Methods inherited from class org.dlese.dpc.index.reader.DocReader |
|---|
doInit, getAttribute, getDocMap, getDocument, getIndex, getLazyDocMap, getQuery, getRepositoryManager, getScore, setDoc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemDocReader()
public ItemDocReader(org.apache.lucene.document.Document doc,
SimpleLuceneIndex index)
Document created by a ItemFileIndexingWriter.
doc - A Lucene Document created by a ItemFileIndexingWriter.index - The SimpleLuceneIndex in use| Method Detail |
|---|
public void init()
init in class XMLDocReaderprotected org.apache.lucene.document.Document getMultiDoc()
XMLDocReader
getMultiDoc in class XMLDocReaderpublic String getReaderType()
getReaderType in class XMLDocReaderpublic String getTitle()
getTitle in class XMLDocReaderpublic String[] getKeywords()
public String[] getMultiKeywords()
public String getKeywordsDisplay()
public String getMultiTitle()
public String getDescription()
getDescription in class XMLDocReaderpublic String getMultiDescription()
public String getMultiIds()
public String getPartOfDRC()
public String getUrl()
getUrl in class XMLDocReaderpublic String getUrlEncoded()
public String getUrlTruncated()
public String getCollectionsString()
XMLDocReader.getSetString().
public String getMultiWhatsNewType()
public String getMultiWhatsNewDate()
XMLDocReader.getWhatsNewDate().
public Date getMultiWhatsNewDateDate()
XMLDocReader.getWhatsNewDateDate().
public String getCreationDate()
public Date getCreationDateDate()
public String getMultiAccessionDate()
getAccessionDate().
public Date getMultiAccessionDateDate()
getAccessionDateDate().
public String getAccessionDate()
getMultiAccessionDate().
public Date getAccessionDateDate()
getMultiAccessionDateDate().
public String getAccessionStatus()
public String getMultiAccessionStatus()
public String[] getBeneficiary()
public String[] getToolFor()
public String[] getInstructionalGoal()
public String[] getTeachingMethod()
public String[] getTypicalAgeRange()
public String[] getGradeRanges()
public String[] getMultiGradeRanges()
public Collection getGradeRangeLabels()
#setVocabInterface(String), otherwise the default will be used, which is
'dds.descr.en-us'.
An example application using JSTL might look like:
<%-- The following line is optional --%>
<c:set property="vocabInterface" target="${docReader}" value="dds.descr.en-us"/>
<c:forEach items="${docReader.gradeRangeLabels}" var="myVocabLabel">
${myVocabLabel}
</c:forEach>
public Collection getMultiGradeRangeLabels()
#setVocabInterface(String),
otherwise the default will be used, which is 'dds.descr.en-us'.
An example application using JSTL might look like:
<%-- The following line is optional --%>
<c:set property="vocabInterface" target="${docReader}" value="dds.descr.en-us"/>
<c:forEach items="${docReader.multiGradeRangeLabels}" var="myVocabLabel">
${myVocabLabel}
</c:forEach>
public String[] getSubjects()
public String[] getMultiSubjects()
public Object[] getSubjectLabels()
#setVocabInterface(String), otherwise the default will be used,
which is 'dds.descr.en-us'.
An example application using JSTL might look like:
<%-- The following line is optional --%>
<c:set property="vocabInterface" target="${docReader}" value="dds.descr.en-us"/>
<c:forEach items="${docReader.subjectLabels}" var="myVocabLabel">
${myVocabLabel}
</c:forEach>
public Object[] getMultiSubjectLabels()
#setVocabInterface(String),
otherwise the default will be used, which is 'dds.descr.en-us'.
An example application using JSTL might look like:
<%-- The following line is optional --%>
<c:set property="vocabInterface" target="${docReader}" value="dds.descr.en-us"/>
<c:forEach items="${docReader.multiSubjectLabels}" var="myVocabLabel">
${myVocabLabel}
</c:forEach>
public String[] getContentStandards()
public String[] getMultiContentStandards()
public Collection getContentStandardLabels()
#setVocabInterface(String), otherwise the default will be used, which is 'dds.descr.en-us'.
An example application using JSTL might look like:
<%-- The following line is optional --%>
<c:set property="vocabInterface" target="${docReader}" value="dds.descr.en-us"/>
<c:forEach items="${docReader.contentStandardLabels}" var="myVocabLabel">
${myVocabLabel}
</c:forEach>
public Collection getMultiContentStandardLabels()
#setVocabInterface(String), otherwise the default will be
used, which is 'dds.descr.en-us'.
An example application using JSTL might look like:
<%-- The following line is optional --%>
<c:set property="vocabInterface" target="${docReader}" value="dds.descr.en-us"/>
<c:forEach items="${docReader.multiContentStandardLabels}" var="myVocabLabel">
${myVocabLabel}
</c:forEach>
public String[] getResourceTypes()
public String[] getMultiResourceTypes()
public Object[] getResourceTypeLabels()
#setVocabInterface(String),
otherwise the default will be used, which is 'dds.descr.en-us'.
An example application using JSTL might look like:
<%-- The following line is optional --%>
<c:set property="vocabInterface" target="${docReader}" value="dds.descr.en-us"/>
<c:forEach items="${docReader.resourceTypeLabels}" var="myVocabLabel">
${myVocabLabel}
</c:forEach>
public Object[] getMultiResourceTypeLabels()
#setVocabInterface(String), otherwise the default will be used, which is 'dds.descr.en-us'.
An example application using JSTL might look like:
<%-- The following line is optional --%>
<c:set property="vocabInterface" target="${docReader}" value="dds.descr.en-us"/>
<c:forEach items="${docReader.multiResourceTypeLabels}" var="myVocabLabel">
${myVocabLabel}
</c:forEach>
public String getMultiRecordStatus()
public boolean isMultiRecord()
public boolean hasAnnotations()
hasAnnotations in class XMLDocReaderpublic String[] getAnnoTypes()
getAnnoTypes in class XMLDocReaderpublic ArrayList getAnnoPathways()
getAnnoPathways in class XMLDocReaderpublic ArrayList getAnnoStatus()
getAnnoStatus in class XMLDocReaderpublic ArrayList getAnnoFormats()
getAnnoFormats in class XMLDocReaderpublic String[] getAnnoRatings()
getAnnoRatings in class XMLDocReaderpublic String getAverageAnnoRating()
getAverageAnnoRating in class XMLDocReaderpublic float getAverageAnnoRatingFloat()
getAverageAnnoRatingFloat in class XMLDocReaderpublic String getNumAnnoRatings()
getNumAnnoRatings in class XMLDocReaderpublic int getNumAnnoRatingsInt()
getNumAnnoRatingsInt in class XMLDocReaderpublic String[] getAnnoCollectionKeys()
getAnnoCollectionKeys in class XMLDocReaderpublic String[] getCompletedAnnoCollectionKeys()
getCompletedAnnoCollectionKeys in class XMLDocReaderpublic ArrayList getAssociatedCollectionKeys()
public String[] getAllAssociatedCollectionKeys()
public String[] getAssociatedIds()
getAssociatedIds in class XMLDocReaderpublic String[] getAllIds()
getAllIds in class XMLDocReaderpublic String[] getErrorTypes()
public String[] getErrorStrings()
public ResultDocList getAllItemResultDocs()
public ResultDocList getDeDupedResultDocs()
getAllItemResultDocs().
getAllItemResultDocs()public ResultDocList getAssociatedItemResultDocs()
public ResultDocList getDisplayableAssociatedItemResultDocs()
public ArrayList getMissingAssociatedItemIds()
public boolean hasRelatedResource()
public boolean hasMultiRelatedResource()
public String getHasRelatedResource()
public String getMultiHasRelatedResource()
public String[] getRelatedResourceIds()
public String[] getMultiRelatedResourceIds()
public ResultDocList getRelatedResourceByIdDocs()
public ResultDocList getMultiRelatedResourceByIdDocs()
public List getMultiRelatedResources()
public List getMultiDisplayableRelatedResources()
public String[] getRelatedResourceUrls()
public String[] getMultiRelatedResourceUrls()
public ResultDocList getAnnotationResultDocs()
getAnnotationResultDocs in class XMLDocReaderpublic boolean hasCompletedAnno()
hasCompletedAnno in class XMLDocReaderpublic String getHasCompletedAnno()
getHasCompletedAnno in class XMLDocReaderpublic String getNumCompletedAnnos()
getNumCompletedAnnos in class XMLDocReaderpublic String getNumInProgressAnnos()
getNumInProgressAnnos in class XMLDocReaderpublic String getNumTextAnnosInProgress()
getNumTextAnnosInProgress in class XMLDocReaderpublic String getNumAudioAnnosInProgress()
getNumAudioAnnosInProgress in class XMLDocReaderpublic String getNumGraphicalAnnosInProgress()
getNumGraphicalAnnosInProgress in class XMLDocReaderpublic String getNumVideoAnnosInProgress()
getNumVideoAnnosInProgress in class XMLDocReaderpublic boolean hasCompletedAnnoOfType(String type)
hasCompletedAnnoOfType in class XMLDocReadertype - The annotation type
public ArrayList getCompletedAnnosOfType(String type)
getCompletedAnnosOfType in class XMLDocReadertype - The annotation type, for example 'Review', 'Teaching tip', etc.
DleseAnnoDocReaders for all completed annotataions for this item of the
given type, or an empty list.public String getHasInProgressAnno()
getHasInProgressAnno in class XMLDocReaderpublic boolean hasInProgressAnno()
hasInProgressAnno in class XMLDocReaderpublic boolean hasInProgressAnnoOfFormat(String format)
hasInProgressAnnoOfFormat in class XMLDocReaderformat - Annotation format
public ArrayList getInProgressAnnosOfFormat(String format)
getInProgressAnnosOfFormat in class XMLDocReaderformat - Annotation format
DleseAnnoDocReaderspublic ArrayList getTextAnnosInProgress()
DleseAnnoDocReaders containing each of the in-progress type 'text' annotations for
this resource.
getTextAnnosInProgress in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getAudioAnnosInProgress()
DleseAnnoDocReaders containing each of the in-progress type 'audio' annotations
for this resource.
getAudioAnnosInProgress in class XMLDocReaderDleseAnnoDocReaderspublic ArrayList getGraphicalAnnosInProgress()
DleseAnnoDocReaders containing each of the in-progress type 'graphical'
annotations for this resource.
getGraphicalAnnosInProgress in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getVideoAnnosInProgress()
DleseAnnoDocReaders containing each of the in-progress type 'video' annotations
for this resource.
getVideoAnnosInProgress in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedAnnos()
DleseAnnoDocReaders containing each of the completed annotations, regardless of
type, for this resource.
getCompletedAnnos in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedReviews()
DleseAnnoDocReaders containing each of the completed type 'review' annotations for
this resource.
getCompletedReviews in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedTeachingTips()
DleseAnnoDocReaders containing each of the completed type 'teaching tip'
annotations for this resource.
getCompletedTeachingTips in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedEditorSummaries()
DleseAnnoDocReaders containing each of the completed type 'editors summary'
annotations for this resource.
getCompletedEditorSummaries in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedChallengingSituations()
DleseAnnoDocReaders containing each of the completed type 'challenging situation'
annotations for this resource.
getCompletedChallengingSituations in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedAverageScores()
DleseAnnoDocReaders containing each of the completed type 'average scores'
annotations for this resource.
getCompletedAverageScores in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedAdvice()
DleseAnnoDocReaders containing each of the completed type 'advice' annotations for
this resource.
getCompletedAdvice in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedAnnotation()
DleseAnnoDocReaders containing each of the completed type 'annotation' annotations
for this resource.
getCompletedAnnotation in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedBias()
DleseAnnoDocReaders containing each of the completed type 'bias' annotations for
this resource.
getCompletedBias in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedChange()
DleseAnnoDocReaders containing each of the completed type 'change' annotations for
this resource.
getCompletedChange in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedComment()
DleseAnnoDocReaders containing each of the completed type 'comment' annotations
for this resource.
getCompletedComment in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedEducationalStandard()
DleseAnnoDocReaders containing each of the completed type 'educational standard'
annotations for this resource.
getCompletedEducationalStandard in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedExample()
DleseAnnoDocReaders containing each of the completed type 'example' annotations
for this resource.
getCompletedExample in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedExplanation()
DleseAnnoDocReaders containing each of the completed type 'explanation'
annotations for this resource.
getCompletedExplanation in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedQuestion()
DleseAnnoDocReaders containing each of the completed type 'question' annotations
for this resource.
getCompletedQuestion in class XMLDocReaderDleseAnnoDocReaders or empty listpublic ArrayList getCompletedSeeAlso()
DleseAnnoDocReaders containing each of the completed type 'see also' annotations
for this resource.
getCompletedSeeAlso in class XMLDocReaderDleseAnnoDocReaders or empty listprotected static void prtlnErr(String s)
s - The text that will be output to error out.protected static void prtln(String s)
s - The String that will be output.
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||