Home
last modified time | relevance | path

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

123

/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/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/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/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,
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
Ddom.py20 if attr.namespaceURI:
21 attrs[(attr.namespaceURI, attr.localName)] = attr.value
24 return (_base.ELEMENT, node.namespaceURI, node.nodeName,
Dpulldom.py35 namespace = node.namespaceURI
39 attrs[(attr.namespaceURI, attr.localName)] = attr.value
51 namespace = node.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/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_adapters/
Ddefault.js20 exports.createElement = function (tagName, namespaceURI, attrs) { argument
25 namespaceURI: namespaceURI,
162 return element.namespaceURI;
Dhtmlparser2.js74 exports.createElement = function (tagName, namespaceURI, attrs) { argument
90 namespace: namespaceURI,
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_construction/
Dlocation_info_mixin.js133 parser._appendElement = function (token, namespaceURI) { argument
135 parserProto._appendElement.call(this, token, namespaceURI);
138 parser._insertElement = function (token, namespaceURI) { argument
140 parserProto._insertElement.call(this, token, 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()
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_parser2.py33 self.assertTrue(doc.childNodes[0].namespaceURI == namespaces["html"])
38 self.assertTrue(doc.childNodes[0].namespaceURI is None)
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treebuilders/
Ddom.py51 and self.element.namespaceURI or None)
195 element.namespaceURI is not None):
196 name = "%s %s" % (constants.prefixes[element.namespaceURI],
207 ns = attr.namespaceURI
/external/libxml2/
Dxmlwriter.c1061 const xmlChar * namespaceURI) in xmlTextWriterStartElementNS() argument
1084 if (namespaceURI != 0) { in xmlTextWriterStartElementNS()
1100 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartElementNS()
1836 const xmlChar * namespaceURI) in xmlTextWriterStartAttributeNS() argument
1847 if (namespaceURI != 0) { in xmlTextWriterStartAttributeNS()
1857 nsentry.uri = (xmlChar *)namespaceURI; in xmlTextWriterStartAttributeNS()
1864 if (xmlStrcmp(curns->uri, namespaceURI) == 0) { in xmlTextWriterStartAttributeNS()
1884 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartAttributeNS()
2071 const xmlChar * namespaceURI, in xmlTextWriterWriteFormatAttributeNS() argument
2080 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()

123