Interface IMicroDocument

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>, IMicroNode, IMicroNodeWithChildren
All Known Implementing Classes:
MicroDocument

public interface IMicroDocument extends IMicroNodeWithChildren
Represents a complete document.
Author:
Philip Helger
  • Method Details

    • getStandalone

      @Nonnull com.helger.commons.state.ETriState getStandalone()
      Returns:
      The standalone value. Never null.
      Since:
      9.3.5
    • isStandalone

      default boolean isStandalone()
      Returns:
      true if the document is standalone, false if not. The default value is false.
    • setStandalone

      void setStandalone(@Nonnull com.helger.commons.state.ETriState eStandalone)
      Change the standalone state of this document.
      Parameters:
      eStandalone - The new value. May not be null.
      Since:
      9.3.5
    • setStandalone

      default void setStandalone(boolean bIsStandalone)
      Change the standalone state of this document.
      Parameters:
      bIsStandalone - The new value. true for standalone, false if not.
    • getDocType

      Returns:
      May be null.
    • getDocumentElement

      @Nullable IMicroElement getDocumentElement()
      Returns:
      May be null.
    • getClone

      Specified by:
      getClone in interface com.helger.commons.lang.ICloneable<IMicroNode>
      Specified by:
      getClone in interface IMicroNodeWithChildren