Class Node
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Node>,Collection<Node>,List<Node>,RandomAccess,SequencedCollection<Node>
- Direct Known Subclasses:
NodeMapper
- Author:
- victort
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classstatic class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final booleanprotected intprotected final intstatic final Stringprotected final intstatic final StringFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddInnerTag(Node aNode) clone()Node[]getAttribute(String aName) protected intgetLevel()getNode(int i) Node[]getTag()getText()Node[]getVector(boolean withId) protected StringgetXMLText(int aLevel) booleanisNill()voidremoveAttribute(String name) voidvoidremoveNode(String theAttributeName, String theAttributeValue) static StringvoidsetAttribute(String aName, boolean aValue) voidsetAttribute(String aName, double aValue) voidsetAttribute(String aName, long aValue) voidsetAttribute(String aName, String aValue) voidsetAttributes(Map<String, String> aAttributes) voidsetNill(boolean aNill) protected voidvoidvoidtoString()Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed
-
Field Details
-
TEXT_TEAG_NAME
- See Also:
-
TAG_ID
-
debug
- See Also:
-
MAXATTRINLINE
-
SAMPLENODE
- See Also:
-
TEXNode
- See Also:
-
-
Constructor Details
-
Node
-
Node
-
-
Method Details
-
isNill
-
setNill
-
getAttributes
-
getAttribute
-
setAttribute
-
setAttribute
-
setAttribute
-
setAttributes
-
setAttribute
-
removeAttribute
-
removeAttributes
-
addInnerTag
-
setOwner
-
getLevel
-
replace
-
getXMLText
-
getXMLText
-
getTag
-
getNodes
-
setText
-
getText
-
findNode
-
findNodes
-
setTag
-
getNode
-
removeNode
-
getVector
-
getVector
-
toString
- Overrides:
toStringin classAbstractCollection<Node>
-
getTextNodes
-
getInnerText
-
getInnerXMLText
-
clone
-