Home
last modified time | relevance | path

Searched refs:namespace (Results 1 – 21 of 21) sorted by relevance

/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java223 public String getPrefix(String namespace, boolean create) { in getPrefix() argument
225 return getPrefix(namespace, false, create); in getPrefix()
233 String namespace, in getPrefix() argument
241 if (nspStack[i + 1].equals(namespace) in getPrefix()
262 if (namespace.isEmpty()) in getPrefix()
281 setPrefix(prefix, namespace); in getPrefix()
309 public void setPrefix(String prefix, String namespace) in setPrefix() argument
315 if (namespace == null) in setPrefix()
316 namespace = ""; in setPrefix()
318 String defined = getPrefix(namespace, true, false); in setPrefix()
[all …]
DKXmlParser.java158 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/
DNamespacedAttributesLookupTest.java67 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()
DXmlPullParserFactoryTest.java167 public void setPrefix(String prefix, String namespace) throws IOException { in setPrefix() argument
170 …public String getPrefix(String namespace, boolean generatePrefix) throws IllegalArgumentException { in getPrefix() argument
186 public XmlSerializer startTag(String namespace, String name) throws IOException { in startTag() argument
190 … public XmlSerializer attribute(String namespace, String name, String value) throws IOException { in attribute() argument
194 public XmlSerializer endTag(String namespace, String name) throws IOException { in endTag() argument
346 public String getAttributeValue(String namespace, String name) { in getAttributeValue() argument
362 public void require(int type, String namespace, String name) in require() argument
DJaxenXPathTestSuite.java29 import javax.xml.namespace.QName;
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlSerializer.java139 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
DXmlPullParser.java900 String getAttributeValue(String namespace, in getAttributeValue() argument
1048 void require(int type, String namespace, String name) in require() argument
/libcore/luni/src/main/java/javax/xml/xpath/
DXPath.java21 import javax.xml.namespace.NamespaceContext;
22 import javax.xml.namespace.QName;
DXPathVariableResolver.java21 import javax.xml.namespace.QName;
DXPathFunctionResolver.java21 import javax.xml.namespace.QName;
DXPathConstants.java21 import javax.xml.namespace.QName;
DXPathExpression.java21 import javax.xml.namespace.QName;
/libcore/luni/src/main/java/javax/xml/namespace/
DNamespaceContext.java20 package javax.xml.namespace;
DQName.java20 package javax.xml.namespace;
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java263 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/datatype/
DDatatypeConstants.java23 import javax.xml.namespace.QName;
DXMLGregorianCalendar.java26 import javax.xml.namespace.QName;
DDuration.java27 import javax.xml.namespace.QName;
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
DDriver.java465 …protected void startElement(String namespace, String localName, String qName) throws SAXException { in startElement() argument
466 contentHandler.startElement(namespace, localName, qName, this); in startElement()
/libcore/
Dnon_openjdk_java_files.bp111 "luni/src/main/java/javax/xml/namespace/NamespaceContext.java",
112 "luni/src/main/java/javax/xml/namespace/QName.java",
/libcore/expectations/
Dknownfailures.txt1286 "libcore.xml.JaxenXPathTestSuite$3#xml/testNamespaces.xml / //namespace::*",
1287 … "libcore.xml.JaxenXPathTestSuite$3#xml/testNamespaces.xml /Template/Application1 //namespace::*",
1288 …"libcore.xml.JaxenXPathTestSuite$3#xml/testNamespaces.xml /Template/Application1 //namespace::xplt…
1645 …substring: "The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enab…