Uses of Class
org.libxmq.imp.xml.XmlNs
Packages that use XmlNs
-
Uses of XmlNs in org.libxmq.imp.xml
Fields in org.libxmq.imp.xml declared as XmlNsModifier and TypeFieldDescriptionstatic final XmlNsXmlElement.XML_NSThe predefined xml namespace.Methods in org.libxmq.imp.xml that return XmlNsModifier and TypeMethodDescriptionDeclare a namespace on this element, like libxml2 xmlNewNs.static XmlNsThe namespace of an element or attribute.XmlAttr.ns()Returns the namespace of the attribute.XmlElement.ns()Returns the namespace of the element.static XmlNsDeclare a namespace on element, null if the prefix is already declared there (xml_ns_declare).static XmlNsXmlDomApi.nsLookupHref(XmlNode node, String href) Find a declaration of href in scope of node whose prefix is not shadowed (xmlSearchNsByHref).static XmlNsXmlDomApi.nsLookupPrefix(XmlNode node, String prefix) Find the declaration of prefix in scope of node (xmlSearchNs), the xml prefix is always declared.Search the namespace declared for the prefix on this element or its ancestors, like libxml2 xmlSearchNs.Methods in org.libxmq.imp.xml that return types with arguments of type XmlNsModifier and TypeMethodDescriptionXmlDomApi.nodeNsDecls(XmlNode e) The namespace declarations of an element (the live list, copy it to change it while iterating).XmlElement.nsDefs()Returns the namespace declarations on this element, in source order.Methods in org.libxmq.imp.xml with parameters of type XmlNsModifier and TypeMethodDescriptionstatic XmlAttrXmlDomApi.nodeAppendAttr(XmlNode e, String name, XmlNs ns, String value) Append an attribute (without checking for an existing one).static XmlNodeXmlDomApi.nodeNewElement(XmlDocument dom, String name, XmlNs ns) A new element (xml_node_new_element).static XmlAttrXmlDomApi.nodeSetAttr(XmlNode e, String name, XmlNs ns, String value) Set an attribute, replacing the value (and namespace) of an existing one.static voidSet the namespace of an element or attribute.static StringThe uri of a namespace, "" for an undeclaration, null for a prefix declared without uri.static voidXmlDomApi.nsMoveDeclLast(XmlNode e, XmlNs ns) Move the declaration ns last among the declarations of element.static voidXmlDomApi.nsMoveDeclTo(XmlNode from, XmlNs ns, XmlNode to) Move the declaration ns from element from to the front of the declarations of to.static StringThe prefix of a namespace.static voidXmlDomApi.nsRemoveDecl(XmlNode e, XmlNs ns, XmlNs replacement) Remove the declaration ns from element, the nodes of the subtree using it use replacement instead (xml_ns_remove_decl).static voidSet the uri.