Home
last modified time | relevance | path

Searched refs:namespaceURI (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython2/Lib/xml/dom/
Dminidom.py34 namespaceURI = None # this is non-null only for elements and attributes variable in Node
312 (nsURI == "*" or node.namespaceURI == nsURI)):
344 def __init__(self, qName, namespaceURI=EMPTY_NAMESPACE, localName=None, argument
349 d["namespaceURI"] = namespaceURI
380 nsuri = self.namespaceURI
410 del elem._attrsNS[(self.namespaceURI, self.localName)]
430 if self.namespaceURI:
431 return info.isIdNS(self.namespaceURI, self.localName)
444 if self.namespaceURI:
445 return info.getAttributeTypeNS(self.namespaceURI, self.localName)
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMNodeProxy.java465 public boolean hasAttributeNS(String namespaceURI, String localName) in hasAttributeNS() argument
467 return DTM.NULL != dtm.getAttributeNode(node,namespaceURI,localName); in hasAttributeNS()
837 … String namespaceURI, String qualifiedName) throws DOMException in createElementNS() argument
853 String namespaceURI, String qualifiedName) throws DOMException in createAttributeNS() argument
866 public final NodeList getElementsByTagNameNS(String namespaceURI, in getElementsByTagNameNS() argument
873 boolean isNamespaceURIWildCard = "*".equals(namespaceURI); in getElementsByTagNameNS()
880 …traverseChildren(listVector, nodeList.item(i), namespaceURI, localName, isNamespaceURIWildCard, is… in getElementsByTagNameNS()
885 …traverseChildren(listVector, dtm.getNode(node), namespaceURI, localName, isNamespaceURIWildCard, i… in getElementsByTagNameNS()
912 String namespaceURI, in traverseChildren() argument
928 if ((namespaceURI == null && nsURI == null) in traverseChildren()
[all …]
DDTMNamedNodeMap.java197 public Node getNamedItemNS(String namespaceURI, String localName) in getNamedItemNS() argument
206 if ((namespaceURI == null && nsURI == null) in getNamedItemNS()
207 || (namespaceURI != null && namespaceURI.equals(nsURI))) in getNamedItemNS()
265 public Node removeNamedItemNS(String namespaceURI, String localName) in removeNamedItemNS() argument
DIncrementalSAXSource_Filter.java242 public void endElement(java.lang.String namespaceURI, java.lang.String localName, in endElement() argument
252 clientContentHandler.endElement(namespaceURI,localName,qName); in endElement()
323 public void startElement(java.lang.String namespaceURI, java.lang.String localName, in startElement() argument
333 clientContentHandler.startElement(namespaceURI, localName, qName, atts); in startElement()
DDTMDocumentImpl.java434 public void endElement(java.lang.String namespaceURI, java.lang.String localName, in endElement() argument
474 public void startElement(java.lang.String namespaceURI, java.lang.String localName, in startElement() argument
488 appendStartElement(m_nsNames.stringToIndex(namespaceURI), in startElement()
1086 public int getAttributeNode(int nodeHandle, String namespaceURI, String name) { in getAttributeNode() argument
1087 int nsIndex = m_nsNames.stringToIndex(namespaceURI), in getAttributeNode()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToXMLSAXHandler.java241 public void endElement(String namespaceURI, String localName, String qName) in endElement() argument
247 if (namespaceURI == null) in endElement()
250 namespaceURI = m_elemContext.m_elementURI; in endElement()
252 namespaceURI = getNamespaceURI(qName, true); in endElement()
263 m_saxHandler.endElement(namespaceURI, localName, qName); in endElement()
640 String namespaceURI, in startElement() argument
647 super.startElement(namespaceURI, localName, name, atts); in startElement()
664 m_elemContext = m_elemContext.push(namespaceURI, localName, name); in startElement()
668 if (namespaceURI != null) in startElement()
669 ensurePrefixIsDeclared(namespaceURI, name); in startElement()
DToUnknownStream.java451 … public void startElement(String namespaceURI, String localName, String qName) throws SAXException in startElement() argument
453 this.startElement(namespaceURI, localName, qName, null); in startElement()
457 String namespaceURI, in startElement() argument
473 m_handler.startElement(namespaceURI, localName, elementName, atts); in startElement()
489 m_firstElementURI = namespaceURI; in startElement()
519 m_handler.startElement(namespaceURI, localName, elementName, atts); in startElement()
809 public void endElement(String namespaceURI, String localName, String qName) in endElement() argument
815 if (namespaceURI == null && m_firstElementURI != null) in endElement()
816 namespaceURI = m_firstElementURI; in endElement()
823 m_handler.endElement(namespaceURI, localName, qName); in endElement()
[all …]
DToHTMLStream.java787 String namespaceURI, in startElement() argument
825 if (null != namespaceURI && namespaceURI.length() > 0) in startElement()
827 super.startElement(namespaceURI, localName, name, atts); in startElement()
887 elemContext = elemContext.push(namespaceURI,localName,name); in startElement()
929 final String namespaceURI, in endElement() argument
939 if (null != namespaceURI && namespaceURI.length() > 0) in endElement()
941 super.endElement(namespaceURI, localName, name); in endElement()
DToTextStream.java127 String namespaceURI, String localName, String name, Attributes atts) in startElement() argument
163 public void endElement(String namespaceURI, String localName, String name) in endElement() argument
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPSchemaRegistryImpl.java75 public synchronized String registerNamespace(String namespaceURI, String suggestedPrefix) in registerNamespace() argument
78 ParameterAsserts.assertSchemaNS(namespaceURI); in registerNamespace()
92 String registeredPrefix = (String) namespaceToPrefixMap.get(namespaceURI); in registerNamespace()
114 prefixToNamespaceMap.put(suggestedPrefix, namespaceURI); in registerNamespace()
115 namespaceToPrefixMap.put(namespaceURI, suggestedPrefix); in registerNamespace()
126 public synchronized void deleteNamespace(String namespaceURI) in deleteNamespace() argument
128 String prefixToDelete = getNamespacePrefix(namespaceURI); in deleteNamespace()
131 namespaceToPrefixMap.remove(namespaceURI); in deleteNamespace()
140 public synchronized String getNamespacePrefix(String namespaceURI) in getNamespacePrefix() argument
142 return (String) namespaceToPrefixMap.get(namespaceURI); in getNamespacePrefix()
DXMPNodeUtils.java72 static XMPNode findSchemaNode(XMPNode tree, String namespaceURI, in findSchemaNode() argument
76 return findSchemaNode(tree, namespaceURI, null, createNodes); in findSchemaNode()
95 static XMPNode findSchemaNode(XMPNode tree, String namespaceURI, String suggestedPrefix, in findSchemaNode() argument
100 XMPNode schemaNode = tree.findChildByName(namespaceURI); in findSchemaNode()
104 schemaNode = new XMPNode(namespaceURI, in findSchemaNode()
110 String prefix = XMPMetaFactory.getSchemaRegistry().getNamespacePrefix(namespaceURI); in findSchemaNode()
115 prefix = XMPMetaFactory.getSchemaRegistry().registerNamespace(namespaceURI, in findSchemaNode()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DUnImplNode.java425 public NodeList getElementsByTagNameNS(String namespaceURI, in getElementsByTagNameNS() argument
459 public Attr getAttributeNodeNS(String namespaceURI, String localName) in getAttributeNodeNS() argument
475 public void removeAttributeNS(String namespaceURI, String localName) in removeAttributeNS() argument
491 String namespaceURI, String qualifiedName, String value) in setAttributeNS() argument
505 public String getAttributeNS(String namespaceURI, String localName) in getAttributeNS() argument
970 public Element createElementNS(String namespaceURI, String qualifiedName) in createElementNS() argument
989 public Attr createAttributeNS(String namespaceURI, String qualifiedName) in createAttributeNS() argument
1465 public boolean isDefaultNamespace(String namespaceURI){ in isDefaultNamespace() argument
1539 public String lookupPrefix(String namespaceURI){ in lookupPrefix() argument
1543 if (namespaceURI == null) { in lookupPrefix()
[all …]
DQName.java91 public QName(String namespaceURI, String localName) in QName() argument
93 this(namespaceURI, localName, false); in QName()
105 public QName(String namespaceURI, String localName, boolean validate) in QName() argument
123 _namespaceURI = namespaceURI; in QName()
137 public QName(String namespaceURI, String prefix, String localName) in QName() argument
139 this(namespaceURI, prefix, localName, false); in QName()
152 public QName(String namespaceURI, String prefix, String localName, boolean validate) in QName() argument
176 _namespaceURI = namespaceURI; in QName()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPSchemaRegistry.java69 String registerNamespace(String namespaceURI, String suggestedPrefix) throws XMPException; in registerNamespace() argument
84 String getNamespacePrefix(String namespaceURI); in getNamespacePrefix() argument
127 void deleteNamespace(String namespaceURI); in deleteNamespace() argument
/external/libxml2/include/libxml/
Dxmlwriter.h95 namespaceURI);
123 const xmlChar * namespaceURI,
130 const xmlChar * namespaceURI,
140 namespaceURI,
195 namespaceURI);
222 const xmlChar * namespaceURI,
229 const xmlChar * namespaceURI,
240 namespaceURI,
Dxmlreader.h219 const xmlChar *namespaceURI);
234 const xmlChar *namespaceURI);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemLiteralResult.java190 public AVT getLiteralResultAttributeNS(String namespaceURI, String localName) in getLiteralResultAttributeNS() argument
202 avt.getURI().equals(namespaceURI)) in getLiteralResultAttributeNS()
221 public String getAttributeNS(String namespaceURI, String localName) in getAttributeNS() argument
224 AVT avt = getLiteralResultAttributeNS(namespaceURI, localName); in getAttributeNS()
623 public Node getNamedItemNS(String namespaceURI, String localName) in getNamedItemNS() argument
634 if ((namespaceURI == null && nsURI == null) in getNamedItemNS()
635 || (namespaceURI != null && namespaceURI.equals(nsURI))) in getNamedItemNS()
689 public Node removeNamedItemNS(String namespaceURI, String localName) in removeNamedItemNS() argument
1113 public boolean isDefaultNamespace(String namespaceURI) { in isDefaultNamespace() argument
1117 public String lookupPrefix(String namespaceURI) { in lookupPrefix() argument
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/xml/
DHasXPathTest.java45 public String getPrefix(String namespaceURI) {
46 return ("http://cheese.com".equals(namespaceURI) ? "cheese" : null);
50 public Iterator<String> getPrefixes(String namespaceURI) {
52 String prefix = getPrefix(namespaceURI);
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTMdefaultNamespaceDeclarationNode.java400 public boolean isDefaultNamespace(String namespaceURI){ in isDefaultNamespace() argument
474 public String lookupPrefix(String namespaceURI){ in lookupPrefix() argument
478 if (namespaceURI == null) { in lookupPrefix()
504 return getOwnerElement().lookupPrefix(namespaceURI); in lookupPrefix()
DDOM2DTM.java751 public int getAttributeNode(int nodeHandle, String namespaceURI, in getAttributeNode() argument
756 if (null == namespaceURI) in getAttributeNode()
757 namespaceURI = ""; in getAttributeNode()
789 if (nodeuri.equals(namespaceURI) && name.equals(nodelocalname)) in getAttributeNode()
/external/libxml2/
Dxmlwriter.c1055 const xmlChar * namespaceURI) in xmlTextWriterStartElementNS() argument
1078 if (namespaceURI != 0) { in xmlTextWriterStartElementNS()
1094 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartElementNS()
1830 const xmlChar * namespaceURI) in xmlTextWriterStartAttributeNS() argument
1841 if (namespaceURI != 0) { in xmlTextWriterStartAttributeNS()
1851 nsentry.uri = (xmlChar *)namespaceURI; in xmlTextWriterStartAttributeNS()
1858 if (xmlStrcmp(curns->uri, namespaceURI) == 0) { in xmlTextWriterStartAttributeNS()
1878 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartAttributeNS()
2065 const xmlChar * namespaceURI, in xmlTextWriterWriteFormatAttributeNS() argument
2074 namespaceURI, format, ap); in xmlTextWriterWriteFormatAttributeNS()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOM3TreeWalker.java1887 String namespaceURI = ((Element) node).getNamespaceURI(); in fixupElementNS() local
1891 if (namespaceURI != null) { in fixupElementNS()
1898 && inScopeNamespaceURI.equals(namespaceURI))) { in fixupElementNS()
1910 if ("".equals(prefix) || "".equals(namespaceURI)) { in fixupElementNS()
1911 ((Element)node).setAttributeNS(XMLNS_URI, XMLNS_PREFIX, namespaceURI); in fixupElementNS()
1913 … ((Element)node).setAttributeNS(XMLNS_URI, XMLNS_PREFIX + ":" + prefix, namespaceURI); in fixupElementNS()
1916 fLocalNSBinder.declarePrefix(prefix, namespaceURI); in fixupElementNS()
1917 fNSBinder.declarePrefix(prefix, namespaceURI); in fixupElementNS()
1941 namespaceURI = fNSBinder.getURI(""); in fixupElementNS()
1942 if (namespaceURI !=null && namespaceURI.length() > 0) { in fixupElementNS()
/external/python/cpython2/Doc/library/
Dxml.dom.rst121 DOM. This is typically found as the :attr:`namespaceURI` of a node, or used as
122 the *namespaceURI* parameter to a namespaces-specific method.
327 .. attribute:: Node.namespaceURI
537 .. method:: Document.createElementNS(namespaceURI, tagName)
574 .. method:: Document.createAttributeNS(namespaceURI, qualifiedName)
588 .. method:: Document.getElementsByTagNameNS(namespaceURI, localName)
615 .. method:: Element.getElementsByTagNameNS(namespaceURI, localName)
625 .. method:: Element.hasAttributeNS(namespaceURI, localName)
627 Returns true if the element has an attribute named by *namespaceURI* and
642 .. method:: Element.getAttributeNS(namespaceURI, localName)
[all …]
/external/python/cpython2/Lib/test/
Dtest_minidom.py358 and elems[0].namespaceURI == "http://pyxml.sf.net/minidom"
481 and pi.namespaceURI == xml.dom.EMPTY_NAMESPACE)
524 and a1.namespaceURI == a2.namespaceURI
1058 and attr.namespaceURI == xml.dom.EMPTY_NAMESPACE
1072 and attr.namespaceURI == "http://xml.python.org/ns"
1088 and attr.namespaceURI == "http://xml.python.org/ns2"
1107 and attr.namespaceURI == xml.dom.EMPTY_NAMESPACE
1133 and elem.namespaceURI == xml.dom.EMPTY_NAMESPACE
1142 and elem.namespaceURI == "http://xml.python.org/ns"
1151 and elem.namespaceURI == "http://xml.python.org/ns2"
[all …]
/external/libxml2/os400/libxmlrpg/
Dxmlwriter.rpgle139 d namespaceURI * value options(*string) const xmlChar *
193 d namespaceURI * value options(*string) const xmlChar *
211 d namespaceURI * value options(*string) const xmlChar *
222 d namespaceURI * value options(*string) const xmlChar *
324 d namespaceURI * value options(*string) const xmlChar *
374 d namespaceURI * value options(*string) const xmlChar *
392 d namespaceURI * value options(*string) const xmlChar *
403 d namespaceURI * value options(*string) const xmlChar *

12