Uses of Interface
org.libxmq.XMQElement
Packages that use XMQElement
-
Uses of XMQElement in org.libxmq
Methods in org.libxmq that return XMQElementModifier and TypeMethodDescriptionXMQ.addElement(XMQElement parent, String name, NS ns) Add an element as the last child of parent, like xmqAddElement.XMQ.addElementWithAttrs(XMQElement parent, String name, NS ns, String... attrs) Add an element with attributes, like xmqAddElementWithAttrs.XMQ.addKeyValue(XMQElement parent, String key, String value, NS ns) Add an element with a text value, key=value in xmq, like xmqAddKeyValue.XMQ.addKeyValueWithAttrs(XMQElement parent, String key, String value, NS ns, String... attrs) Add an element with a text value and attributes, like xmqAddKeyValueWithAttrs.XMQ.addRootElement(XMQDoc doc, String name, NS ns) Add the root element to the document, like xmqAddRootElement.Fetches a single element from the xpath.XMQAttr.element()Returns the element this attribute belongs to.Returns the child element with a given name, without looking into nested elements.XMQDoc.rootElement()Returns the root element, like xmqGetDocumentElement.Methods in org.libxmq that return types with arguments of type XMQElementModifier and TypeMethodDescriptionXMQElement.elements()Returns a new list with all element children of this element.Query.optionalElement(String xpath) Fetches a single optional element from the xpath.Methods in org.libxmq with parameters of type XMQElementModifier and TypeMethodDescriptionXMQ.addElement(XMQElement parent, String name, NS ns) Add an element as the last child of parent, like xmqAddElement.XMQ.addElementWithAttrs(XMQElement parent, String name, NS ns, String... attrs) Add an element with attributes, like xmqAddElementWithAttrs.XMQ.addKeyValue(XMQElement parent, String key, String value, NS ns) Add an element with a text value, key=value in xmq, like xmqAddKeyValue.XMQ.addKeyValueWithAttrs(XMQElement parent, String key, String value, NS ns, String... attrs) Add an element with a text value and attributes, like xmqAddKeyValueWithAttrs.voidXMQ.addNamespace(XMQElement element, NS ns) Declare a namespace with a prefix on an element, without using it for the element itself, like xmqAddNamespace.voidXMQDoc.setRootElement(XMQElement e) Set the root element. -
Uses of XMQElement in org.libxmq.imp.xml
Classes in org.libxmq.imp.xml that implement XMQElementMethods in org.libxmq.imp.xml that return types with arguments of type XMQElementMethods in org.libxmq.imp.xml with parameters of type XMQElementModifier and TypeMethodDescriptionvoidXmlDocument.setRootElement(XMQElement e) Set the root element, replacing any existing root element, like libxml2 xmlDocSetRootElement.