Interface DataMappingToStringLocal
-
public interface DataMappingToStringLocalThe interface Data mapping to string local.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJNDINAMEThe constant JNDINAME "java:global/CometDataMapping/DataMappingToString!com.priint.pubserver.comet.bridge.datamapping.DataMappingToStringLocal".static java.lang.StringMAPPED_NAMEThe constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToString".
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>getPageIndexes(java.util.List<CometTocEntry> tocEntries)Get the page indexes from a list of toc entriesjava.util.List<java.lang.String>getPageNumbers(java.util.List<CometTocEntry> tocEntries, java.lang.String concatePageNumbers, java.lang.String delimiter)Get the page numbers from a list of toc entriesjava.util.List<java.lang.String>getPageNumbersIncludingPrefix(java.util.List<CometTocEntry> tocEntries)Get the page numbers including section prefix from a list of toc entries
-
-
-
Field Detail
-
JNDINAME
static final java.lang.String JNDINAME
The constant JNDINAME "java:global/CometDataMapping/DataMappingToString!com.priint.pubserver.comet.bridge.datamapping.DataMappingToStringLocal".- See Also:
- Constant Field Values
-
MAPPED_NAME
static final java.lang.String MAPPED_NAME
The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToString".- See Also:
- Constant Field Values
-
-
Method Detail
-
getPageIndexes
java.util.List<java.lang.String> getPageIndexes(java.util.List<CometTocEntry> tocEntries) throws CometException
Get the page indexes from a list of toc entries- Parameters:
tocEntries- the toc entries- Returns:
- page indexes
- Throws:
CometException- the comet exception
-
getPageNumbers
java.util.List<java.lang.String> getPageNumbers(java.util.List<CometTocEntry> tocEntries, java.lang.String concatePageNumbers, java.lang.String delimiter) throws CometException
Get the page numbers from a list of toc entries- Parameters:
tocEntries- the toc entriesconcatePageNumbers- the concate page numbersdelimiter- the delimiter- Returns:
- page numbers
- Throws:
CometException- the comet exception
-
getPageNumbersIncludingPrefix
java.util.List<java.lang.String> getPageNumbersIncludingPrefix(java.util.List<CometTocEntry> tocEntries) throws CometException
Get the page numbers including section prefix from a list of toc entries- Parameters:
tocEntries- the toc entries- Returns:
- page numbers including prefix
- Throws:
CometException- the comet exception
-
-