com.itextpdf.text.xml.simpleparser.handler
Class HTMLNewLineHandler

java.lang.Object
  extended by com.itextpdf.text.xml.simpleparser.handler.HTMLNewLineHandler
All Implemented Interfaces:
NewLineHandler

public class HTMLNewLineHandler
extends Object
implements NewLineHandler

This NewLineHandler returns true on the tags p, blockqouteand br

Author:
Balder

Constructor Summary
HTMLNewLineHandler()
          Default constructor
 
Method Summary
 boolean isNewLineTag(String tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLNewLineHandler

public HTMLNewLineHandler()
Default constructor

Since:
5.0.6
Method Detail

isNewLineTag

public boolean isNewLineTag(String tag)
Specified by:
isNewLineTag in interface NewLineHandler
Parameters:
tag - the tag to check if after this one a new line should be in a document
Returns:
true in case a new line should be added.


Copyright © 2013. All Rights Reserved.