Uses of Class
org.eclipse.lemminx.utils.XMLBuilder
-
-
Uses of XMLBuilder in org.eclipse.lemminx.extensions.generators
Methods in org.eclipse.lemminx.extensions.generators with parameters of type XMLBuilder Modifier and Type Method Description protected abstract voidAbstractXML2GrammarGenerator. generate(Grammar grammar, T grammarSettings, XMLBuilder out, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Generate the grammar content from the given grammar information into the given builder. -
Uses of XMLBuilder in org.eclipse.lemminx.extensions.generators.xml2dtd
Methods in org.eclipse.lemminx.extensions.generators.xml2dtd with parameters of type XMLBuilder Modifier and Type Method Description protected voidXML2DTDGenerator. generate(Grammar grammar, DTDGeneratorSettings settings, XMLBuilder dtd, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of XMLBuilder in org.eclipse.lemminx.extensions.generators.xml2relaxng
Methods in org.eclipse.lemminx.extensions.generators.xml2relaxng with parameters of type XMLBuilder Modifier and Type Method Description protected voidXML2RelaxNGGenerator. generate(Grammar grammar, RelaxNGGeneratorSettings settings, XMLBuilder schema, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of XMLBuilder in org.eclipse.lemminx.extensions.generators.xml2xsd
Methods in org.eclipse.lemminx.extensions.generators.xml2xsd with parameters of type XMLBuilder Modifier and Type Method Description protected voidXML2XMLSchemaGenerator. generate(Grammar grammar, XMLSchemaGeneratorSettings settings, XMLBuilder schema, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of XMLBuilder in org.eclipse.lemminx.extensions.xsi.participants
Methods in org.eclipse.lemminx.extensions.xsi.participants with parameters of type XMLBuilder Modifier and Type Method Description booleanXSIFormatterParticipant. formatAttributeValue(String name, String valueWithoutQuote, Character quote, DOMAttr attr, XMLBuilder xml)StringXSIFormatterParticipant. getCurrentLineIndent(XMLBuilder xml, boolean insertSpaces, int tabSize) -
Uses of XMLBuilder in org.eclipse.lemminx.services.extensions.format
Methods in org.eclipse.lemminx.services.extensions.format with parameters of type XMLBuilder Modifier and Type Method Description default booleanIFormatterParticipant. formatAttributeValue(String name, String valueWithoutQuote, Character quote, DOMAttr attr, XMLBuilder xml)Format the given attribute value. -
Uses of XMLBuilder in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils that return XMLBuilder Modifier and Type Method Description XMLBuilderXMLBuilder. addAttribute(String name, String value, int level, boolean surroundWithQuotes)Used when you are knowingly adding multiple attributes.XMLBuilderXMLBuilder. addAttribute(DOMAttr attr, int level)XMLBuilderXMLBuilder. addContent(String text)Returns this XMLBuilder withtextaddedXMLBuilderXMLBuilder. addContent(String text, boolean isWhitespaceContent, boolean hasSiblings, String delimiter)Returns this XMLBuilder withtextadded depending onisWhitespaceContent,hasSiblingsanddelimiterXMLBuilderXMLBuilder. addContentCDATA(String content)XMLBuilderXMLBuilder. addContentComment(String content)XMLBuilderXMLBuilder. addContentPI(String content)XMLBuilderXMLBuilder. addDeclTagStart(String declTagName)XMLBuilderXMLBuilder. addDeclTagStart(DTDDeclNode tag)XMLBuilderXMLBuilder. addParameter(String parameter)XMLBuilderXMLBuilder. addPrologAttribute(DOMAttr attr)Add prolog attribute It will not perform any linefeeds and only basic indentation.XMLBuilderXMLBuilder. addSingleAttribute(String name, String value, boolean surroundWithQuotes)XMLBuilderXMLBuilder. addSingleAttribute(DOMAttr attr)XMLBuilderXMLBuilder. addSingleAttribute(DOMAttr attr, boolean surroundWithQuotes, boolean prependSpace)XMLBuilderXMLBuilder. addUnindentedParameter(String parameter)XMLBuilderXMLBuilder. appendSpace()XMLBuilderXMLBuilder. closeStartElement()XMLBuilderXMLBuilder. endCDATA()XMLBuilderXMLBuilder. endComment()XMLBuilderXMLBuilder. endDoctype()XMLBuilderXMLBuilder. endDoctypeInternalSubset()XMLBuilderXMLBuilder. endElement(String name)XMLBuilderXMLBuilder. endElement(String name, boolean isEndTagClosed)XMLBuilderXMLBuilder. endElement(String prefix, String name)XMLBuilderXMLBuilder. endElement(String prefix, String name, boolean isEndTagClosed)XMLBuilderXMLBuilder. endPrologOrPI()XMLBuilderXMLBuilder. indent(int level)XMLBuilderXMLBuilder. linefeed()XMLBuilderXMLBuilder. selfCloseElement()XMLBuilderXMLBuilder. startCDATA()XMLBuilderXMLBuilder. startComment(DOMComment comment)XMLBuilderXMLBuilder. startDoctype()XMLBuilderXMLBuilder. startDoctypeInternalSubset()XMLBuilderXMLBuilder. startDTDAttlistDecl()XMLBuilderXMLBuilder. startDTDElementDecl()XMLBuilderXMLBuilder. startElement(String name, boolean close)XMLBuilderXMLBuilder. startElement(String prefix, String name, boolean close)XMLBuilderXMLBuilder. startPrologOrPI(String tagName)XMLBuilderXMLBuilder. startUnindentedDoctypeInternalSubset()
-