com.itextpdf.tool.xml.util
Class ParentTreeUtil
java.lang.Object
com.itextpdf.tool.xml.util.ParentTreeUtil
public class ParentTreeUtil
- extends Object
Util class for everything related to a ParentTree of a Tag
- Author:
- Jeroen Nouws
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentTreeUtil
public ParentTreeUtil()
getParentTree
public List<String> getParentTree(Tag t)
- creates a parentTree of all parents of a given Tag
- Parameters:
t
- Tag the tag where you want to know it's parentTree of
- Returns:
- parentTree a arrayList containing the parents of Tag t
getParentTagTree
public List<Tag> getParentTagTree(Tag tag,
List<Tag> tree)
- creates a parentTree of all parent Tag objects of a given Tag
- Parameters:
tag
- Tag the tag where you want to know it's parentTree oftree
-
- Returns:
- parentTree arrayList containing the parent tags of Tag t
Copyright © 2015. All Rights Reserved.