public abstract class AbsFlexiMinXML extends AbsMinXML
Modifier and Type | Field and Description |
---|---|
protected java.util.TreeMap<java.lang.String,java.lang.String> |
attributes |
protected java.util.ArrayList<MinXML> |
children |
protected @NonNull java.lang.String |
name |
Constructor and Description |
---|
AbsFlexiMinXML(@NonNull java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
asMap()
Returns a
Map that represents the attributes of an element
that shares updates with the original element. |
@NonNull java.lang.String |
getName()
Returns the name of a MinXML element.
|
java.util.Map<java.lang.String,java.lang.String> |
quickGetAttributes()
This method will return a map representing the attributes of the
element that is safe to use until the first update of the original element.
|
void |
setName(@NonNull java.lang.String name)
Changes the name of the element to the given string.
|
java.util.List<MinXML> |
toList() |
add, add, addAll, addAll, asMapEntries, asMapKeys, clear, clearAttributes, contains, containsAll, deepCopy, entries, equals, get, getAttribute, getAttribute, getAttributes, hasAttribute, hasAttribute, hasAttribute, hashCode, hasName, hasntAttribute, indexOf, isEmpty, isntEmpty, iterator, keys, lastIndexOf, listIterator, listIterator, prettyPrint, prettyPrint, print, print, putAllAttributes, putAttribute, remove, remove, removeAll, retainAll, set, shallowCopy, size, sizeAttributes, subList, toArray, toArray, toString, trimToSize
protected @NonNull java.lang.String name
protected java.util.TreeMap<java.lang.String,java.lang.String> attributes
protected java.util.ArrayList<MinXML> children
public @NonNull java.lang.String getName()
MinXML
public void setName(@NonNull java.lang.String name)
MinXML
public java.util.Map<java.lang.String,java.lang.String> asMap()
MinXML
Map
that represents the attributes of an element
that shares updates with the original element.public java.util.Map<java.lang.String,java.lang.String> quickGetAttributes()
AbsMinXML
quickGetAttributes
in class AbsMinXML