Package com.helger.xml.microdom
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
Represents a complete document.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiongetClone()com.helger.commons.state.ETriStatedefault booleandefault voidsetStandalone(boolean bIsStandalone) Change the standalone state of this document.voidsetStandalone(com.helger.commons.state.ETriState eStandalone) Change the standalone state of this document.Methods inherited from interface com.helger.commons.hierarchy.IHasChildren
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildrenMethods inherited from interface com.helger.commons.hierarchy.IHasChildrenRecursive
forAllChildrenRecursive, forAllChildrenRecursiveMethods inherited from interface com.helger.commons.hierarchy.IHasChildrenSorted
findFirstChild, findFirstChildMapped, getChildAtIndexMethods inherited from interface com.helger.xml.microdom.IMicroNode
appendCDATA, appendCDATA, appendCDATA, appendCDATAWithConversion, appendChild, appendChildren, appendChildren, appendComment, appendComment, appendComment, appendCommentWithConversion, appendContainer, appendElement, appendElement, appendEntityReference, appendIgnorableWhitespaceText, appendIgnorableWhitespaceText, appendIgnorableWhitespaceText, appendProcessingInstruction, appendText, appendText, appendText, 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, unregisterEventTargetMethods inherited from interface com.helger.xml.microdom.IMicroNodeWithChildren
getTextContent, getTextContentTrimmed, getTextContentWithConversion
-
Method Details
-
getStandalone
- Returns:
- The standalone value. Never
null. - Since:
- 9.3.5
-
isStandalone
default boolean isStandalone()- Returns:
trueif the document is standalone,falseif not. The default value isfalse.
-
setStandalone
Change the standalone state of this document.- Parameters:
eStandalone- The new value. May not benull.- Since:
- 9.3.5
-
setStandalone
default void setStandalone(boolean bIsStandalone) Change the standalone state of this document.- Parameters:
bIsStandalone- The new value.truefor standalone,falseif not.
-
getDocType
- Returns:
- May be
null.
-
getDocumentElement
- Returns:
- May be
null.
-
getClone
- Specified by:
getClonein interfacecom.helger.commons.lang.ICloneable<IMicroNode>- Specified by:
getClonein interfaceIMicroNodeWithChildren
-