Package org.daisy.dotify.api.paper
Class RollPaper
- java.lang.Object
-
- org.daisy.dotify.api.paper.AbstractPaper
-
- org.daisy.dotify.api.paper.RollPaper
-
- All Implemented Interfaces:
Serializable
,FactoryProperties
,Paper
public class RollPaper extends AbstractPaper
Provides a paper object for paper in rolls.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.daisy.dotify.api.factory.FactoryProperties
FactoryProperties.ComparatorBuilder
-
Nested classes/interfaces inherited from interface org.daisy.dotify.api.paper.Paper
Paper.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RollPaper
asRollPaper()
Returns this Paper as a RollPaper.Length
getLengthAcrossFeed()
Gets the length of the paper perpendicular to the direction of the paper feed.Paper.Type
getType()
Gets the type of paper.String
toString()
-
Methods inherited from class org.daisy.dotify.api.paper.AbstractPaper
asSheetPaper, asTractorPaper, getDescription, getDisplayName, getIdentifier
-
-
-
-
Method Detail
-
getLengthAcrossFeed
public Length getLengthAcrossFeed()
Gets the length of the paper perpendicular to the direction of the paper feed.- Returns:
- returns the length, in mm.
-
getType
public Paper.Type getType()
Description copied from interface:Paper
Gets the type of paper.- Returns:
- returns the type of paper
-
asRollPaper
public RollPaper asRollPaper()
Description copied from interface:Paper
Returns this Paper as a RollPaper.- Specified by:
asRollPaper
in interfacePaper
- Overrides:
asRollPaper
in classAbstractPaper
- Returns:
- returns the RollPaper
-
-