com.itextpdf.tool.xml
Class ProcessObject

java.lang.Object
  extended by com.itextpdf.tool.xml.ProcessObject

public class ProcessObject
extends Object

Passed in the pipeline as water through a hose. The process object hold a queue with Writables.

Author:
redlab_b

Constructor Summary
ProcessObject()
           
 
Method Summary
 void add(Writable writable)
          Add a writable.
 void addAll(List<Writable> elems)
          Adds a list of writable.
 boolean containsWritable()
           
 Writable poll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessObject

public ProcessObject()
Method Detail

containsWritable

public boolean containsWritable()
Returns:
true if a writable is contained.

poll

public Writable poll()
Returns:
a Writable or null if none.

add

public void add(Writable writable)
Add a writable.

Parameters:
writable - the writable to add

addAll

public void addAll(List<Writable> elems)
Adds a list of writable.

Parameters:
elems - the writables


Copyright © 2015. All Rights Reserved.