com.lowagie.text.pdfas
Class EmptyStructContentWriter

java.lang.Object
  extended bycom.lowagie.text.pdfas.EmptyStructContentWriter
All Implemented Interfaces:
StructContentWriter

public class EmptyStructContentWriter
extends Object
implements StructContentWriter

Empty (null object) implementation of a StructContentWriter.
Do nothing in the impl, otherwise every pdf image etc. will be blocked

Author:
exthex

Constructor Summary
EmptyStructContentWriter()
           
 
Method Summary
 void beginFigureContent(PdfContentByte localContent)
          Writes start tag for signature logo (bildmarke) marked content sequence.
 void beginLinkContent(PdfContentByte localContent, String urlString)
          Writes start tag for verify link marked content sequence.
 void endFigureContent(PdfContentByte localContent)
          Writes end tag for signature logo (bildmarke) marked content sequence.
 void endLinkContent(PdfContentByte pdfContentByte)
          Writes end tag for verify link marked content sequence.
 void markPos(Rectangle pos)
          Mark (temp save) a current position.
 void putVal(String key, Object val)
          temporary put any key value pair
 void storeCurrentPosAsLink()
          Store the current pos markPos(Rectangle) as the annotation position for the link
 void storeVals()
          Store temp key/value pairs for later use
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyStructContentWriter

public EmptyStructContentWriter()
Method Detail

beginFigureContent

public void beginFigureContent(PdfContentByte localContent)
Description copied from interface: StructContentWriter
Writes start tag for signature logo (bildmarke) marked content sequence.

Specified by:
beginFigureContent in interface StructContentWriter
Parameters:
localContent -

endFigureContent

public void endFigureContent(PdfContentByte localContent)
Description copied from interface: StructContentWriter
Writes end tag for signature logo (bildmarke) marked content sequence.

Specified by:
endFigureContent in interface StructContentWriter
Parameters:
localContent -

beginLinkContent

public void beginLinkContent(PdfContentByte localContent,
                             String urlString)
Description copied from interface: StructContentWriter
Writes start tag for verify link marked content sequence.

Specified by:
beginLinkContent in interface StructContentWriter
Parameters:
localContent -
urlString -

endLinkContent

public void endLinkContent(PdfContentByte pdfContentByte)
Description copied from interface: StructContentWriter
Writes end tag for verify link marked content sequence.

Specified by:
endLinkContent in interface StructContentWriter
Parameters:
pdfContentByte -

markPos

public void markPos(Rectangle pos)
Description copied from interface: StructContentWriter
Mark (temp save) a current position.

Specified by:
markPos in interface StructContentWriter
Parameters:
pos -

storeCurrentPosAsLink

public void storeCurrentPosAsLink()
Description copied from interface: StructContentWriter
Store the current pos StructContentWriter.markPos(Rectangle) as the annotation position for the link

Specified by:
storeCurrentPosAsLink in interface StructContentWriter

putVal

public void putVal(String key,
                   Object val)
Description copied from interface: StructContentWriter
temporary put any key value pair

Specified by:
putVal in interface StructContentWriter
Parameters:
key -
val -

storeVals

public void storeVals()
Description copied from interface: StructContentWriter
Store temp key/value pairs for later use

Specified by:
storeVals in interface StructContentWriter


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