public interface SubSequenceSpecifier
PageSequenceMaster
,
and are capable of looking up an appropriate SimplePageMaster
.Modifier and Type | Method and Description |
---|---|
boolean |
canProcess(java.lang.String flowName) |
SimplePageMaster |
getNextPageMaster(boolean isOddPage,
boolean isFirstPage,
boolean isLastPage,
boolean isBlankPage)
Returns the name of the next page master.
|
boolean |
goToPrevious()
Used to set the "cursor position" to the previous item.
|
boolean |
hasPagePositionLast() |
boolean |
hasPagePositionOnly() |
boolean |
isInfinite()
Test that this is a finite sequence
|
boolean |
isReusable()
Test if this can be reused when it is the last sub-sequence specifer,
and has been exhausted
|
void |
reset()
Called before a new page sequence is rendered so subsequences can reset
any state they keep during the formatting process.
|
void |
resolveReferences(LayoutMasterSet layoutMasterSet)
called by the parent LayoutMasterSet to resolve object references
from simple page master reference names
|
SimplePageMaster getNextPageMaster(boolean isOddPage, boolean isFirstPage, boolean isLastPage, boolean isBlankPage) throws PageProductionException
isOddPage
- True if the next page number is oddisFirstPage
- True if the next page is the firstisLastPage
- True if the next page is the lastisBlankPage
- True if the next page is blankPageProductionException
- if there's a problem determining the next page mastervoid reset()
boolean goToPrevious()
boolean hasPagePositionLast()
boolean hasPagePositionOnly()
void resolveReferences(LayoutMasterSet layoutMasterSet) throws ValidationException
layoutMasterSet
- the layout-master-setValidationException
- when a named reference cannot be resolvedboolean canProcess(java.lang.String flowName)
flowName
- name of the main flowboolean isInfinite()
boolean isReusable()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.