Package org.hl7.fhir.utilities.xhtml
Class XhtmlNodeList
- java.lang.Object
-
- org.hl7.fhir.utilities.xhtml.XhtmlFluent
-
- org.hl7.fhir.utilities.xhtml.XhtmlNodeList
-
- All Implemented Interfaces:
Serializable,Iterable<XhtmlNode>,Collection<XhtmlNode>,List<XhtmlNode>
public class XhtmlNodeList extends XhtmlFluent implements List<XhtmlNode>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XhtmlNodeList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, XhtmlNode element)booleanadd(XhtmlNode e)booleanaddAll(int index, Collection<? extends XhtmlNode> c)booleanaddAll(Collection<? extends XhtmlNode> c)protected voidaddChildren(XhtmlNodeList childNodes)XhtmlNodeaddTag(String name)XhtmlNodeaddText(String content)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)XhtmlNodeget(int index)intindexOf(Object o)booleanisEmpty()booleanisInLink()booleanisInPara()Iterator<XhtmlNode>iterator()intlastIndexOf(Object o)ListIterator<XhtmlNode>listIterator()ListIterator<XhtmlNode>listIterator(int index)XhtmlNoderemove(int index)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)XhtmlNodeset(int index, XhtmlNode element)voidsetInLink(boolean inLink)voidsetInPara(boolean inPara)intsize()List<XhtmlNode>subList(int fromIndex, int toIndex)Object[]toArray()<T> T[]toArray(T[] a)-
Methods inherited from class org.hl7.fhir.utilities.xhtml.XhtmlFluent
ah, ah, an, an, b, blockquote, br, code, code, div, h, h1, h2, h3, h4, hr, i, img, img, innerHTML, li, markdown, para, pre, pre, span, table, td, td, th, tr, tx, tx, ul
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Constructor Detail
-
XhtmlNodeList
public XhtmlNodeList()
-
-
Method Detail
-
isInPara
public boolean isInPara()
-
setInPara
public void setInPara(boolean inPara)
-
isInLink
public boolean isInLink()
-
setInLink
public void setInLink(boolean inLink)
-
addTag
public XhtmlNode addTag(String name)
- Specified by:
addTagin classXhtmlFluent
-
addText
public XhtmlNode addText(String content)
- Specified by:
addTextin classXhtmlFluent
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
toArray
public <T> T[] toArray(T[] a)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAllin interfaceCollection<XhtmlNode>- Specified by:
containsAllin interfaceList<XhtmlNode>
-
addAll
public boolean addAll(Collection<? extends XhtmlNode> c)
-
addAll
public boolean addAll(int index, Collection<? extends XhtmlNode> c)
-
removeAll
public boolean removeAll(Collection<?> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
clear
public void clear()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<XhtmlNode>
-
listIterator
public ListIterator<XhtmlNode> listIterator()
- Specified by:
listIteratorin interfaceList<XhtmlNode>
-
listIterator
public ListIterator<XhtmlNode> listIterator(int index)
- Specified by:
listIteratorin interfaceList<XhtmlNode>
-
addChildren
protected void addChildren(XhtmlNodeList childNodes)
- Specified by:
addChildrenin classXhtmlFluent
-
-