PDF Clown
0.1.2

org.pdfclown.objects
Class Cloner

java.lang.Object
  extended by org.pdfclown.objects.Visitor
      extended by org.pdfclown.objects.Cloner
All Implemented Interfaces:
IVisitor

public class Cloner
extends Visitor

Object cloner.

Since:
0.1.2
Version:
0.1.2, 12/28/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Nested Class Summary
static class Cloner.Filter
           
 
Constructor Summary
Cloner(File context)
           
 
Method Summary
 File getContext()
           
 List<Cloner.Filter> getFilters()
           
 void setContext(File value)
           
 PdfObject visit(ObjectStream object, Object data)
          Visits an object stream.
 PdfObject visit(PdfArray object, Object data)
          Visits an object array.
 PdfObject visit(PdfDictionary object, Object data)
          Visits an object dictionary.
 PdfObject visit(PdfIndirectObject object, Object data)
          Visits an indirect object.
 PdfObject visit(PdfReference object, Object data)
          Visits a reference object.
 PdfObject visit(PdfStream object, Object data)
          Visits a stream object.
 PdfObject visit(XRefStream object, Object data)
          Visits a cross-reference stream object.
 
Methods inherited from class org.pdfclown.objects.Visitor
visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cloner

public Cloner(File context)
Method Detail

getContext

public File getContext()

getFilters

public List<Cloner.Filter> getFilters()

setContext

public void setContext(File value)

visit

public PdfObject visit(ObjectStream object,
                       Object data)
Description copied from interface: IVisitor
Visits an object stream.

Specified by:
visit in interface IVisitor
Overrides:
visit in class Visitor
Parameters:
object - Visited object.
data - Supplemental data.
Returns:
Result object.

visit

public PdfObject visit(PdfArray object,
                       Object data)
Description copied from interface: IVisitor
Visits an object array.

Specified by:
visit in interface IVisitor
Overrides:
visit in class Visitor
Parameters:
object - Visited object.
data - Supplemental data.
Returns:
Result object.

visit

public PdfObject visit(PdfDictionary object,
                       Object data)
Description copied from interface: IVisitor
Visits an object dictionary.

Specified by:
visit in interface IVisitor
Overrides:
visit in class Visitor
Parameters:
object - Visited object.
data - Supplemental data.
Returns:
Result object.

visit

public PdfObject visit(PdfIndirectObject object,
                       Object data)
Description copied from interface: IVisitor
Visits an indirect object.

Specified by:
visit in interface IVisitor
Overrides:
visit in class Visitor
Parameters:
object - Visited object.
data - Supplemental data.
Returns:
Result object.

visit

public PdfObject visit(PdfReference object,
                       Object data)
Description copied from interface: IVisitor
Visits a reference object.

Specified by:
visit in interface IVisitor
Overrides:
visit in class Visitor
Parameters:
object - Visited object.
data - Supplemental data.
Returns:
Result object.

visit

public PdfObject visit(PdfStream object,
                       Object data)
Description copied from interface: IVisitor
Visits a stream object.

Specified by:
visit in interface IVisitor
Overrides:
visit in class Visitor
Parameters:
object - Visited object.
data - Supplemental data.
Returns:
Result object.

visit

public PdfObject visit(XRefStream object,
                       Object data)
Description copied from interface: IVisitor
Visits a cross-reference stream object.

Specified by:
visit in interface IVisitor
Overrides:
visit in class Visitor
Parameters:
object - Visited object.
data - Supplemental data.
Returns:
Result object.

PDF Clown
0.1.2

Project home page

Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.