PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents.objects
Class CompositeObject

java.lang.Object
  extended by it.stefanochizzolini.clown.documents.contents.objects.ContentObject
      extended by it.stefanochizzolini.clown.documents.contents.objects.CompositeObject
Direct Known Subclasses:
ContainerObject, GraphicsObject

public abstract class CompositeObject
extends ContentObject

Composite object. It is made up of multiple content objects.

Since:
0.0.4
Version:
0.0.8
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Field Summary
protected  List<ContentObject> objects
           
 
Constructor Summary
protected CompositeObject()
           
protected CompositeObject(ContentObject... objects)
           
protected CompositeObject(ContentObject object)
           
protected CompositeObject(List<ContentObject> objects)
           
 
Method Summary
 void applyTo(ContentScanner.GraphicsState state)
          Applies the object's state to the specified graphics state.
 List<ContentObject> getObjects()
          Gets the list of inner objects.
 String toString()
           
 void writeTo(IOutputStream stream)
          Writes PDF representation of the object to the target buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objects

protected List<ContentObject> objects
Constructor Detail

CompositeObject

protected CompositeObject()

CompositeObject

protected CompositeObject(ContentObject object)

CompositeObject

protected CompositeObject(ContentObject... objects)

CompositeObject

protected CompositeObject(List<ContentObject> objects)
Method Detail

applyTo

public void applyTo(ContentScanner.GraphicsState state)
Description copied from class: ContentObject
Applies the object's state to the specified graphics state.

Overrides:
applyTo in class ContentObject
Parameters:
state - Content scanner graphics state.

getObjects

public List<ContentObject> getObjects()
Gets the list of inner objects.


toString

public String toString()
Overrides:
toString in class Object

writeTo

public void writeTo(IOutputStream stream)
Description copied from class: ContentObject
Writes PDF representation of the object to the target buffer.

Specified by:
writeTo in class ContentObject

PDF Clown
0.0.8

Project home page

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