Uses of Interface
com.helger.xml.microdom.IMicroNode
Packages that use IMicroNode
Package
Description
-
Uses of IMicroNode in com.helger.xml.microdom
Subinterfaces of IMicroNode in com.helger.xml.microdomModifier and TypeInterfaceDescriptioninterfaceIMicroAttributeContainer<IMPLTYPE extends IMicroAttributeContainer<IMPLTYPE>>Interface for objects having attributes.interfaceRepresents a CDATA node.interfaceRepresents a comment node.interfaceThis interface is just a hull for a node that has no properties itself but contains children.interfaceRepresents a complete document.interfaceRepresents the document type of a document.interfaceRepresents a single element (=tag) of a document.interfaceRepresents the reference to an entity.interfaceA special marker interface that is implemented by classes, that really support having children!interfaceRepresents a processing instruction.interfaceRepresents a text node.Classes in com.helger.xml.microdom that implement IMicroNodeModifier and TypeClassDescriptionclassThis is an abstract base class for the micro document object model.classBasic implementation class for the micro document object model.final classDefault implementation of theIMicroCDATAinterface.final classDefault implementation of theIMicroCommentinterface.final classDefault implementation of theIMicroContainerinterface.final classDefault implementation of theIMicroDocumentinterface.final classDefault implementation of theIMicroDocumentTypeinterface.final classDefault implementation of theIMicroElementinterface.final classDefault implementation of theIMicroEntityReferenceinterface.final classDefault implementation of theIMicroProcessingInstructioninterface.final classDefault implementation of theIMicroTextinterface.Methods in com.helger.xml.microdom with type parameters of type IMicroNodeModifier and TypeMethodDescriptionfinal <NODETYPE extends IMicroNode>
NODETYPEAbstractMicroNode.appendChild(NODETYPE aChildNode) <NODETYPE extends IMicroNode>
NODETYPEIMicroNode.appendChild(NODETYPE aChildNode) Append any child to the node.final <NODETYPE extends IMicroNode>
NODETYPEAbstractMicroNode.insertAfter(NODETYPE aChildNode, IMicroNode aPredecessor) <NODETYPE extends IMicroNode>
NODETYPEIMicroNode.insertAfter(NODETYPE aChildNode, IMicroNode aPredecessor) Insert an existing node after a certain child node of this.final <NODETYPE extends IMicroNode>
NODETYPEAbstractMicroNode.insertAtIndex(int nIndex, NODETYPE aChildNode) <NODETYPE extends IMicroNode>
NODETYPEIMicroNode.insertAtIndex(int nIndex, NODETYPE aChildNode) Insert an existing node as a child at the specified index.final <NODETYPE extends IMicroNode>
NODETYPEAbstractMicroNode.insertBefore(NODETYPE aChildNode, IMicroNode aSuccessor) <NODETYPE extends IMicroNode>
NODETYPEIMicroNode.insertBefore(NODETYPE aChildNode, IMicroNode aSuccessor) Insert an existing node before a certain child node of this.Methods in com.helger.xml.microdom that return IMicroNodeModifier and TypeMethodDescriptionfinal IMicroNodeAbstractMicroNode.detachFromParent()IMicroNode.detachFromParent()Detach this node from the parent node so it can be inserted into another node without problems.AbstractMicroNode.findFirstChild(Predicate<? super IMicroNode> aFilter) final IMicroNodeAbstractMicroNodeWithChildren.findFirstChild(Predicate<? super IMicroNode> aFilter) IHasMicroNodeRepresentation.getAsMicroNode()AbstractMicroNode.getChildAtIndex(int nIndex) final IMicroNodeAbstractMicroNodeWithChildren.getChildAtIndex(int nIndex) AbstractMicroNode.getFirstChild()final IMicroNodeAbstractMicroNodeWithChildren.getFirstChild()IMicroNode.getFirstChild()AbstractMicroNode.getLastChild()final IMicroNodeAbstractMicroNodeWithChildren.getLastChild()IMicroNode.getLastChild()final IMicroNodeAbstractMicroNode.getNextSibling()IMicroNode.getNextSibling()final IMicroNodeAbstractMicroNode.getParent()IMicroNode.getParent()final IMicroNodeAbstractMicroNode.getPreviousSibling()IMicroNode.getPreviousSibling()IMicroEvent.getSourceNode()MicroEvent.getSourceNode()IMicroEvent.getTargetNode()MicroEvent.getTargetNode()Methods in com.helger.xml.microdom that return types with arguments of type IMicroNodeModifier and TypeMethodDescriptionprotected final com.helger.commons.collection.impl.ICommonsList<IMicroNode> AbstractMicroNodeWithChildren.directGetAllChildren()com.helger.commons.collection.impl.ICommonsList<IMicroNode> AbstractMicroNode.getAllChildren()final com.helger.commons.collection.impl.ICommonsList<IMicroNode> AbstractMicroNodeWithChildren.getAllChildren()com.helger.commons.collection.impl.ICommonsList<IMicroNode> IMicroNode.getAllChildren()Get a list of all direct child nodes.default com.helger.commons.collection.impl.ICommonsList<IMicroNode> IMicroNode.getAllChildrenRecursive()Recursively get all children.com.helger.commons.collection.impl.ICommonsIterable<IMicroNode> AbstractMicroNode.getChildren()final com.helger.commons.collection.impl.ICommonsIterable<IMicroNode> AbstractMicroNodeWithChildren.getChildren()Methods in com.helger.xml.microdom with parameters of type IMicroNodeModifier and TypeMethodDescriptiondefault voidIMicroNode.appendChildren(IMicroNode... aChildren) Append multiple children to the node at once.static IMicroContainerMicroContainer.createWithClones(IMicroNode... aChildNodes) Create a newIMicroContainerthat contains clones of all passed nodesfinal <NODETYPE extends IMicroNode>
NODETYPEAbstractMicroNode.insertAfter(NODETYPE aChildNode, IMicroNode aPredecessor) <NODETYPE extends IMicroNode>
NODETYPEIMicroNode.insertAfter(NODETYPE aChildNode, IMicroNode aPredecessor) Insert an existing node after a certain child node of this.final <NODETYPE extends IMicroNode>
NODETYPEAbstractMicroNode.insertBefore(NODETYPE aChildNode, IMicroNode aSuccessor) <NODETYPE extends IMicroNode>
NODETYPEIMicroNode.insertBefore(NODETYPE aChildNode, IMicroNode aSuccessor) Insert an existing node before a certain child node of this.booleanAbstractMicroNodeWithChildren.isEqualContent(IMicroNode o) booleanIMicroNode.isEqualContent(IMicroNode aNode) As instances of this class may not implement equals/hashCode we need a way to determine, if 2 nodes are equal by content.booleanMicroCDATA.isEqualContent(IMicroNode o) booleanMicroComment.isEqualContent(IMicroNode o) booleanMicroDocument.isEqualContent(IMicroNode o) booleanMicroDocumentType.isEqualContent(IMicroNode o) booleanMicroElement.isEqualContent(IMicroNode o) booleanMicroEntityReference.isEqualContent(IMicroNode o) booleanMicroProcessingInstruction.isEqualContent(IMicroNode o) booleanMicroText.isEqualContent(IMicroNode o) protected final voidAbstractMicroNode.onEvent(EMicroEvent eEventType, IMicroNode aSourceNode, IMicroNode aTargetNode) protected voidAbstractMicroNode.onInsertAfter(AbstractMicroNode aChildNode, IMicroNode aPredecessor) Callback that is invoked once a child is to be inserted after another child.protected final voidAbstractMicroNodeWithChildren.onInsertAfter(AbstractMicroNode aChildNode, IMicroNode aPredecessor) protected voidAbstractMicroNode.onInsertBefore(AbstractMicroNode aChildNode, IMicroNode aSuccessor) Callback that is invoked once a child is to be inserted before another child.protected final voidAbstractMicroNodeWithChildren.onInsertBefore(AbstractMicroNode aChildNode, IMicroNode aSuccessor) protected com.helger.commons.state.EChangeAbstractMicroNode.onRemoveChild(IMicroNode aChild) Callback when a child is removed.protected final com.helger.commons.state.EChangeAbstractMicroNodeWithChildren.onRemoveChild(IMicroNode aChildNode) final com.helger.commons.state.EChangeAbstractMicroNode.removeChild(IMicroNode aChild) com.helger.commons.state.EChangeIMicroNode.removeChild(IMicroNode aChild) Remove the passed child.default com.helger.commons.state.EChangeIMicroNode.replaceChild(IMicroNode aOldChild, IMicroNode aNewChild) Replace the passed old child with the new child.Method parameters in com.helger.xml.microdom with type arguments of type IMicroNodeModifier and TypeMethodDescriptiondefault voidIMicroNode.appendChildren(Iterable<? extends IMicroNode> aChildren) Append multiple children to the node at once.booleanAbstractMicroNodeWithChildren.containsAnyChild(Predicate<? super IMicroNode> aFilter) default booleanIMicroNode.containsAnyChild(Predicate<? super IMicroNode> aFilter) Check if any direct child matching the provided filter is contained.static IMicroContainerMicroContainer.createWithClones(Iterable<? extends IMicroNode> aChildNodes) Create a newIMicroContainerthat contains clones of all passed nodesAbstractMicroNode.findFirstChild(Predicate<? super IMicroNode> aFilter) final IMicroNodeAbstractMicroNodeWithChildren.findFirstChild(Predicate<? super IMicroNode> aFilter) <DSTTYPE> DSTTYPEAbstractMicroNode.findFirstChildMapped(Predicate<? super IMicroNode> aFilter, Function<? super IMicroNode, ? extends DSTTYPE> aMapper) <DSTTYPE> DSTTYPEAbstractMicroNode.findFirstChildMapped(Predicate<? super IMicroNode> aFilter, Function<? super IMicroNode, ? extends DSTTYPE> aMapper) final <DSTTYPE> DSTTYPEAbstractMicroNodeWithChildren.findFirstChildMapped(Predicate<? super IMicroNode> aFilter, Function<? super IMicroNode, ? extends DSTTYPE> aMapper) final <DSTTYPE> DSTTYPEAbstractMicroNodeWithChildren.findFirstChildMapped(Predicate<? super IMicroNode> aFilter, Function<? super IMicroNode, ? extends DSTTYPE> aMapper) voidAbstractMicroNode.forAllChildren(Consumer<? super IMicroNode> aConsumer) voidAbstractMicroNode.forAllChildren(Predicate<? super IMicroNode> aFilter, Consumer<? super IMicroNode> aConsumer) voidAbstractMicroNode.forAllChildren(Predicate<? super IMicroNode> aFilter, Consumer<? super IMicroNode> aConsumer) final voidAbstractMicroNodeWithChildren.forAllChildren(Consumer<? super IMicroNode> aConsumer) final voidAbstractMicroNodeWithChildren.forAllChildren(Predicate<? super IMicroNode> aFilter, Consumer<? super IMicroNode> aConsumer) final voidAbstractMicroNodeWithChildren.forAllChildren(Predicate<? super IMicroNode> aFilter, Consumer<? super IMicroNode> aConsumer) com.helger.commons.state.EContinueAbstractMicroNode.forAllChildrenBreakable(Function<? super IMicroNode, com.helger.commons.state.EContinue> aConsumer) com.helger.commons.state.EContinueAbstractMicroNodeWithChildren.forAllChildrenBreakable(Function<? super IMicroNode, com.helger.commons.state.EContinue> aConsumer) <DSTTYPE> voidAbstractMicroNode.forAllChildrenMapped(Predicate<? super IMicroNode> aFilter, Function<? super IMicroNode, ? extends DSTTYPE> aMapper, Consumer<? super DSTTYPE> aConsumer) <DSTTYPE> voidAbstractMicroNode.forAllChildrenMapped(Predicate<? super IMicroNode> aFilter, Function<? super IMicroNode, ? extends DSTTYPE> aMapper, Consumer<? super DSTTYPE> aConsumer) final <DSTTYPE> voidAbstractMicroNodeWithChildren.forAllChildrenMapped(Predicate<? super IMicroNode> aFilter, Function<? super IMicroNode, ? extends DSTTYPE> aMapper, Consumer<? super DSTTYPE> aConsumer) final <DSTTYPE> voidAbstractMicroNodeWithChildren.forAllChildrenMapped(Predicate<? super IMicroNode> aFilter, Function<? super IMicroNode, ? extends DSTTYPE> aMapper, Consumer<? super DSTTYPE> aConsumer) Constructors in com.helger.xml.microdom with parameters of type IMicroNodeModifierConstructorDescriptionMicroContainer(IMicroNode... aChildNodes) MicroEvent(EMicroEvent eEventType, IMicroNode aSourceNode, IMicroNode aTargetNode) Constructor parameters in com.helger.xml.microdom with type arguments of type IMicroNode -
Uses of IMicroNode in com.helger.xml.microdom.serialize
Methods in com.helger.xml.microdom.serialize with parameters of type IMicroNodeModifier and TypeMethodDescriptionprotected voidMicroSerializer.emitNode(XMLEmitter aXMLWriter, IMicroNode aParentNode, IMicroNode aPrevSibling, IMicroNode aNode, IMicroNode aNextSibling) static byte[]MicroWriter.getNodeAsBytes(IMicroNode aNode) Convert the passed micro node to an XML byte array usingXMLWriterSettings.DEFAULT_XML_SETTINGS.static byte[]MicroWriter.getNodeAsBytes(IMicroNode aNode, IXMLWriterSettings aSettings) Convert the passed micro node to an XML byte array using the provided settings.static StringMicroWriter.getNodeAsString(IMicroNode aNode) Convert the passed micro node to an XML string usingXMLWriterSettings.DEFAULT_XML_SETTINGS.static StringMicroWriter.getNodeAsString(IMicroNode aNode, IXMLWriterSettings aSettings) Convert the passed micro node to an XML string using the provided settings.static com.helger.commons.state.ESuccessMicroWriter.writeToFile(IMicroNode aNode, File aFile) Write a Micro Node to a file using the default settings.static com.helger.commons.state.ESuccessMicroWriter.writeToFile(IMicroNode aNode, File aFile, IXMLWriterSettings aSettings) Write a Micro Node to a file.static com.helger.commons.state.ESuccessMicroWriter.writeToFile(IMicroNode aNode, Path aPath) Write a Micro Node to a file using the default settings.static com.helger.commons.state.ESuccessMicroWriter.writeToFile(IMicroNode aNode, Path aPath, IXMLWriterSettings aSettings) Write a Micro Node to a file.static com.helger.commons.state.ESuccessMicroWriter.writeToStream(IMicroNode aNode, OutputStream aOS) Write a Micro Node to an output stream using the default settings.static com.helger.commons.state.ESuccessMicroWriter.writeToStream(IMicroNode aNode, OutputStream aOS, IXMLWriterSettings aSettings) Write a Micro Node to anOutputStream.static com.helger.commons.state.ESuccessMicroWriter.writeToWriter(IMicroNode aNode, Writer aWriter) Write a Micro Node to aWriterusing the defaultXMLWriterSettings.DEFAULT_XML_SETTINGS.static com.helger.commons.state.ESuccessMicroWriter.writeToWriter(IMicroNode aNode, Writer aWriter, IXMLWriterSettings aSettings) Write a Micro Node to aWriter.Constructors in com.helger.xml.microdom.serialize with parameters of type IMicroNodeModifierConstructorDescriptionConstructor for MicroNodes using the default charset.MicroDOMInputStreamProvider(IMicroNode aNode, IXMLWriterSettings aSettings) Constructor for micro nodes.MicroDOMInputStreamProvider(IMicroNode aNode, Charset aCharset) Constructor for MicroNodes. -
Uses of IMicroNode in com.helger.xml.microdom.util
Methods in com.helger.xml.microdom.util with type parameters of type IMicroNodeModifier and TypeMethodDescriptionstatic <T extends IMicroNode>
voidMicroVisitor.visit(T aNode, com.helger.commons.hierarchy.IChildrenProvider<T> aChildrenProvider, com.helger.commons.hierarchy.visit.IHierarchyVisitorCallback<? super T> aCallback) Iterate the passed node and invoke the callback for all child nodes.Methods in com.helger.xml.microdom.util that return IMicroNodeModifier and TypeMethodDescriptionstatic IMicroNodeMicroHelper.append(IMicroNode aSrcNode, Object aChild) static IMicroNodeMicroHelper.convertToMicroNode(Node aNode) MicroRecursiveIterator.next()Methods in com.helger.xml.microdom.util with parameters of type IMicroNodeModifier and TypeMethodDescriptionstatic IMicroNodeMicroHelper.append(IMicroNode aSrcNode, Object aChild) static MicroRecursiveIteratorMicroRecursiveIterator.createChildNodeIterator(IMicroNode aNode) Create aMicroRecursiveIteratorthat only iterates the child nodes of the given node.static IMicroContainerMicroHelper.getAllChildrenAsContainer(IMicroNode aParent) Create a micro container with all children of the passed node.static IMicroContainerMicroHelper.getAllOriginalChildrenAsContainer(IMicroNode aParent) Create a micro container with all children of the passed node.static StringMicroHelper.getPath(IMicroNode aNode, String sSep) Get the path of the given node, up to the root element.static voidMicroVisitor.visit(IMicroNode aNode, com.helger.commons.hierarchy.visit.IHierarchyVisitorCallback<? super IMicroNode> aCallback) Iterate the passed node and invoke the callback for all child nodes.Method parameters in com.helger.xml.microdom.util with type arguments of type IMicroNodeModifier and TypeMethodDescriptionstatic voidMicroVisitor.visit(IMicroNode aNode, com.helger.commons.hierarchy.visit.IHierarchyVisitorCallback<? super IMicroNode> aCallback) Iterate the passed node and invoke the callback for all child nodes.Constructors in com.helger.xml.microdom.util with parameters of type IMicroNode