Package ghidra.util.html
Class HTMLElement
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<java.lang.Object>
-
- ghidra.util.html.HTMLElement
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<java.lang.Object>
,java.util.Collection<java.lang.Object>
,java.util.List<java.lang.Object>
,java.util.RandomAccess
public class HTMLElement extends java.util.ArrayList<java.lang.Object>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTMLElement(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTMLElement
addElement(java.lang.String elementName)
void
addHTMLContent(java.lang.String htmlContent)
java.lang.String
getAttribute(java.lang.String key)
java.lang.String
putAttribute(java.lang.String key, java.lang.String value)
java.lang.String
removeAttribute(java.lang.String key)
java.lang.String
toString()
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
getAttribute
public java.lang.String getAttribute(java.lang.String key)
-
putAttribute
public java.lang.String putAttribute(java.lang.String key, java.lang.String value)
-
removeAttribute
public java.lang.String removeAttribute(java.lang.String key)
-
addElement
public HTMLElement addElement(java.lang.String elementName)
-
addHTMLContent
public void addHTMLContent(java.lang.String htmlContent)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.util.AbstractCollection<java.lang.Object>
-
-