blob: 36c03bfe233a779afea40546b7bd7bacba3f2e8e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>XrefTrailerResolver (Apache PDFBox 2.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="XrefTrailerResolver (Apache PDFBox 2.0.1 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XrefTrailerResolver.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/pdfbox/pdfparser/PDFXrefStreamParser.html" title="class in org.apache.pdfbox.pdfparser"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.XRefType.html" title="enum in org.apache.pdfbox.pdfparser"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/pdfbox/pdfparser/XrefTrailerResolver.html" target="_top">Frames</a></li>
<li><a href="XrefTrailerResolver.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.pdfbox.pdfparser</div>
<h2 title="Class XrefTrailerResolver" class="title">Class XrefTrailerResolver</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.pdfbox.pdfparser.XrefTrailerResolver</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">XrefTrailerResolver</span>
extends <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">This class will collect all XRef/trailer objects and creates correct
xref/trailer information after all objects are read using startxref
and 'Prev' information (unused XRef/trailer objects are discarded).
In case of missing startxref or wrong startxref pointer all
XRef/trailer objects are used to create xref table / trailer dictionary
in order they occur.
For each new xref object/XRef stream method <a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#nextXrefObj(long,%20org.apache.pdfbox.pdfparser.XrefTrailerResolver.XRefType)"><code>nextXrefObj(long, XRefType)</code></a>
must be called with start byte position. All following calls to
<a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setXRef(org.apache.pdfbox.cos.COSObjectKey,%20long)"><code>setXRef(COSObjectKey, long)</code></a> or <a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setTrailer(org.apache.pdfbox.cos.COSDictionary)"><code>setTrailer(COSDictionary)</code></a>
will add the data for this byte position.
After all objects are parsed the startxref position must be provided
using <a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setStartxref(long)"><code>setStartxref(long)</code></a>. This is used to build the chain of
active xref/trailer objects used for creating document trailer and xref table.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Timo Böhme</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.XRefType.html" title="enum in org.apache.pdfbox.pdfparser">XrefTrailerResolver.XRefType</a></strong></code>
<div class="block">The XRefType of a trailer.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#XrefTrailerResolver()">XrefTrailerResolver</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.6.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#getContainedObjectNumbers(int)">getContainedObjectNumbers</a></strong>(int&nbsp;objstmObjNr)</code>
<div class="block">Returns object numbers which are referenced as contained
in object stream with specified object number.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#getCurrentTrailer()">getCurrentTrailer</a></strong>()</code>
<div class="block">Returns the trailer last set by <a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setTrailer(org.apache.pdfbox.cos.COSDictionary)"><code>setTrailer(COSDictionary)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#getFirstTrailer()">getFirstTrailer</a></strong>()</code>
<div class="block">Returns the first trailer if at least one exists.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#getLastTrailer()">getLastTrailer</a></strong>()</code>
<div class="block">Returns the last trailer if at least one exists.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#getTrailer()">getTrailer</a></strong>()</code>
<div class="block">Gets the resolved trailer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.6.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/apache/pdfbox/cos/COSObjectKey.html" title="class in org.apache.pdfbox.cos">COSObjectKey</a>,<a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#getXrefTable()">getXrefTable</a></strong>()</code>
<div class="block">Gets the resolved xref table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.XRefType.html" title="enum in org.apache.pdfbox.pdfparser">XrefTrailerResolver.XRefType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#getXrefType()">getXrefType</a></strong>()</code>
<div class="block">Returns the XRefTxpe of the resolved trailer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#nextXrefObj(long,%20org.apache.pdfbox.pdfparser.XrefTrailerResolver.XRefType)">nextXrefObj</a></strong>(long&nbsp;startBytePos,
<a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.XRefType.html" title="enum in org.apache.pdfbox.pdfparser">XrefTrailerResolver.XRefType</a>&nbsp;type)</code>
<div class="block">Signals that a new XRef object (table or stream) starts.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setStartxref(long)">setStartxref</a></strong>(long&nbsp;startxrefBytePosValue)</code>
<div class="block">Sets the byte position of the first XRef
(has to be called after very last startxref was read).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setTrailer(org.apache.pdfbox.cos.COSDictionary)">setTrailer</a></strong>(<a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a>&nbsp;trailer)</code>
<div class="block">Adds trailer information for current XRef object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setXRef(org.apache.pdfbox.cos.COSObjectKey,%20long)">setXRef</a></strong>(<a href="../../../../org/apache/pdfbox/cos/COSObjectKey.html" title="class in org.apache.pdfbox.cos">COSObjectKey</a>&nbsp;objKey,
long&nbsp;offset)</code>
<div class="block">Populate XRef HashMap of current XRef object.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="XrefTrailerResolver()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XrefTrailerResolver</h4>
<pre>public&nbsp;XrefTrailerResolver()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getFirstTrailer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFirstTrailer</h4>
<pre>public final&nbsp;<a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a>&nbsp;getFirstTrailer()</pre>
<div class="block">Returns the first trailer if at least one exists.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the first trailer or null</dd></dl>
</li>
</ul>
<a name="getLastTrailer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastTrailer</h4>
<pre>public final&nbsp;<a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a>&nbsp;getLastTrailer()</pre>
<div class="block">Returns the last trailer if at least one exists.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the last trailer ir null</dd></dl>
</li>
</ul>
<a name="nextXrefObj(long, org.apache.pdfbox.pdfparser.XrefTrailerResolver.XRefType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextXrefObj</h4>
<pre>public&nbsp;void&nbsp;nextXrefObj(long&nbsp;startBytePos,
<a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.XRefType.html" title="enum in org.apache.pdfbox.pdfparser">XrefTrailerResolver.XRefType</a>&nbsp;type)</pre>
<div class="block">Signals that a new XRef object (table or stream) starts.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>startBytePos</code> - the offset to start at</dd><dd><code>type</code> - the type of the Xref object</dd></dl>
</li>
</ul>
<a name="getXrefType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXrefType</h4>
<pre>public&nbsp;<a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.XRefType.html" title="enum in org.apache.pdfbox.pdfparser">XrefTrailerResolver.XRefType</a>&nbsp;getXrefType()</pre>
<div class="block">Returns the XRefTxpe of the resolved trailer.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the XRefType or null.</dd></dl>
</li>
</ul>
<a name="setXRef(org.apache.pdfbox.cos.COSObjectKey, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setXRef</h4>
<pre>public&nbsp;void&nbsp;setXRef(<a href="../../../../org/apache/pdfbox/cos/COSObjectKey.html" title="class in org.apache.pdfbox.cos">COSObjectKey</a>&nbsp;objKey,
long&nbsp;offset)</pre>
<div class="block">Populate XRef HashMap of current XRef object.
Will add an Xreftable entry that maps ObjectKeys to byte offsets in the file.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objKey</code> - The objkey, with id and gen numbers</dd><dd><code>offset</code> - The byte offset in this file</dd></dl>
</li>
</ul>
<a name="setTrailer(org.apache.pdfbox.cos.COSDictionary)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTrailer</h4>
<pre>public&nbsp;void&nbsp;setTrailer(<a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a>&nbsp;trailer)</pre>
<div class="block">Adds trailer information for current XRef object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>trailer</code> - the current document trailer dictionary</dd></dl>
</li>
</ul>
<a name="getCurrentTrailer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurrentTrailer</h4>
<pre>public&nbsp;<a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a>&nbsp;getCurrentTrailer()</pre>
<div class="block">Returns the trailer last set by <a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setTrailer(org.apache.pdfbox.cos.COSDictionary)"><code>setTrailer(COSDictionary)</code></a>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the current trailer.</dd></dl>
</li>
</ul>
<a name="setStartxref(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStartxref</h4>
<pre>public&nbsp;void&nbsp;setStartxref(long&nbsp;startxrefBytePosValue)</pre>
<div class="block">Sets the byte position of the first XRef
(has to be called after very last startxref was read).
This is used to resolve chain of active XRef/trailer.
In case startxref position is not found we output a
warning and use all XRef/trailer objects combined
in byte position order.
Thus for incomplete PDF documents with missing
startxref one could call this method with parameter value -1.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>startxrefBytePosValue</code> - starting position of the first XRef</dd></dl>
</li>
</ul>
<a name="getTrailer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTrailer</h4>
<pre>public&nbsp;<a href="../../../../org/apache/pdfbox/cos/COSDictionary.html" title="class in org.apache.pdfbox.cos">COSDictionary</a>&nbsp;getTrailer()</pre>
<div class="block">Gets the resolved trailer. Might return <code>null</code> in case
<a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setStartxref(long)"><code>setStartxref(long)</code></a> was not called before.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the trailer if available</dd></dl>
</li>
</ul>
<a name="getXrefTable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXrefTable</h4>
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.6.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/apache/pdfbox/cos/COSObjectKey.html" title="class in org.apache.pdfbox.cos">COSObjectKey</a>,<a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;getXrefTable()</pre>
<div class="block">Gets the resolved xref table. Might return <code>null</code> in case
<a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setStartxref(long)"><code>setStartxref(long)</code></a> was not called before.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the xrefTable if available</dd></dl>
</li>
</ul>
<a name="getContainedObjectNumbers(int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getContainedObjectNumbers</h4>
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.6.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://download.oracle.com/javase/1.6.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;getContainedObjectNumbers(int&nbsp;objstmObjNr)</pre>
<div class="block">Returns object numbers which are referenced as contained
in object stream with specified object number.
This will scan resolved xref table for all entries having negated
stream object number as value.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objstmObjNr</code> - object number of object stream for which contained object numbers
should be returned</dd>
<dt><span class="strong">Returns:</span></dt><dd>set of object numbers referenced for given object stream
or <code>null</code> if <a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.html#setStartxref(long)"><code>setStartxref(long)</code></a> was not
called before so that no resolved xref table exists</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XrefTrailerResolver.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/pdfbox/pdfparser/PDFXrefStreamParser.html" title="class in org.apache.pdfbox.pdfparser"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/pdfbox/pdfparser/XrefTrailerResolver.XRefType.html" title="enum in org.apache.pdfbox.pdfparser"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/pdfbox/pdfparser/XrefTrailerResolver.html" target="_top">Frames</a></li>
<li><a href="XrefTrailerResolver.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2002&#x2013;2016 <a href="http://pdfbox.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>