com.itextpdf.text.xml.simpleparser.handler
Class HTMLNewLineHandler
java.lang.Object
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
,
blockqoute
and br
- Author:
- Balder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLNewLineHandler
public HTMLNewLineHandler()
- Default constructor
- Since:
- 5.0.6
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.