Uses of Interface
org.libxmq.XMQDoc
Packages that use XMQDoc
-
Uses of XMQDoc in org.libxmq
Methods in org.libxmq that return XMQDocModifier and TypeMethodDescriptionXMQNode.doc()Returns the document owning this node.XMQ.newDoc()Create a new empty document, like xmqNewDoc.static XMQDocCreate a document from an xmq buffer, like xmqOf in C: a newDoc and a parseBuffer in one call.IXML.parse(byte[] input) Parse an UTF-8 input with the grammar.IXML.parse(byte[] buf, int start, int stop) Parse an UTF-8 input with the grammar, the bytes start to stop of the buffer.Parse an input with the grammar.XMQ.parseBuffer(String buffer, InputSettings is) Parse a buffer containing XMQ/XML/HTML/JSON/CLINES.XMQ.parseBufferWithIXML(byte[] buffer, IXML ixml) Parse an UTF-8 buffer with an ixml grammar, like xmqParseBufferWithIXML.XMQ.parseBufferWithIXML(String buffer, IXML ixml) Parse a buffer with an ixml grammar, like xmqParseBufferWithIXML.XMQ.parseFile(Path file, InputSettings is) Parse a file containing XMQ/XML/HTML/JSON/CLINES.Methods in org.libxmq with parameters of type XMQDocModifier and TypeMethodDescriptionXMQ.addRootElement(XMQDoc doc, String name, NS ns) Add the root element to the document, like xmqAddRootElement.XMQ.renderHTML(XMQDoc doc, OutputSettings os) Render the document as XMQ in HTML.XMQ.renderTEX(XMQDoc doc, OutputSettings os) Render the document as XMQ in TeX.voidXMQ.setDocType(XMQDoc doc, String name) Set the doctype of the document, eg html, like xmqSetDocType.XMQ.toCLINES(XMQDoc doc, OutputSettings os) Print the document as clines.XMQ.toHTML(XMQDoc doc, OutputSettings os) Print the document as HTML.XMQ.toJSON(XMQDoc doc, OutputSettings os) Print the document as json. -
Uses of XMQDoc in org.libxmq.imp.xml
Classes in org.libxmq.imp.xml that implement XMQDoc