Uses of Class
org.eclipse.lemminx.dom.DOMNode
Packages that use DOMNode
Package
Description
-
Uses of DOMNode in com.thaiopensource.relaxng.pattern
Methods in com.thaiopensource.relaxng.pattern with parameters of type DOMNodeModifier and TypeMethodDescriptionorg.eclipse.lsp4j.LocationLinkCMRelaxNGDocument.findTypeLocation(DOMNode originNode) -
Uses of DOMNode in org.eclipse.lemminx.dom
Subclasses of DOMNode in org.eclipse.lemminx.domModifier and TypeClassDescriptionclassAn attribute node.classA CData section node.classA CharacterData node.classA Comment node.classBase class for DOM nodes that can have children (elements, documents, DTD declarations).classXML document.classA doctype node.classAn Element node.classA processing instruction node.classA Text node.classBase class for DOM nodes that have a position range (start/end offsets) and flags in the parsed document.classDTD Attribute List declaration invalid input: '<!'ATTLISTclassDTDNodeclassDTD Element Declaration invalid input: '<!'ELEMENTclassDOM Entity declaration invalid input: '<!'ENTITYclassDTDNotationDeclMethods in org.eclipse.lemminx.dom that return DOMNodeModifier and TypeMethodDescriptionDOMContainerNode.findChildWithAttributeValue(String name, String value) DOMNode.findChildWithAttributeValue(String name, String value) Returns the first child having an attribute with the given name and value, or null if none found.DOMContainerNode.findNodeAt(int offset) DOMNode.findNodeAt(int offset) DOMContainerNode.findNodeBefore(int offset) DOMNode.findNodeBefore(int offset) Returns the node beforestatic DOMNodeDOMNode.findNodeOrAttrAt(DOMDocument document, int offset) DOMContainerNode.getChild(int index) DOMNode.getChild(int index) Returns node child at the given index.DOMContainerNode.getFirstChild()DOMNode.getFirstChild()DOMContainerNode.getLastChild()DOMNode.getLastChild()DOMNode.getNextSibling()DOMNode.getParentNode()DOMNode.getPreviousNonTextSibling()DOMNode.getPreviousSibling()DOMDocument.getProlog()If document has<?xml ... ?>, return this prolog, null otherwiseDOMDocument.importNode(Node importedNode, boolean deep) DOMDocument.renameNode(Node n, String namespaceURI, String qualifiedName) Methods in org.eclipse.lemminx.dom that return types with arguments of type DOMNodeModifier and TypeMethodDescriptionDOMContainerNode.children()DOMNode.children()Returns an iterable over this node's children.DOMDocument.findDTDAttrList(String elementName) Returns the DTD Attribute list for the given element name and empty otherwise.DOMContainerNode.getChildren()Deprecated.DOMNode.getChildren()Deprecated.DOMDocument.getRoots()Methods in org.eclipse.lemminx.dom with parameters of type DOMNodeModifier and TypeMethodDescriptionvoidvoidAdd node child and set child.parent tothisstatic DOMAttrDOMNode.findAttrAt(DOMNode node, int offset) static DTDDeclParameterDOMNode.findDTDDeclParameterAt(DOMNode node, int offset) static DOMTextDOMNode.findTextAt(DOMNode node, int offset) static XMLModelXMLModel.findXMLModel(DOMNode node, DOMDocument document) Returns theXMLModelthat wraps the given PI node, or null if the node is not an xml-model PI declared in the document.static booleanXMLModel.isXMLModel(DOMNode node) Returns true if the given node is a xml-model processing instruction and false otherwise.Constructors in org.eclipse.lemminx.dom with parameters of type DOMNode -
Uses of DOMNode in org.eclipse.lemminx.extensions.contentmodel.generator
Constructors in org.eclipse.lemminx.extensions.contentmodel.generator with parameters of type DOMNodeModifierConstructorDescriptionXMLElementGenerator(SharedSettings sharedSettings, boolean autoCloseTags, String whitespacesIndent, String lineDelimiter, boolean canSupportSnippets, int maxLevel, DOMNode node) -
Uses of DOMNode in org.eclipse.lemminx.extensions.contentmodel.model
Methods in org.eclipse.lemminx.extensions.contentmodel.model with parameters of type DOMNodeModifier and TypeMethodDescriptionorg.eclipse.lsp4j.LocationLinkCMDocument.findTypeLocation(DOMNode node) Returns the location of the type definition of the given node. -
Uses of DOMNode in org.eclipse.lemminx.extensions.dtd.contentmodel
Methods in org.eclipse.lemminx.extensions.dtd.contentmodel with parameters of type DOMNodeModifier and TypeMethodDescriptionorg.eclipse.lsp4j.LocationLinkCMDTDDocument.findTypeLocation(DOMNode originNode) Returns the location of the DTD declaration (invalid input: '<!'ELEMENT> or invalid input: '<!'ATTLIST>) that defines the type of the given XML node. -
Uses of DOMNode in org.eclipse.lemminx.extensions.dtd.participants
Methods in org.eclipse.lemminx.extensions.dtd.participants with parameters of type DOMNodeModifier and TypeMethodDescriptionvoidDTDHighlightingParticipant.findDocumentHighlights(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected voidDTDReferenceParticipant.findReferences(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of DOMNode in org.eclipse.lemminx.extensions.references.participants
Methods in org.eclipse.lemminx.extensions.references.participants with parameters of type DOMNodeModifier and TypeMethodDescriptionvoidXMLReferencesHighlightingParticipant.findDocumentHighlights(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected voidXMLReferencesReferenceParticipant.findReferences(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of DOMNode in org.eclipse.lemminx.extensions.references.search
Methods in org.eclipse.lemminx.extensions.references.search that return DOMNodeMethods in org.eclipse.lemminx.extensions.references.search with parameters of type DOMNodeModifier and TypeMethodDescriptionstatic SearchQuerySearchQueryFactory.createFromQuery(DOMNode node, int offset, XMLReferencesSettings settings) static SearchQuerySearchQueryFactory.createQuery(DOMNode node, int offset, XMLReferencesSettings settings) static SearchQuerySearchQueryFactory.createQuery(DOMNode node, int offset, XMLReferencesSettings settings, SearchQuery.QueryDirection direction) static SearchQuerySearchQueryFactory.createQuery(DOMNode node, XMLReferencesSettings settings, SearchQuery.QueryDirection direction) static SearchQuerySearchQueryFactory.createToQuery(DOMNode node, int offset, XMLReferencesSettings settings) static SearchQuerySearchQueryFactory.createToQueryByRetrievingToBefore(DOMNode node, int offset, XMLReferencesSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) static List<SearchNode> SearchNodeFactory.findSearchNodes(DOMNode node, String prefix, boolean multiple, SearchNode.Direction direction) Returns all search node of the given DOMnode.static SearchNode.DirectionSearchQueryFactory.getDirection(DOMNode node, XMLReferenceExpression expression, SearchQuery.QueryDirection queryDirection) Returns the direction of the given node according the given expression and query direction.static SearchNode.DirectionSearchQueryFactory.getInversedDirection(DOMNode node, XMLReferenceExpression expression, SearchQuery.QueryDirection direction) Returns the inversed direction of the given node according the given expression and query direction.static SearchNodeSearchNodeFactory.getSearchNodeAt(DOMNode node, int offset, String prefix, boolean multiple, SearchNode.Direction direction) Returns the search node in the given DOMnodeat the givenoffsetand null otherwise.Constructors in org.eclipse.lemminx.extensions.references.search with parameters of type DOMNodeModifierConstructorDescriptionSearchNode(int start, int end, DOMNode node, String prefix, SearchNode.Direction direction) SearchQuery(DOMNode node, int offset, List<XMLReferenceExpression> expressions, SearchQuery.QueryDirection direction) -
Uses of DOMNode in org.eclipse.lemminx.extensions.relaxng.grammar.rng
Methods in org.eclipse.lemminx.extensions.relaxng.grammar.rng with parameters of type DOMNodeModifier and TypeMethodDescriptionvoidRNGHighlightingParticipant.findDocumentHighlights(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) voidRNGDocumentLinkParticipant.findDocumentLinks(DOMNode parent, DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) protected voidRNGReferenceParticipant.findReferences(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of DOMNode in org.eclipse.lemminx.extensions.relaxng.utils
Methods in org.eclipse.lemminx.extensions.relaxng.utils with parameters of type DOMNodeModifier and TypeMethodDescriptionstatic voidRelaxNGUtils.searchRNGOriginAttributes(DOMNode targetNode, BiConsumer<DOMAttr, DOMAttr> collector, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Search origin attributes from the given target node.. -
Uses of DOMNode in org.eclipse.lemminx.extensions.xinclude
Methods in org.eclipse.lemminx.extensions.xinclude with parameters of type DOMNodeModifier and TypeMethodDescriptionvoidXIncludeDocumentLinkParticipant.findDocumentLinks(DOMNode parent, DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) -
Uses of DOMNode in org.eclipse.lemminx.extensions.xsd.contentmodel
Methods in org.eclipse.lemminx.extensions.xsd.contentmodel with parameters of type DOMNodeModifier and TypeMethodDescriptionorg.eclipse.lsp4j.LocationLinkCMXSDDocument.findTypeLocation(DOMNode originNode) -
Uses of DOMNode in org.eclipse.lemminx.extensions.xsd.participants
Methods in org.eclipse.lemminx.extensions.xsd.participants with parameters of type DOMNodeModifier and TypeMethodDescriptionvoidXSDHighlightingParticipant.findDocumentHighlights(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected voidXSDReferenceParticipant.findReferences(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of DOMNode in org.eclipse.lemminx.extensions.xsd.utils
Methods in org.eclipse.lemminx.extensions.xsd.utils with parameters of type DOMNodeModifier and TypeMethodDescriptionstatic voidXSDUtils.searchXSOriginAttributes(DOMNode targetNode, BiConsumer<DOMAttr, DOMAttr> collector, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Search origin attributes from the given target node.. -
Uses of DOMNode in org.eclipse.lemminx.services.extensions
Methods in org.eclipse.lemminx.services.extensions that return DOMNodeModifier and TypeMethodDescriptionIPositionRequest.getNode()Returns the node where completion was triggered.Methods in org.eclipse.lemminx.services.extensions with parameters of type DOMNodeModifier and TypeMethodDescriptionvoidIHighlightingParticipant.findDocumentHighlights(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected abstract voidAbstractReferenceParticipant.findReferences(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Find the references -
Uses of DOMNode in org.eclipse.lemminx.services.extensions.completion
Methods in org.eclipse.lemminx.services.extensions.completion with parameters of type DOMNodeModifier and TypeMethodDescriptionprotected voidAbstractAttributeCompletionResolver.resolveCompletionItem(DOMNode node, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected abstract voidAbstractCompletionResolver.resolveCompletionItem(DOMNode node, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Resolve the given completion itemtoResolveby using the given DOM node.protected voidElementEndTagCompletionResolver.resolveCompletionItem(DOMNode node, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) static voidAbstractElementCompletionItem.updateEndTagName(DOMNode node, int offset, ISharedSettingsRequest request, String tagName, org.eclipse.lsp4j.CompletionItem completionItem) -
Uses of DOMNode in org.eclipse.lemminx.services.format
Methods in org.eclipse.lemminx.services.format with parameters of type DOMNodeModifier and TypeMethodDescriptionvoidXMLFormatterDocument.format(DOMNode child, XMLFormattingConstraints parentConstraints, int start, int end, List<org.eclipse.lsp4j.TextEdit> edits) Dispatches a single DOM node to the appropriate formatter based on its type.voidXMLFormatterDocument.formatChildren(DOMNode currentDOMNode, XMLFormattingConstraints parentConstraints, int start, int end, List<org.eclipse.lsp4j.TextEdit> edits) Formats all child nodes of the given parent node. -
Uses of DOMNode in org.eclipse.lemminx.settings
Methods in org.eclipse.lemminx.settings with parameters of type DOMNodeModifier and TypeMethodDescriptionbooleanXMLSymbolFilter.isNodeSymbol(DOMNode node) Returns true if the given node is a symbol and false otherwise. -
Uses of DOMNode in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils with parameters of type DOMNodeModifier and TypeMethodDescriptionstatic DOMElementXMLPositionUtility.findUnclosedParentElement(DOMNode node, int offset) Finds the nearest parent element that is not closed at the given offset.static booleanDOMUtils.isDOMElement(DOMNode node, String tagName) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectStartTagLocalName(DOMNode element) Returns the range of a tag's local name.static org.eclipse.lsp4j.RangeXMLPositionUtility.selectStartTagName(DOMNode element) Returns the range of the start tag name (excludes the 'invalid input: '<'') of the givenelementand null otherwise.
children()to traverse children without allocating a list.