/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlSerializer.java | 241 public String getPrefix(String namespace, boolean create) { in getPrefix() argument 243 return getPrefix(namespace, false, create); in getPrefix() 251 String namespace, in getPrefix() argument 259 if (nspStack[i + 1].equals(namespace) in getPrefix() 280 if (namespace.isEmpty()) in getPrefix() 299 setPrefix(prefix, namespace); in getPrefix() 327 public void setPrefix(String prefix, String namespace) in setPrefix() argument 333 if (namespace == null) in setPrefix() 334 namespace = ""; in setPrefix() 336 String defined = getPrefix(namespace, true, false); in setPrefix() [all …]
|
D | KXmlParser.java | 158 private String namespace; field in KXmlParser 282 this.namespace = getNamespace(prefix); in adjustNsp() 284 if (this.namespace == null) { in adjustNsp() 288 this.namespace = NO_NAMESPACE; in adjustNsp() 360 namespace = null; in next() 980 namespace = elementStack[sp]; in readEndTag() 1155 namespace = ""; in parseStartTag() 1177 elementStack[sp] = namespace; in parseStartTag() 1611 namespace = null; in setInput() 1882 buf.append("{" + namespace + "}" + prefix + ":"); in getPositionDescription() [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | NamespacedAttributesLookupTest.java | 67 boolean namespace = true; in testNamespace() 69 assertEquals(expected, getStartElements(xml, namespace, namespacePrefixes)); in testNamespace() 94 boolean namespace = false; in testNamespacePrefixes() 96 assertEquals(expected, getStartElements(xml, namespace, namespacePrefixes)); in testNamespacePrefixes() 99 …public List<String> getStartElements(String xml, final boolean namespace, boolean namespacePrefixe… in getStartElements() argument 103 reader.setFeature(SAX_PROPERTY_NS, namespace); in getStartElements() 113 if (namespace) { in getStartElements() 121 if (namespace) { in getStartElements()
|
D | XmlPullParserFactoryTest.java | 191 public void setPrefix(String prefix, String namespace) throws IOException { in setPrefix() argument 194 …public String getPrefix(String namespace, boolean generatePrefix) throws IllegalArgumentException { in getPrefix() argument 210 public XmlSerializer startTag(String namespace, String name) throws IOException { in startTag() argument 214 … public XmlSerializer attribute(String namespace, String name, String value) throws IOException { in attribute() argument 218 public XmlSerializer endTag(String namespace, String name) throws IOException { in endTag() argument 370 public String getAttributeValue(String namespace, String name) { in getAttributeValue() argument 386 public void require(int type, String namespace, String name) in require() argument
|
D | XmlToSax2DriverTest.java | 487 protected void startElement(String namespace, String localName, String qName) in startElement() argument 489 super.startElement(namespace, localName, qName); in startElement() 490 handler.startElement(namespace, localName, qName, this); in startElement()
|
D | JaxenXPathTestSuite.java | 29 import javax.xml.namespace.QName;
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlSerializer.java | 139 void setPrefix (String prefix, String namespace) in setPrefix() argument 154 String getPrefix (String namespace, boolean generatePrefix) in getPrefix() argument 209 XmlSerializer startTag (String namespace, String name) in startTag() argument 219 XmlSerializer attribute (String namespace, String name, String value) in attribute() argument 230 XmlSerializer endTag (String namespace, String name) in endTag() argument
|
D | XmlPullParser.java | 900 String getAttributeValue(String namespace, in getAttributeValue() argument 1048 void require(int type, String namespace, String name) in require() argument
|
/libcore/ojluni/src/test/javax/xml/jaxp/transform/ |
D | XPathExFuncTest.java | 45 import javax.xml.namespace.NamespaceContext; 46 import javax.xml.namespace.QName; 241 public String getPrefix(String namespace) { in getPrefix() argument 243 if (namespace == null) { in getPrefix() 247 if (namespace.equals("http://ext.com")) { in getPrefix() 254 public Iterator getPrefixes(String namespace) { in getPrefixes() argument
|
/libcore/ |
D | libcore.aconfig | 15 # com.android is a reserved namespace for Android platform. See CDD 3.6. 22 namespace: "core_libraries" 32 namespace: "core_libraries" 42 namespace: "devtools"
|
D | non_openjdk_java_files.bp | 183 "luni/src/main/java/javax/xml/namespace/NamespaceContext.java", 184 "luni/src/main/java/javax/xml/namespace/QName.java",
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPath.java | 21 import javax.xml.namespace.NamespaceContext; 22 import javax.xml.namespace.QName;
|
D | XPathVariableResolver.java | 21 import javax.xml.namespace.QName;
|
D | XPathFunctionResolver.java | 21 import javax.xml.namespace.QName;
|
D | XPathConstants.java | 21 import javax.xml.namespace.QName;
|
D | XPathExpression.java | 21 import javax.xml.namespace.QName;
|
/libcore/luni/src/test/java/libcore/javax/xml/namespace/ |
D | QNameTest.java | 16 package libcore.javax.xml.namespace; 18 import javax.xml.namespace.QName;
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | DocumentBuilderImpl.java | 263 String namespace = parser.getNamespace(); in parse() local 267 if ("".equals(namespace)) { in parse() 268 namespace = null; in parse() 272 Element element = document.createElementNS(namespace, name); in parse() 299 parser.require(XmlPullParser.END_TAG, namespace, name); in parse()
|
/libcore/luni/src/main/java/javax/xml/namespace/ |
D | NamespaceContext.java | 20 package javax.xml.namespace;
|
D | QName.java | 20 package javax.xml.namespace;
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeConstants.java | 23 import javax.xml.namespace.QName;
|
D | XMLGregorianCalendar.java | 26 import javax.xml.namespace.QName;
|
D | Duration.java | 27 import javax.xml.namespace.QName;
|
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
D | Driver.java | 465 …protected void startElement(String namespace, String localName, String qName) throws SAXException { in startElement() argument 466 contentHandler.startElement(namespace, localName, qName, this); in startElement()
|
/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | XMLGregorianCalendarTest.java | 28 import javax.xml.namespace.QName;
|