Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addAttribute(XMQAttr) - Method in interface org.libxmq.XMQElement
-
Add an attribute to the element.
- addChild(XMQNode) - Method in interface org.libxmq.XMQNode
-
Add a child like xmqAddChild.
- addElement(XMQElement, String, NS) - Method in class org.libxmq.XMQ
-
Add an element as the last child of parent, like xmqAddElement.
- addElementWithAttrs(XMQElement, String, NS, String...) - Method in class org.libxmq.XMQ
-
Add an element with attributes, like xmqAddElementWithAttrs.
- addEntity(XMQEntityDecl) - Method in interface org.libxmq.XMQDtd
-
Add an entity declaration to the dtd.
- addKeyValue(XMQElement, String, String, NS) - Method in class org.libxmq.XMQ
-
Add an element with a text value, key=value in xmq, like xmqAddKeyValue.
- addKeyValueWithAttrs(XMQElement, String, String, NS, String...) - Method in class org.libxmq.XMQ
-
Add an element with a text value and attributes, like xmqAddKeyValueWithAttrs.
- addNamespace(XMQElement, NS) - Method in class org.libxmq.XMQ
-
Declare a namespace with a prefix on an element, without using it for the element itself, like xmqAddNamespace.
- addNextSibling(XMQNode) - Method in interface org.libxmq.XMQNode
-
Insert a sibling after this node, like xmqAddNextSibling (but without text merging).
- addPrevSibling(XMQNode) - Method in interface org.libxmq.XMQNode
-
Insert a sibling before this node, like xmqAddPrevSibling (but without text merging).
- addRootElement(XMQDoc, String, NS) - Method in class org.libxmq.XMQ
-
Add the root element to the document, like xmqAddRootElement.
- ancestor(String) - Static method in class org.libxmq.NS
-
Use the namespace declared on an ancestor, like NS_ANCESTOR.
- appendRaw(XMQNode) - Method in interface org.libxmq.XMQNode
-
Append a child without merging adjacent text nodes.
- at(int) - Method in class org.libxmq.Selection
-
Get a node by its position, like xmqSelectionAt.
- attribute(String) - Method in interface org.libxmq.XMQElement
-
Returns the attribute with a given name.
- ATTRIBUTE - Enum constant in enum class org.libxmq.XMQNodeType
-
An attribute, eg x="1".
- ATTRIBUTE_DECL - Enum constant in enum class org.libxmq.XMQNodeType
-
An attribute list declaration inside a dtd.
- attributeByFullName(String) - Method in interface org.libxmq.XMQElement
-
Returns the attribute with a given full name, ie including the prefix.
- attributeValue(String) - Method in interface org.libxmq.XMQElement
-
Returns the value of the attribute with a given name.
C
- caretBytes() - Method in exception class org.libxmq.ParseException
-
Get the number of utf8 bytes before the ^, -1 if the line is not shown.
- CDATA - Enum constant in enum class org.libxmq.XMQNodeType
-
A cdata section.
- charIndex() - Method in exception class org.libxmq.ParseException
-
Get the position of the offending char in the text, -1 if at the end of the input.
- children() - Method in interface org.libxmq.XMQNode
-
Returns a new list with the children of this node.
- codePoint() - Method in exception class org.libxmq.ParseException
-
Get the character at the error, 0 at the end of the input.
- column() - Method in exception class org.libxmq.ParseException
-
Get the column.
- COMMENT - Enum constant in enum class org.libxmq.XMQNodeType
-
A comment.
- compact() - Method in class org.libxmq.OutputSettings
-
Returns the previously set compact setting.
- compactQuote(String) - Method in class org.libxmq.XMQ
-
Quote a value as xmq on a single line, eg 'car go' or ('howdy' 'dowdy'), like xmqCompactQuote.
- compile(String) - Static method in class org.libxmq.IXML
-
Compile an ixml grammar.
- compileIXML(String) - Method in class org.libxmq.XMQ
-
Compile an ixml grammar, to parse inputs with parseBufferWithIXML.
- content() - Method in interface org.libxmq.XMQNode
-
Returns the text content of text like nodes (text, cdata, comment, pi).
- CONTINUE - Enum constant in enum class org.libxmq.Proceed
-
Return CONTINUE from invoke in the node callback, to keep iterating.
- count() - Method in class org.libxmq.Selection
-
The number of nodes, like xmqSelectionCount.
- cStyle() - Method in exception class org.libxmq.ParseException
-
Is this exception printed like generate_state_error_message in C.
D
- declareNs(String, String) - Method in interface org.libxmq.XMQElement
-
Declare a namespace on this element.
- DecodingException - Exception Class in org.libxmq
-
The DecodingException is thrown when a query failes to decode the text retrieved from the Document into the desired type.
- DecodingException(String, String, String) - Constructor for exception class org.libxmq.DecodingException
-
Construct a decoding exception.
- doc() - Method in interface org.libxmq.XMQNode
-
Returns the document owning this node.
- DOCUMENT - Enum constant in enum class org.libxmq.XMQNodeType
-
An xml document.
- DTD - Enum constant in enum class org.libxmq.XMQNodeType
-
A document type definition, the internal subset.
E
- element() - Method in interface org.libxmq.XMQAttr
-
Returns the element this attribute belongs to.
- element(String) - Method in class org.libxmq.Query
-
Fetches a single element from the xpath.
- element(String) - Method in interface org.libxmq.XMQElement
-
Returns the child element with a given name, without looking into nested elements.
- ELEMENT - Enum constant in enum class org.libxmq.XMQNodeType
-
An element, eg <a>.
- ELEMENT_DECL - Enum constant in enum class org.libxmq.XMQNodeType
-
An element declaration inside a dtd.
- elements() - Method in interface org.libxmq.XMQElement
-
Returns a new list with all element children of this element.
- ENTITY_DECL - Enum constant in enum class org.libxmq.XMQNodeType
-
An entity declaration inside a dtd.
- ENTITY_REF - Enum constant in enum class org.libxmq.XMQNodeType
-
An entity reference, eg ©
- errorCode() - Method in exception class org.libxmq.ParseException
-
Get the error code.
- escapeNewlines() - Method in class org.libxmq.OutputSettings
-
Returns the previously set escape-newlines setting.
- escapeNon7bit() - Method in class org.libxmq.OutputSettings
-
Returns the previously set escape-non-7bit setting.
- escapeTabs() - Method in class org.libxmq.OutputSettings
-
Returns the previously set escape-tabs setting.
- etype() - Method in interface org.libxmq.XMQEntityDecl
-
Returns the entity type, a libxml2 entity type number: 1 internal general, 2 external general parsed, 3 external general unparsed, 4 internal parameter, 5 external parameter and 6 internal predefined.
- expect(String, NodeCallback) - Method in class org.libxmq.Query
-
Perform a single callback for a single node matching the xpath expression.
- externalId() - Method in interface org.libxmq.XMQDtd
-
Returns the public id of the doctype, eg in <!
- externalId() - Method in interface org.libxmq.XMQEntityDecl
-
Returns the public id of the entity.
F
- firstChild() - Method in interface org.libxmq.XMQNode
-
Returns the first child.
- forEach(String, NodeCallback) - Method in class org.libxmq.Query
-
Perform a callback for each node matching the xpath expression.
- fullName() - Method in interface org.libxmq.XMQNode
-
Returns the full name, ie prefix:name if the node has a namespace with a prefix.
G
- getBoolean(String) - Method in class org.libxmq.Query
-
Get a boolean from an xpath location.
- getDouble(String, String) - Method in class org.libxmq.Query
-
Get a 64 bit IEEE double floating point value from an xpath location and check that it complies with the restrictions.
- getEntity(String) - Method in interface org.libxmq.XMQDoc
-
Returns the entity declaration with a given name from the dtd internal subset, or null if not found.
- getEntity(String) - Method in interface org.libxmq.XMQDtd
-
Find an entity declaration by name.
- getFloat(String, String) - Method in class org.libxmq.Query
-
Get a 32 bit IEEE double floating point value from an xpath location and check that it complies with the restrictions.
- getFQDN(String) - Static method in class org.libxmq.QueryNetwork
-
Retrieve a fully qualified domain name, such as mail.mydomain.com.
- getHostname(String) - Static method in class org.libxmq.QueryNetwork
-
Retrieve a host name, such as mail or gateway or mycomputer.
- getImplicitRoot() - Method in class org.libxmq.InputSettings
-
Returns the previously set trim none.
- getInetAddress(String) - Static method in class org.libxmq.QueryNetwork
-
Retrieve an internet address ipv4 or ipv6.
- getInt(String, String) - Method in class org.libxmq.Query
-
Get a 32 bit signed integer from an xpath location and check that it complies with the restriction.
- getLong(String, String) - Method in class org.libxmq.Query
-
Get a 64 bit signed integer from an xpath location that complies with any restriction.
- getNoMerge() - Method in class org.libxmq.InputSettings
-
Returns the previously set no merge.
- getOptionalBoolean(String) - Method in class org.libxmq.Query
-
Get an optional boolean from an xpath location.
- getOptionalDouble(String, String) - Method in class org.libxmq.Query
-
Get an optional 64 bit IEEE double floating point value from an xpath location and check that it complies with the restrictions.
- getOptionalFloat(String, String) - Method in class org.libxmq.Query
-
Get an optional 32 bit IEEE double floating point value from an xpath location and check that it complies with the restrictions.
- getOptionalInt(String, String) - Method in class org.libxmq.Query
-
Get an optional 32 bit signed integer from an xpath location and check that it complies with the restriction.
- getOptionalLong(String, String) - Method in class org.libxmq.Query
-
Get an optional 64 bit signed integer from an xpath location that complies with any restriction.
- getOptionalString(String, String) - Method in class org.libxmq.Query
-
Get an optional string from an xpath location that complies with a restriction.
- getParameterEntity(String) - Method in interface org.libxmq.XMQDtd
-
Find a parameter entity declaration by name.
- getString(String, String) - Method in class org.libxmq.Query
-
Get a string from an xpath location that complies with a restriction.
- getTrimNone() - Method in class org.libxmq.InputSettings
-
Returns the previously set trim none.
- getURL(String) - Static method in class org.libxmq.QueryNetwork
-
Retrieve an URL, such as https://foo.bar.com?
H
- hasDeclarations() - Method in interface org.libxmq.XMQDtd
-
Returns true if the dtd has any declarations.
- here(String) - Static method in class org.libxmq.NS
-
Declare the namespace on the element, like NS_HERE.
- HTML_DOCUMENT - Enum constant in enum class org.libxmq.XMQNodeType
-
An html document.
- htmq() - Method in class org.libxmq.OutputSettings
-
Returns true if the output format is htmq.
- humanReadable() - Method in class org.libxmq.LineConfig
-
Is the output human readable?
I
- indentAmount() - Method in class org.libxmq.OutputSettings
-
Returns the previously set indentation amount.
- info() - Method in exception class org.libxmq.ParseException
-
Get the extra information, or null.
- InputSettings - Class in org.libxmq
-
Used to configure the parser behaviour when parsing XMQ.
- InputSettings() - Constructor for class org.libxmq.InputSettings
-
Construct an default input settings.
- intSubset() - Method in interface org.libxmq.XMQDoc
-
Returns the internal doctype, the dtd, or null.
- invoke(XMQNode) - Method in interface org.libxmq.NodeCallback
-
Invoked for each node found.
- isEmpty() - Method in class org.libxmq.Selection
-
Is the selection empty?
- iterator() - Method in class org.libxmq.Selection
-
Iterate over the selected nodes, from the first node, like xmqSelectionNext.
- IXML - Class in org.libxmq
-
A compiled ixml grammar, used to parse many inputs, see XMQ.compileIXML and XMQ.parseBufferWithIXML.
L
- lastChild() - Method in interface org.libxmq.XMQNode
-
Returns the last child.
- line() - Method in exception class org.libxmq.ParseException
-
Get the line number.
- line() - Method in interface org.libxmq.XMQNode
-
Returns the source line of the node, like xmqGetLineNumber: elements get the line where their start tag ends, text the line where its first chunk was read, comments, processing instructions and cdata sections the line where they end.
- LineConfig - Class in org.libxmq
-
Print log lines as xmq, like xmqLinePrintf in xmq.h.
- LineConfig() - Constructor for class org.libxmq.LineConfig
-
Create a line config that prints xmq.
N
- name() - Method in interface org.libxmq.XMQNode
-
Returns the name of the node.
- NAMESPACE - Enum constant in enum class org.libxmq.XMQNodeType
-
A namespace node, only created by xpath namespace axis evaluation.
- newDoc() - Method in class org.libxmq.XMQ
-
Create a new empty document, like xmqNewDoc.
- next() - Method in interface org.libxmq.XMQNode
-
Returns the next sibling.
- node() - Method in class org.libxmq.Query
-
Return the node from which the query starts.
- NodeCallback - Interface in org.libxmq
-
A functional interface used to call back for each found DOM node.
- nodes() - Method in class org.libxmq.Selection
-
The selected nodes as an unmodifiable list.
- NONE - Static variable in class org.libxmq.NS
-
No namespace, like NS_NONE.
- NOTATION_DECL - Enum constant in enum class org.libxmq.XMQNodeType
-
A notation declaration inside a dtd.
- NotFoundException - Exception Class in org.libxmq
-
The not found exception is thrown when a query cannot find the desired value to decode and return.
- NotFoundException(String) - Constructor for exception class org.libxmq.NotFoundException
-
Construct a not found exception.
- noTrim() - Method in class org.libxmq.OutputSettings
-
Returns the previously set no-trim setting.
- ns() - Method in interface org.libxmq.XMQAttr
-
Returns the namespace of the attribute, like the libxml2 xmlAttr ns.
- ns() - Method in interface org.libxmq.XMQElement
-
Returns the namespace this element belongs to.
- NS - Class in org.libxmq
-
The namespace of an element added with XMQ.addElement etc, like XMQNS in xmq.h.
- numChildren() - Method in interface org.libxmq.XMQNode
-
Returns the number of children.
O
- of(String) - Static method in class org.libxmq.XMQ
-
Create a document from an xmq buffer, like xmqOf in C: a newDoc and a parseBuffer in one call.
- optionalElement(String) - Method in class org.libxmq.Query
-
Fetches a single optional element from the xpath.
- org.libxmq - package org.libxmq
- orig() - Method in interface org.libxmq.XMQEntityDecl
-
Returns the value as written in the source, or null if the entity was predefined and not written.
- OutputSettings - Class in org.libxmq
-
The
OutputSettingsclass is used to configure the output behavior when printing XMQ. - OutputSettings() - Constructor for class org.libxmq.OutputSettings
-
Create default output settings.
P
- parent() - Method in interface org.libxmq.XMQNode
-
Returns the parent node.
- PARENT - Static variable in class org.libxmq.NS
-
The same namespace as the parent, like NS_PARENT.
- parse(byte[]) - Method in class org.libxmq.IXML
-
Parse an UTF-8 input with the grammar.
- parse(byte[], int, int) - Method in class org.libxmq.IXML
-
Parse an UTF-8 input with the grammar, the bytes start to stop of the buffer.
- parse(String) - Method in class org.libxmq.IXML
-
Parse an input with the grammar.
- parseBuffer(String, InputSettings) - Method in class org.libxmq.XMQ
-
Parse a buffer containing XMQ/XML/HTML/JSON/CLINES.
- parseBufferWithIXML(byte[], IXML) - Method in class org.libxmq.XMQ
-
Parse an UTF-8 buffer with an ixml grammar, like xmqParseBufferWithIXML.
- parseBufferWithIXML(String, IXML) - Method in class org.libxmq.XMQ
-
Parse a buffer with an ixml grammar, like xmqParseBufferWithIXML.
- ParseErrorCode - Enum Class in org.libxmq
-
These are the potential parse errors that can be returned from libxmq.
- ParseException - Exception Class in org.libxmq
-
The parse exception contains necessary information to understand the parse failure.
- ParseException(ParseErrorCode, String, int, int, String) - Constructor for exception class org.libxmq.ParseException
-
Construct a parse exception.
- ParseException(ParseErrorCode, String, int, int, String, int, int, ParseException) - Constructor for exception class org.libxmq.ParseException
-
Construct a parse exception of the xmq parser, printed like the C generate_state_error_message: the line of the input (at most 1024 bytes) with the ^ after as many spaces as there are utf8 bytes before the error.
- ParseException(ParseErrorCode, String, int, int, String, String, int) - Constructor for exception class org.libxmq.ParseException
-
Construct a parse exception with extra information, like the C error_info, where the offending char is not at the column (as in the yaml parser).
- parseFile(Path, InputSettings) - Method in class org.libxmq.XMQ
-
Parse a file containing XMQ/XML/HTML/JSON/CLINES.
- PE_REF - Enum constant in enum class org.libxmq.XMQNodeType
-
A parameter entity reference %name; between the declarations of a dtd, kept as written since entities are never expanded implicitly.
- PI - Enum constant in enum class org.libxmq.XMQNodeType
-
A processing instruction, eg <?
- preferDoubleQuotes() - Method in class org.libxmq.OutputSettings
-
Returns the previously set prefer-double-quotes setting.
- prefix() - Method in interface org.libxmq.XMQNS
-
Returns the prefix.
- prev() - Method in interface org.libxmq.XMQNode
-
Returns the previous sibling.
- printException(ParseException) - Static method in class org.libxmq.XMQ
-
Render a locale adapted text cli error printout of a parse exception using the default locale.
- printException(ParseException, Locale) - Static method in class org.libxmq.XMQ
-
Render a locale adapted text cli error printout of a parse exception.
- printf(String, Object...) - Method in class org.libxmq.LineConfig
-
Print a line.
- Proceed - Enum Class in org.libxmq
-
Used when iterating over found DOM nodes.
Q
- query(String) - Method in class org.libxmq.Query
-
Fetches a single element and wraps it inside a query from the xpath.
- Query - Class in org.libxmq
-
The Query class implemets the basic querying methods.
- Query(XMQNode) - Constructor for class org.libxmq.Query
-
Build a new query from a DOM node.
- queryBuffer(String, InputSettings) - Method in class org.libxmq.XMQ
-
Parse a buffer containing XMQ/XML/HTML/JSON/CLINES and return a Query object for the DOM.
- queryFile(Path, InputSettings) - Method in class org.libxmq.XMQ
-
Parse a file containing XMQ/XML/HTML/JSON/CLINES and return a Query object to the DOM.
- QueryNetwork - Class in org.libxmq
-
Implements network related queries, url:s, hostnames, ip-addresses etc.
- QueryNetwork(XMQNode) - Constructor for class org.libxmq.QueryNetwork
-
Build a new query from a DOM node.
- QueryScientific - Class in org.libxmq
-
This class is used to extract scientific values from a DOM.
- QueryScientific(XMQNode) - Constructor for class org.libxmq.QueryScientific
-
Build a new scientific query from a DOM node.
R
- rawValue() - Method in interface org.libxmq.XMQAttr
-
Returns the raw value as found in the file, or null for a parsed attribute.
- removeAttribute(XMQAttr) - Method in interface org.libxmq.XMQElement
-
Remove an attribute by object identity.
- renderHTML(XMQDoc, OutputSettings) - Method in class org.libxmq.XMQ
-
Render the document as XMQ in HTML.
- renderTEX(XMQDoc, OutputSettings) - Method in class org.libxmq.XMQ
-
Render the document as XMQ in TeX.
- replaceWith(XMQNode) - Method in interface org.libxmq.XMQNode
-
Replace this node with another node, like xmqReplaceNode.
- rootElement() - Method in interface org.libxmq.XMQDoc
-
Returns the root element, like xmqGetDocumentElement.
S
- searchNs(String) - Method in interface org.libxmq.XMQElement
-
Find the namespace declaration for the element itself or a given prefix, walking up to the root if needed, as in libxslt.
- select(String) - Method in class org.libxmq.Query
-
Select the nodes matching the xpath expression, evaluated from the query node.
- Selection - Class in org.libxmq
-
The nodes selected by an xpath, returned by
Query.select(String). - setAttribute(String, String) - Method in interface org.libxmq.XMQElement
-
Set an attribute on the element.
- setCompact(boolean) - Method in class org.libxmq.OutputSettings
-
Set if printing compact XMQ or not.
- setContent(String) - Method in interface org.libxmq.XMQNode
-
Set the content of a text like node.
- setDocType(XMQDoc, String) - Method in class org.libxmq.XMQ
-
Set the doctype of the document, eg html, like xmqSetDocType.
- setEscapeNewlines(boolean) - Method in class org.libxmq.OutputSettings
-
Set if newlines in text should be printed as a
entity instead of a literal newline (the--escape-newlinesoption). - setEscapeNon7bit(boolean) - Method in class org.libxmq.OutputSettings
-
Set if non 7bit characters should be printed as an entity (the
--escape-non-7bitoption). - setEscapeTabs(boolean) - Method in class org.libxmq.OutputSettings
-
Set if tabs in text should be printed as a
	entity instead of a literal tab (the--escape-tabsoption). - setHtmq(boolean) - Method in class org.libxmq.OutputSettings
-
Set if the output format is htmq.
- setHumanReadable(boolean) - Method in class org.libxmq.LineConfig
-
Print human readable lines instead of xmq, eg (work) pi is 3.141590.
- setImplicitRoot(String) - Method in class org.libxmq.InputSettings
-
Set the implicit root when parsing XMQ.
- setIndentAmount(int) - Method in class org.libxmq.OutputSettings
-
Sets the number of spaces to use for each level of indentation when pretty printing XMQ output.
- setIntSubset(XMQDtd) - Method in interface org.libxmq.XMQDoc
-
Set the internal doctype.
- setLine(int) - Method in interface org.libxmq.XMQNode
-
Set the source line of the node.
- setName(String) - Method in interface org.libxmq.XMQNode
-
Set the name of the node.
- setNoMerge(boolean) - Method in class org.libxmq.InputSettings
-
Disable automatic merging of text noes when loading document.
- setNoTrim(boolean) - Method in class org.libxmq.OutputSettings
-
Set if the text of the document should not be trimmed (the
--trim=noneoption). - setNs(XMQNS) - Method in interface org.libxmq.XMQAttr
-
Set the namespace of the attribute.
- setNs(XMQNS) - Method in interface org.libxmq.XMQElement
-
Set the namespace this element belongs to.
- setPreferDoubleQuotes(boolean) - Method in class org.libxmq.OutputSettings
-
Set if double quotes should be preferred over single quotes (the
--prefer-double-quotesoption). - setRootElement(XMQElement) - Method in interface org.libxmq.XMQDoc
-
Set the root element.
- setTrimNone(boolean) - Method in class org.libxmq.InputSettings
-
Disable whitespace trimming using the xmq heuristic when loading xml/html.
- setUri(String) - Method in interface org.libxmq.XMQNS
-
Set the namespace uri.
- setValue(String) - Method in interface org.libxmq.XMQAttr
-
Set the value of the attribute.
- source() - Method in class org.libxmq.IXML
-
The ixml grammar source.
- source() - Method in exception class org.libxmq.ParseException
-
Get the source, ie file name, "mbuffer", "stdin" etc.
- STOP - Enum constant in enum class org.libxmq.Proceed
-
Return STOP from invoke in the node callback, to stop itering.
- systemId() - Method in interface org.libxmq.XMQDtd
-
Returns the system id of the doctype.
- systemId() - Method in interface org.libxmq.XMQEntityDecl
-
Returns the system id of the entity.
T
- text() - Method in exception class org.libxmq.ParseException
-
Get the line of text.
- TEXT - Enum constant in enum class org.libxmq.XMQNodeType
-
A text node.
- textContent() - Method in interface org.libxmq.XMQNode
-
Returns the string value of the node, like xmqGetString.
- toCLINES(XMQDoc, OutputSettings) - Method in class org.libxmq.XMQ
-
Print the document as clines.
- toHTML(XMQDoc, OutputSettings) - Method in class org.libxmq.XMQ
-
Print the document as HTML.
- toJSON(XMQDoc, OutputSettings) - Method in class org.libxmq.XMQ
-
Print the document as json.
- TooManyException - Exception Class in org.libxmq
-
The too many exception is thrown when a query expected a single answer but more than one was found.
- TooManyException(String) - Constructor for exception class org.libxmq.TooManyException
-
Construct a too many exception.
- toXML(XMQNode, OutputSettings) - Method in class org.libxmq.XMQ
-
Print the document as XML.
- toXMQ(XMQNode, OutputSettings) - Method in class org.libxmq.XMQ
-
Print the document as XMQ.
- type() - Method in interface org.libxmq.XMQNode
-
Returns the type of this node.
U
- unlink() - Method in interface org.libxmq.XMQNode
-
Remove this node from its parent and siblings, like xmqUnlinkNode.
- uri() - Method in interface org.libxmq.XMQNS
-
Returns the namespace uri.
V
- value - Variable in enum class org.libxmq.ParseErrorCode
-
Return error code.
- value() - Method in interface org.libxmq.XMQAttr
-
Returns the value of the attribute, the concatenation of the children.
- valueOf(String) - Static method in enum class org.libxmq.ParseErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.libxmq.Proceed
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.libxmq.XMQColorName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.libxmq.XMQNodeType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.libxmq.ParseErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.libxmq.Proceed
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.libxmq.XMQColorName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.libxmq.XMQNodeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warning() - Method in exception class org.libxmq.ParseException
-
Get the warning printed before the error, or null.
X
- XMQ - Class in org.libxmq
-
The XMQ class is used to parse/print/render XMQ/XML/HTML/JSON documents.
- XMQ() - Constructor for class org.libxmq.XMQ
-
Construct an XMQ using the xmq DOM implementation.
- XMQ_COLOR_AK - Enum constant in enum class org.libxmq.XMQColorName
-
Attribute Key
- XMQ_COLOR_AKV - Enum constant in enum class org.libxmq.XMQColorName
-
Attribute Key Value
- XMQ_COLOR_BG - Enum constant in enum class org.libxmq.XMQColorName
-
Override BG color for terminal.
- XMQ_COLOR_C - Enum constant in enum class org.libxmq.XMQColorName
-
Comment
- XMQ_COLOR_CP - Enum constant in enum class org.libxmq.XMQColorName
-
Compound Parentheses
- XMQ_COLOR_E - Enum constant in enum class org.libxmq.XMQColorName
-
Entity
- XMQ_COLOR_EK - Enum constant in enum class org.libxmq.XMQColorName
-
Element Key
- XMQ_COLOR_EKV - Enum constant in enum class org.libxmq.XMQColorName
-
Element Key Value
- XMQ_COLOR_EN - Enum constant in enum class org.libxmq.XMQColorName
-
Element Name
- XMQ_COLOR_FG - Enum constant in enum class org.libxmq.XMQColorName
-
Override FG color of text.
- XMQ_COLOR_NS - Enum constant in enum class org.libxmq.XMQColorName
-
Name Space (both for element and attribute)
- XMQ_COLOR_NSD - Enum constant in enum class org.libxmq.XMQColorName
-
Name Space Declaration xmlns
- XMQ_COLOR_Q - Enum constant in enum class org.libxmq.XMQColorName
-
Quote
- XMQ_COLOR_UW - Enum constant in enum class org.libxmq.XMQColorName
-
Unicode whitespace
- XMQ_COLOR_XLS - Enum constant in enum class org.libxmq.XMQColorName
-
Override XLS element names with this color.
- XMQ_ERROR_ATTRIBUTES_NOT_CLOSED - Enum constant in enum class org.libxmq.ParseErrorCode
-
Attributes not closed.
- XMQ_ERROR_BAD_DOCTYPE - Enum constant in enum class org.libxmq.ParseErrorCode
-
Bad doctype.
- XMQ_ERROR_BODY_NOT_CLOSED - Enum constant in enum class org.libxmq.ParseErrorCode
-
Body not closed.
- XMQ_ERROR_CANNOT_HANDLE_HTML - Enum constant in enum class org.libxmq.ParseErrorCode
-
Cannot handle HTML.
- XMQ_ERROR_CANNOT_HANDLE_JSON - Enum constant in enum class org.libxmq.ParseErrorCode
-
Cannot handle JSON.
- XMQ_ERROR_CANNOT_HANDLE_XML - Enum constant in enum class org.libxmq.ParseErrorCode
-
Cannot handle XML.
- XMQ_ERROR_CANNOT_READ_FILE - Enum constant in enum class org.libxmq.ParseErrorCode
-
Cannot read file.
- XMQ_ERROR_COMMENT_CLOSED_WITH_TOO_MANY_SLASHES - Enum constant in enum class org.libxmq.ParseErrorCode
-
Comment closed with too many slashes.
- XMQ_ERROR_COMMENT_NOT_CLOSED - Enum constant in enum class org.libxmq.ParseErrorCode
-
Comment not closed.
- XMQ_ERROR_COMPOUND_MAY_NOT_CONTAIN - Enum constant in enum class org.libxmq.ParseErrorCode
-
Compound may not contain.
- XMQ_ERROR_COMPOUND_NOT_CLOSED - Enum constant in enum class org.libxmq.ParseErrorCode
-
Compound not closed.
- XMQ_ERROR_ENTITY_NOT_CLOSED - Enum constant in enum class org.libxmq.ParseErrorCode
-
Entity not closed.
- XMQ_ERROR_EXPECTED_CONTENT_AFTER_EQUALS - Enum constant in enum class org.libxmq.ParseErrorCode
-
Expected content after equals.
- XMQ_ERROR_EXPECTED_HTML - Enum constant in enum class org.libxmq.ParseErrorCode
-
Expected HTML.
- XMQ_ERROR_EXPECTED_HTMQ - Enum constant in enum class org.libxmq.ParseErrorCode
-
Expected HTMQ.
- XMQ_ERROR_EXPECTED_JSON - Enum constant in enum class org.libxmq.ParseErrorCode
-
Expected JSON.
- XMQ_ERROR_EXPECTED_XML - Enum constant in enum class org.libxmq.ParseErrorCode
-
Expected XML.
- XMQ_ERROR_EXPECTED_XMQ - Enum constant in enum class org.libxmq.ParseErrorCode
-
Expected XMQ.
- XMQ_ERROR_INVALID_CHAR - Enum constant in enum class org.libxmq.ParseErrorCode
-
Invalid char.
- XMQ_ERROR_INVALID_UTF8 - Enum constant in enum class org.libxmq.ParseErrorCode
-
The input is not valid UTF-8.
- XMQ_ERROR_IXML_EXPECTED_DOT - Enum constant in enum class org.libxmq.ParseErrorCode
-
IXML expected dot.
- XMQ_ERROR_IXML_EXPECTED_EQUAL_OR_COLON - Enum constant in enum class org.libxmq.ParseErrorCode
-
IXML expected equal or colon.
- XMQ_ERROR_IXML_EXPECTED_NAME - Enum constant in enum class org.libxmq.ParseErrorCode
-
IXML expected name.
- XMQ_ERROR_IXML_EXPECTED_RULE - Enum constant in enum class org.libxmq.ParseErrorCode
-
IXML expected rule.
- XMQ_ERROR_IXML_SYNTAX_ERROR - Enum constant in enum class org.libxmq.ParseErrorCode
-
IXML syntax error.
- XMQ_ERROR_IXML_UNEXPECTED_END - Enum constant in enum class org.libxmq.ParseErrorCode
-
IXML unexpected end.
- XMQ_ERROR_JSON_INVALID_CHAR - Enum constant in enum class org.libxmq.ParseErrorCode
-
JSON invalid char.
- XMQ_ERROR_JSON_INVALID_ESCAPE - Enum constant in enum class org.libxmq.ParseErrorCode
-
JSON invalid escape.
- XMQ_ERROR_NONE - Enum constant in enum class org.libxmq.ParseErrorCode
-
No error.
- XMQ_ERROR_NOT_XMQ - Enum constant in enum class org.libxmq.ParseErrorCode
-
Not XMQ.
- XMQ_ERROR_OOM - Enum constant in enum class org.libxmq.ParseErrorCode
-
Out of memory.
- XMQ_ERROR_PARSING_HTML - Enum constant in enum class org.libxmq.ParseErrorCode
-
Error parsing HTML.
- XMQ_ERROR_PARSING_XML - Enum constant in enum class org.libxmq.ParseErrorCode
-
Error parsing XML.
- XMQ_ERROR_QUOTE_CLOSED_WITH_TOO_MANY_QUOTES - Enum constant in enum class org.libxmq.ParseErrorCode
-
Quote closed with too many quotes.
- XMQ_ERROR_QUOTE_NOT_CLOSED - Enum constant in enum class org.libxmq.ParseErrorCode
-
Quote not closed.
- XMQ_ERROR_TOO_DEEP - Enum constant in enum class org.libxmq.ParseErrorCode
-
The elements, objects or arrays are nested deeper than XMQParser.MAX_NESTING_DEPTH.
- XMQ_ERROR_UNEXPECTED_CLOSING_BRACE - Enum constant in enum class org.libxmq.ParseErrorCode
-
Unexpected closing brace.
- XMQ_ERROR_UNEXPECTED_TAB - Enum constant in enum class org.libxmq.ParseErrorCode
-
Unexpected tab.
- XMQ_ERROR_VALUE_CANNOT_START_WITH - Enum constant in enum class org.libxmq.ParseErrorCode
-
Value cannot start with.
- XMQ_ERROR_XML_FRAGMENT_NOT_CLOSED - Enum constant in enum class org.libxmq.ParseErrorCode
-
Embedded xml fragment is not closed.
- XMQ_WARNING_QUOTES_NEEDED - Enum constant in enum class org.libxmq.ParseErrorCode
-
Warning quotes needed.
- XMQAttr - Interface in org.libxmq
-
An xml attribute, like xmqAttributeType.
- XMQColorName - Enum Class in org.libxmq
-
XMQSyntax: SYNTAX_C: Comments SYNTAX_Q: Standalone quote.
- XMQDoc - Interface in org.libxmq
-
An xml document, like xmqDocumentType.
- XMQDtd - Interface in org.libxmq
-
A document type definition, the internal subset of a doctype.
- XMQElement - Interface in org.libxmq
-
An xml element, like xmqElementType.
- XMQEntityDecl - Interface in org.libxmq
-
An entity declaration inside a dtd, eg <!
- XMQNode - Interface in org.libxmq
-
Base of all nodes in the xmq DOM: documents, elements, attributes, text, comments, dtds and so on.
- XMQNodeType - Enum Class in org.libxmq
-
The node types of the xmq DOM.
- XMQNS - Interface in org.libxmq
-
A namespace, like the libxml2 xmlNs struct.
All Classes and Interfaces|All Packages|Serialized Form