public interface IMicroNodeWithChildren extends IMicroNode
| Modifier and Type | Method and Description |
|---|---|
IMicroNodeWithChildren |
getClone() |
String |
getTextContent()
Get the concatenated text content of all direct
IMicroText child
nodes of this element. |
default String |
getTextContentTrimmed()
Get the concatenated text content of all direct
IMicroText child
nodes of this element. |
<DSTTYPE> DSTTYPE |
getTextContentWithConversion(Class<DSTTYPE> aDstClass)
Get the concatenated text content of all direct
IMicroText child
nodes of this element. |
appendCDATA, appendCDATA, appendCDATA, appendCDATAWithConversion, appendChild, appendChildren, appendChildren, appendComment, appendComment, appendComment, appendCommentWithConversion, appendContainer, appendElement, appendElement, appendEntityReference, appendIgnorableWhitespaceText, appendIgnorableWhitespaceText, appendIgnorableWhitespaceText, appendProcessingInstruction, appendText, appendText, appendText, appendTextWithConversion, containsAnyChild, detachFromParent, findParentElement, getAllChildren, getAllChildrenRecursive, getAllEventTargets, getAllEventTargets, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeValue, getParent, getParentElementWithName, getParentElementWithName, getPreviousSibling, getType, hasParent, insertAfter, insertAtIndex, insertBefore, isCDATA, isComment, isContainer, isDocument, isDocumentType, isElement, isEntityReference, isEqualContent, isProcessingInstruction, isText, registerEventTarget, removeAllChildren, removeChild, removeChildAtIndex, replaceChild, unregisterEventTargetfindFirstChild, findFirstChildMapped, getChildAtIndex@Nullable String getTextContent()
IMicroText child
nodes of this element.null if the element contains no text node as child@Nullable default String getTextContentTrimmed()
IMicroText child
nodes of this element. After concatenation, all leading and trailing spaces
are removed.null if the element contains no text node as child@Nullable <DSTTYPE> DSTTYPE getTextContentWithConversion(@Nonnull Class<DSTTYPE> aDstClass)
IMicroText child
nodes of this element. The value is converted via the
TypeConverter to the desired
destination class.DSTTYPE - The destination type to convert the String textContent to.aDstClass - The destination class to which the text content should be converted.null if the element contains no text node as child@Nonnull IMicroNodeWithChildren getClone()
getClone in interface com.helger.commons.lang.ICloneable<IMicroNode>Copyright © 2014–2018 Philip Helger. All rights reserved.