Top Description Fields Constructors Methods
org.apache.pdfbox.pdfparser.xref

public final Enum XReferenceType

extends Enum<XReferenceType>
Class Inheritance
Imports
org.apache.pdfbox.pdfparser.PDFXRefStream

An instance of this class represents a type for a XReferenceEntry, as it can be found in a PDF's PDFXRefStream.
Author
Christian Appl

Field Summary

Modifier and TypeField and Description
public static final XReferenceType
public static final XReferenceType
private final int
public static final XReferenceType

Constructor Summary

AccessConstructor and Description
private
XReferenceType(int
The numeric representation of this type.
numericValue
)

Represents a type for a XReferenceEntry, as it can be found in a PDF's PDFXRefStream.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The numeric representation of this type.
getNumericValue
()

Returns the numeric representation of this type.

public static XReferenceType
public static XReferenceType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

FREEback to summary
public static final XReferenceType FREE
NORMALback to summary
public static final XReferenceType NORMAL
numericValueback to summary
private final int numericValue
OBJECT_STREAM_ENTRYback to summary
public static final XReferenceType OBJECT_STREAM_ENTRY

Constructor Detail

XReferenceTypeback to summary
private XReferenceType(int numericValue)

Represents a type for a XReferenceEntry, as it can be found in a PDF's PDFXRefStream.

Parameters
numericValue:int

The numeric representation of this type.

Method Detail

getNumericValueback to summary
public int getNumericValue()

Returns the numeric representation of this type.

Returns:int

The numeric representation of this type.

valueOfback to summary
public static XReferenceType valueOf(String name)
valuesback to summary
public static XReferenceType[] values()