Home
last modified time | relevance | path

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

12

/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java241 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 …]
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.java191 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
DXmlToSax2DriverTest.java487 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()
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/ojluni/src/test/javax/xml/jaxp/transform/
DXPathExFuncTest.java45 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/
Dlibcore.aconfig15 # com.android is a reserved namespace for Android platform. See CDD 3.6.
22 namespace: "core_libraries"
32 namespace: "core_libraries"
42 namespace: "devtools"
Dnon_openjdk_java_files.bp183 "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/
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/test/java/libcore/javax/xml/namespace/
DQNameTest.java16 package libcore.javax.xml.namespace;
18 import javax.xml.namespace.QName;
/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/namespace/
DNamespaceContext.java20 package javax.xml.namespace;
DQName.java20 package javax.xml.namespace;
/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/luni/src/test/java/libcore/javax/xml/datatype/
DXMLGregorianCalendarTest.java28 import javax.xml.namespace.QName;

12