com.lowagie.text.pdfas
Class StructContentWriterHolder

java.lang.Object
  extended bycom.lowagie.text.pdfas.StructContentWriterHolder

public class StructContentWriterHolder
extends Object

Helper class for obtaining a StructContentWriter instance (thread local)

Author:
exthex

Constructor Summary
StructContentWriterHolder()
           
 
Method Summary
static StructContentWriter getThreadLocalWriter()
          Returns the thread local StructContentWriter or an empty implementation if not found EmptyStructContentWriter
static void removeThreadLocalWriter()
          Remove thread local content writer
static void setThreadLocalWriter(StructContentWriter writer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructContentWriterHolder

public StructContentWriterHolder()
Method Detail

setThreadLocalWriter

public static void setThreadLocalWriter(StructContentWriter writer)

getThreadLocalWriter

public static StructContentWriter getThreadLocalWriter()
Returns the thread local StructContentWriter or an empty implementation if not found EmptyStructContentWriter

Returns:

removeThreadLocalWriter

public static void removeThreadLocalWriter()
Remove thread local content writer



Copyright © 2011 EGIZ - E-Government Innovation Center. All Rights Reserved.