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. |
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, appendComment, appendComment, appendComment, appendCommentWithConversion, appendContainer, appendElement, appendElement, appendEntityReference, appendIgnorableWhitespaceText, appendIgnorableWhitespaceText, appendIgnorableWhitespaceText, appendProcessingInstruction, appendText, appendText, appendText, appendTextWithConversion, detachFromParent, getAllChildren, getAllChildrenRecursive, getAllEventTargets, getAllEventTargets, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeValue, getParent, getParentElementWithName, getParentElementWithName, getPreviousSibling, getType, hasChildren, hasParent, insertAfter, insertAtIndex, insertBefore, isCDATA, isComment, isContainer, isDocument, isDocumentType, isElement, isEntityReference, isEqualContent, isProcessingInstruction, isText, registerEventTarget, removeAllChildren, removeChild, removeChildAtIndex, replaceChild, unregisterEventTargetgetChildAtIndexgetChildCount@Nullable String getTextContent()
IMicroText child
nodes of this element.null if the element contains no text node as child@Nullable 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 ICloneable<IMicroNode>Copyright © 2014–2016 Philip Helger. All rights reserved.