|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 FormNested 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 DleseAnnoDocReader s 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 DleseAnnoDocReader s 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 DleseAnnoDocReader s 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 DleseAnnoDocReader s containing each of the completed type 'annotation' annotations
for this resource. |
ArrayList |
getCompletedAverageScores()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'average scores'
annotations for this resource. |
ArrayList |
getCompletedBias()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'bias' annotations for
this resource. |
ArrayList |
getCompletedChallengingSituations()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'challenging situation'
annotations for this resource. |
ArrayList |
getCompletedChange()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'change' annotations for
this resource. |
ArrayList |
getCompletedComment()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'comment' annotations
for this resource. |
ArrayList |
getCompletedEditorSummaries()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'editors summary'
annotations for this resource. |
ArrayList |
getCompletedEducationalStandard()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'educational standard'
annotations for this resource. |
ArrayList |
getCompletedExample()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'example' annotations
for this resource. |
ArrayList |
getCompletedExplanation()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'explanation'
annotations for this resource. |
ArrayList |
getCompletedQuestion()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'question' annotations
for this resource. |
ArrayList |
getCompletedReviews()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'review' annotations for
this resource. |
ArrayList |
getCompletedSeeAlso()
Gets a list of DleseAnnoDocReader s containing each of the completed type 'see also' annotations
for this resource. |
ArrayList |
getCompletedTeachingTips()
Gets a list of DleseAnnoDocReader s 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 DleseAnnoDocReader s 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 DleseAnnoDocReader s 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 DleseAnnoDocReader s 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 useMethod Detail |
---|
public void init()
init
in class XMLDocReader
protected org.apache.lucene.document.Document getMultiDoc()
XMLDocReader
getMultiDoc
in class XMLDocReader
public String getReaderType()
getReaderType
in class XMLDocReader
public String getTitle()
getTitle
in class XMLDocReader
public String[] getKeywords()
public String[] getMultiKeywords()
public String getKeywordsDisplay()
public String getMultiTitle()
public String getDescription()
getDescription
in class XMLDocReader
public String getMultiDescription()
public String getMultiIds()
public String getPartOfDRC()
public String getUrl()
getUrl
in class XMLDocReader
public 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 XMLDocReader
public String[] getAnnoTypes()
getAnnoTypes
in class XMLDocReader
public ArrayList getAnnoPathways()
getAnnoPathways
in class XMLDocReader
public ArrayList getAnnoStatus()
getAnnoStatus
in class XMLDocReader
public ArrayList getAnnoFormats()
getAnnoFormats
in class XMLDocReader
public String[] getAnnoRatings()
getAnnoRatings
in class XMLDocReader
public String getAverageAnnoRating()
getAverageAnnoRating
in class XMLDocReader
public float getAverageAnnoRatingFloat()
getAverageAnnoRatingFloat
in class XMLDocReader
public String getNumAnnoRatings()
getNumAnnoRatings
in class XMLDocReader
public int getNumAnnoRatingsInt()
getNumAnnoRatingsInt
in class XMLDocReader
public String[] getAnnoCollectionKeys()
getAnnoCollectionKeys
in class XMLDocReader
public String[] getCompletedAnnoCollectionKeys()
getCompletedAnnoCollectionKeys
in class XMLDocReader
public ArrayList getAssociatedCollectionKeys()
public String[] getAllAssociatedCollectionKeys()
public String[] getAssociatedIds()
getAssociatedIds
in class XMLDocReader
public String[] getAllIds()
getAllIds
in class XMLDocReader
public 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 XMLDocReader
public boolean hasCompletedAnno()
hasCompletedAnno
in class XMLDocReader
public String getHasCompletedAnno()
getHasCompletedAnno
in class XMLDocReader
public String getNumCompletedAnnos()
getNumCompletedAnnos
in class XMLDocReader
public String getNumInProgressAnnos()
getNumInProgressAnnos
in class XMLDocReader
public String getNumTextAnnosInProgress()
getNumTextAnnosInProgress
in class XMLDocReader
public String getNumAudioAnnosInProgress()
getNumAudioAnnosInProgress
in class XMLDocReader
public String getNumGraphicalAnnosInProgress()
getNumGraphicalAnnosInProgress
in class XMLDocReader
public String getNumVideoAnnosInProgress()
getNumVideoAnnosInProgress
in class XMLDocReader
public boolean hasCompletedAnnoOfType(String type)
hasCompletedAnnoOfType
in class XMLDocReader
type
- The annotation type
public ArrayList getCompletedAnnosOfType(String type)
getCompletedAnnosOfType
in class XMLDocReader
type
- The annotation type, for example 'Review', 'Teaching tip', etc.
DleseAnnoDocReader
s for all completed annotataions for this item of the
given type, or an empty list.public String getHasInProgressAnno()
getHasInProgressAnno
in class XMLDocReader
public boolean hasInProgressAnno()
hasInProgressAnno
in class XMLDocReader
public boolean hasInProgressAnnoOfFormat(String format)
hasInProgressAnnoOfFormat
in class XMLDocReader
format
- Annotation format
public ArrayList getInProgressAnnosOfFormat(String format)
getInProgressAnnosOfFormat
in class XMLDocReader
format
- Annotation format
DleseAnnoDocReader
spublic ArrayList getTextAnnosInProgress()
DleseAnnoDocReader
s containing each of the in-progress type 'text' annotations for
this resource.
getTextAnnosInProgress
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getAudioAnnosInProgress()
DleseAnnoDocReader
s containing each of the in-progress type 'audio' annotations
for this resource.
getAudioAnnosInProgress
in class XMLDocReader
DleseAnnoDocReader
spublic ArrayList getGraphicalAnnosInProgress()
DleseAnnoDocReader
s containing each of the in-progress type 'graphical'
annotations for this resource.
getGraphicalAnnosInProgress
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getVideoAnnosInProgress()
DleseAnnoDocReader
s containing each of the in-progress type 'video' annotations
for this resource.
getVideoAnnosInProgress
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedAnnos()
DleseAnnoDocReader
s containing each of the completed annotations, regardless of
type, for this resource.
getCompletedAnnos
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedReviews()
DleseAnnoDocReader
s containing each of the completed type 'review' annotations for
this resource.
getCompletedReviews
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedTeachingTips()
DleseAnnoDocReader
s containing each of the completed type 'teaching tip'
annotations for this resource.
getCompletedTeachingTips
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedEditorSummaries()
DleseAnnoDocReader
s containing each of the completed type 'editors summary'
annotations for this resource.
getCompletedEditorSummaries
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedChallengingSituations()
DleseAnnoDocReader
s containing each of the completed type 'challenging situation'
annotations for this resource.
getCompletedChallengingSituations
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedAverageScores()
DleseAnnoDocReader
s containing each of the completed type 'average scores'
annotations for this resource.
getCompletedAverageScores
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedAdvice()
DleseAnnoDocReader
s containing each of the completed type 'advice' annotations for
this resource.
getCompletedAdvice
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedAnnotation()
DleseAnnoDocReader
s containing each of the completed type 'annotation' annotations
for this resource.
getCompletedAnnotation
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedBias()
DleseAnnoDocReader
s containing each of the completed type 'bias' annotations for
this resource.
getCompletedBias
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedChange()
DleseAnnoDocReader
s containing each of the completed type 'change' annotations for
this resource.
getCompletedChange
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedComment()
DleseAnnoDocReader
s containing each of the completed type 'comment' annotations
for this resource.
getCompletedComment
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedEducationalStandard()
DleseAnnoDocReader
s containing each of the completed type 'educational standard'
annotations for this resource.
getCompletedEducationalStandard
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedExample()
DleseAnnoDocReader
s containing each of the completed type 'example' annotations
for this resource.
getCompletedExample
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedExplanation()
DleseAnnoDocReader
s containing each of the completed type 'explanation'
annotations for this resource.
getCompletedExplanation
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedQuestion()
DleseAnnoDocReader
s containing each of the completed type 'question' annotations
for this resource.
getCompletedQuestion
in class XMLDocReader
DleseAnnoDocReader
s or empty listpublic ArrayList getCompletedSeeAlso()
DleseAnnoDocReader
s containing each of the completed type 'see also' annotations
for this resource.
getCompletedSeeAlso
in class XMLDocReader
DleseAnnoDocReader
s 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 |