Home
last modified time | relevance | path

Searched refs:prefixes (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DNamespaceSupportTest.java56 Enumeration<String> prefixes = ns.getDeclaredPrefixes(); in testConstructor() local
58 while (prefixes.hasMoreElements()) { in testConstructor()
59 prefix = prefixes.nextElement(); in testConstructor()
161 ArrayList<String> prefixes; in testGetPrefixesLjava_lang_String() local
163 prefixes = Collections.list(ns.getPrefixes(marketUri)); in testGetPrefixesLjava_lang_String()
165 expected.containsAll(prefixes) && prefixes.containsAll(expected)); in testGetPrefixesLjava_lang_String()
167 prefixes = Collections.list(ns.getPrefixes(defaultUri)); in testGetPrefixesLjava_lang_String()
169 prefixes.size() == 0); in testGetPrefixesLjava_lang_String()
171 prefixes = Collections.list(ns.getPrefixes(NamespaceSupport.XMLNS)); in testGetPrefixesLjava_lang_String()
173 prefixes.contains("xml") && prefixes.size() == 1); in testGetPrefixesLjava_lang_String()
[all …]
/libcore/luni/src/main/java/org/xml/sax/helpers/
DParserAdapter.java184 if (!namespaces && !prefixes) { in setFeature()
185 prefixes = true; in setFeature()
189 prefixes = value; in setFeature()
190 if (!prefixes && !namespaces) { in setFeature()
222 return prefixes; in getFeature()
557 if (prefixes) { in startElement()
626 Enumeration prefixes = nsSupport.getDeclaredPrefixes(); in endElement() local
627 while (prefixes.hasMoreElements()) { in endElement()
628 String prefix = (String)prefixes.nextElement(); in endElement()
708 if (!prefixes && !namespaces) in setupParser()
[all …]
DNamespaceSupport.java447 ArrayList<String> prefixes = new ArrayList<String>(); in getPrefixes() local
452 prefixes.add(prefix); in getPrefixes()
455 return Collections.enumeration(prefixes); in getPrefixes()
/libcore/luni/src/test/java/libcore/xml/
DSaxTest.java203 private void parse(boolean prefixes, boolean namespaces, String xml, in parse() argument
207 reader.setFeature("http://xml.org/sax/features/namespace-prefixes", prefixes); in parse()
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/
DDependencyAnalyzer.java224 String[] prefixes = new String[] { in getEntriesFromNameOrThrow() local
237 .filter(zipEntry -> Arrays.stream(prefixes) in getEntriesFromNameOrThrow()
243 String.join(", ", prefixes))); in getEntriesFromNameOrThrow()
/libcore/api/
Dcurrent.txt21907 …_REPORT_NAMESPACE_ATTRIBUTES = "http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes";
22020 … static final String NAMESPACE_PREFIXES_FEATURE = "http://xml.org/sax/features/namespace-prefixes";