Uses of Class
org.eclipse.lemminx.dom.DOMNode
-
-
Uses of DOMNode in com.thaiopensource.relaxng.pattern
Methods in com.thaiopensource.relaxng.pattern with parameters of type DOMNode Modifier and Type Method Description org.eclipse.lsp4j.LocationLinkCMRelaxNGDocument. findTypeLocation(DOMNode originNode) -
Uses of DOMNode in org.eclipse.lemminx.dom
Subclasses of DOMNode in org.eclipse.lemminx.dom Modifier and Type Class Description classDOMAttrAn attribute node.classDOMCDATASectionA CData section node.classDOMCharacterDataA CharacterData node.classDOMCommentA Comment node.classDOMDocumentXML document.classDOMDocumentTypeA doctype node.classDOMElementAn Element node.classDOMProcessingInstructionA processing instruction node.classDOMTextA Text node.classDTDAttlistDeclDTD Attribute List declarationclassDTDDeclNodeDTDNodeclassDTDElementDeclDTD Element DeclarationclassDTDEntityDeclDOM Entity declarationclassDTDNotationDeclDTDNotationDeclMethods in org.eclipse.lemminx.dom that return DOMNode Modifier and Type Method Description DOMNodeDOMDocument. adoptNode(Node source)DOMNodeDOMNode. findNodeAt(int offset)DOMNodeDOMNode. findNodeBefore(int offset)Returns the node beforestatic DOMNodeDOMNode. findNodeOrAttrAt(DOMDocument document, int offset)DOMNodeDOMNode. getChild(int index)Returns node child at the given index.DOMNodeDOMNode. getFirstChild()DOMNodeDOMNode. getLastChild()DOMNodeDOMAttr. getNextSibling()DOMNodeDOMNode. getNextSibling()DOMNodeDOMNode. getParentNode()DOMNodeDOMNode. getPreviousNonTextSibling()DOMNodeDOMNode. getPreviousSibling()DOMNodeDOMDocument. getProlog()If document has<?xml ... ?>, return this prolog, null otherwiseDOMNodeDOMDocument. importNode(Node importedNode, boolean deep)DOMNodeDOMDocument. renameNode(Node n, String namespaceURI, String qualifiedName)Methods in org.eclipse.lemminx.dom that return types with arguments of type DOMNode Modifier and Type Method Description Collection<DOMNode>DOMDocument. findDTDAttrList(String elementName)Returns the DTD Attribute list for the given element name and empty otherwise.List<DOMNode>DOMNode. getChildren()Returns the node children.List<DOMNode>DOMNode. getChildrenWithAttributeValue(String name, String value)Returns a list of children, each having an attribute called name, with a value of valueList<DOMNode>DOMDocument. getRoots()Methods in org.eclipse.lemminx.dom with parameters of type DOMNode Modifier and Type Method Description voidDOMNode. addChild(DOMNode child)Add 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 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 Constructor Description DOMAttr(String name, int start, int end, DOMNode ownerElement)DOMAttr(String name, DOMNode ownerElement) -
Uses of DOMNode in org.eclipse.lemminx.extensions.contentmodel.model
Methods in org.eclipse.lemminx.extensions.contentmodel.model with parameters of type DOMNode Modifier and Type Method Description org.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.contentmodel.utils
Constructors in org.eclipse.lemminx.extensions.contentmodel.utils with parameters of type DOMNode Constructor Description XMLGenerator(SharedSettings sharedSettings, boolean autoCloseTags, String whitespacesIndent, String lineDelimiter, boolean canSupportSnippets, int maxLevel, DOMNode node) -
Uses of DOMNode in org.eclipse.lemminx.extensions.dtd.contentmodel
Methods in org.eclipse.lemminx.extensions.dtd.contentmodel with parameters of type DOMNode Modifier and Type Method Description org.eclipse.lsp4j.LocationLinkCMDTDDocument. findTypeLocation(DOMNode node) -
Uses of DOMNode in org.eclipse.lemminx.extensions.dtd.participants
Methods in org.eclipse.lemminx.extensions.dtd.participants with parameters of type DOMNode Modifier and Type Method Description voidDTDHighlightingParticipant. 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 DOMNode Modifier and Type Method Description voidXMLReferencesHighlightingParticipant. 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 DOMNode Modifier and Type Method Description DOMNodeSearchNode. getNode()DOMNodeSearchQuery. getNode()Methods in org.eclipse.lemminx.extensions.references.search with parameters of type DOMNode Modifier and Type Method Description static 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 DOMNode Constructor Description SearchNode(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 DOMNode Modifier and Type Method Description voidRNGHighlightingParticipant. 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 DOMNode Modifier and Type Method Description static 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 DOMNode Modifier and Type Method Description voidXIncludeDocumentLinkParticipant. 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 DOMNode Modifier and Type Method Description org.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 DOMNode Modifier and Type Method Description voidXSDHighlightingParticipant. 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 DOMNode Modifier and Type Method Description static 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 DOMNode Modifier and Type Method Description DOMNodeIPositionRequest. getNode()Returns the node where completion was triggered.Methods in org.eclipse.lemminx.services.extensions with parameters of type DOMNode Modifier and Type Method Description voidIHighlightingParticipant. 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 DOMNode Modifier and Type Method Description protected 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 DOMNode Modifier and Type Method Description voidXMLFormatterDocument. format(DOMNode child, XMLFormattingConstraints parentConstraints, int start, int end, List<org.eclipse.lsp4j.TextEdit> edits)voidXMLFormatterDocument. formatChildren(DOMNode currentDOMNode, XMLFormattingConstraints parentConstraints, int start, int end, List<org.eclipse.lsp4j.TextEdit> edits) -
Uses of DOMNode in org.eclipse.lemminx.settings
Methods in org.eclipse.lemminx.settings with parameters of type DOMNode Modifier and Type Method Description booleanXMLSymbolFilter. 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 DOMNode Modifier and Type Method Description 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 '<') of the givenelementand null otherwise.
-