java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.output.AbstractUnitRepresentation |
![]() |
A skeleton class for unit document presentations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractUnitRepresentation(String label)
Create a new non-default document presentation.
| |||||||||||
AbstractUnitRepresentation(String label, boolean defaultRepresentation)
Create a new document presentation.
| |||||||||||
AbstractUnitRepresentation(long id, String label, boolean defaultRepresentation)
Create a new document presentation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long |
getId()
Get a unique identifier for the document across all documents generated by the unit
formatter.
| ||||||||||
String |
getLabel()
Get the label for that document.
| ||||||||||
boolean |
isDefaultRepresentation()
Determine if the document is the default representation for that unit.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Create a new non-default document presentation. The identifier will be determined automatically.
Create a new document presentation. The identifier will be determined automatically.
Create a new document presentation.
id | identifier |
---|---|
label | label |
defaultRepresentation | indicates whether this representation should be the default one for the unit |
Get a unique identifier for the document across all documents generated by the unit formatter.
Planned extension: Document identifiers will be used by plugins to provide inter-document navigation information to clients. Additional information: Currently, inter-document navigation is entirely the client's responsibility, which may or may not decide, based on knowledge and unit-specific data, incomplete or partial, to add support for it. When the extension is implemented, plugins implementors will have a formal way to specify how documents are linked to one another, and how a client may navigate through them.
Get the label for that document.
Determine if the document is the default representation for that unit.