Package com.saperion.ngc.viewer
Class DocumentAnalyzer.StructureInfos
java.lang.Object
com.saperion.ngc.viewer.DocumentAnalyzer.StructureInfos
- Enclosing class:
- DocumentAnalyzer
The Class StructureInfos contains information about a document's structure..
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the first viewable element.boolean
Checks if sizes have to be ignored.boolean
Checks if the document is a multipage tiff.boolean
isStream()
Checks if document is a stream.void
setFirstViewableElement
(DocumentArchiveMetaInfo.ElementArchiveMetaInfo viewableElement) Sets the first viewable element.void
setIgnoreSizes
(boolean isIgnoreSizes) Sets the ignore sizes parameter.void
setMultipageTiff
(boolean isMultipageTiff) Sets the multipage tiff property.void
setStream
(boolean isStream) Sets the stream-property.
-
Constructor Details
-
StructureInfos
public StructureInfos()
-
-
Method Details
-
isMultipageTiff
public boolean isMultipageTiff()Checks if the document is a multipage tiff.- Returns:
- true, if document is a multipage tiff
-
setMultipageTiff
public void setMultipageTiff(boolean isMultipageTiff) Sets the multipage tiff property.- Parameters:
isMultipageTiff
- the new multipage tiff property value
-
isIgnoreSizes
public boolean isIgnoreSizes()Checks if sizes have to be ignored.- Returns:
- true, if sizes have to be ignored
-
setIgnoreSizes
public void setIgnoreSizes(boolean isIgnoreSizes) Sets the ignore sizes parameter.- Parameters:
isIgnoreSizes
- the new ignore sizes parameter value
-
getFirstViewableElement
Gets the first viewable element.- Returns:
- the first viewable element
-
setFirstViewableElement
Sets the first viewable element.- Parameters:
viewableElement
- the new first viewable element
-
isStream
public boolean isStream()Checks if document is a stream.- Returns:
- true, if document is a stream
-
setStream
public void setStream(boolean isStream) Sets the stream-property.- Parameters:
isStream
- set to true if document is a stream
-