Interface IMicroText

All Superinterfaces:
com.helger.commons.lang.ICloneable<IMicroNode>, com.helger.commons.hierarchy.IHasChildren<IMicroNode>, com.helger.commons.hierarchy.IHasChildrenRecursive<IMicroNode>, com.helger.commons.hierarchy.IHasChildrenSorted<IMicroNode>, com.helger.commons.hierarchy.IHasParent<IMicroNode>, IMicroDataAware, IMicroNode
All Known Implementing Classes:
MicroText

public interface IMicroText extends IMicroNode, IMicroDataAware
Represents a text node.
Author:
Philip Helger
  • Method Details

    • isElementContentWhitespace

      boolean isElementContentWhitespace()
      Check whether the text node consists solely of whitespaces. This may be helpful in detecting XML that has been indented :)
      Returns:
      true if the text node consists solely of whitespaces (blank, tab etc.).
    • isEscape

      boolean isEscape()
      Returns:
      true if the content of this text node should be masked, and false if not. By default a text node should always be masked.
    • getClone

      @Nonnull IMicroText getClone()
      Specified by:
      getClone in interface com.helger.commons.lang.ICloneable<IMicroNode>