Searched refs:prefixes (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
H A DNamespaceSupportTest.java56 Enumeration<String> prefixes = ns.getDeclaredPrefixes();
58 while (prefixes.hasMoreElements()) {
59 prefix = prefixes.nextElement();
126 // Part 1: Check that xml and xmlns are not accepted as prefixes.
134 // prefixes.
161 ArrayList<String> prefixes;
163 prefixes = Collections.list(ns.getPrefixes(marketUri));
164 assertTrue("Test 1: Incorrect set of prefixes returned.",
165 expected.containsAll(prefixes) && prefixes
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DParserAdapter.java158 private static final String NAMESPACE_PREFIXES = FEATURES + "namespace-prefixes";
166 * namespace-prefixes.</p>
182 if (!namespaces && !prefixes) {
183 prefixes = true;
187 prefixes = value;
188 if (!prefixes && !namespaces) {
204 * namespace-prefixes.</p>
220 return prefixes;
555 if (prefixes) {
624 Enumeration prefixes
825 private boolean prefixes = false; field in class:ParserAdapter
[all...]
H A DNamespaceSupport.java235 * prefixes after popping a context, unless you push another
259 * Declare a Namespace prefix. All prefixes must be declared
264 * interpret prefixes against (potentially redefined) prefixes.
283 * This asymmetry exists to make it easier to look up prefixes
314 * the prefixes currently declared. The return value will be the
381 * Return an enumeration of all prefixes whose declarations are
390 * @return An enumeration of prefixes (never empty).
401 * Return one of the prefixes mapped to a Namespace URI.
405 * want all of the prefixes, us
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DSaxTest.java203 private void parse(boolean prefixes, boolean namespaces, String xml, argument
207 reader.setFeature("http://xml.org/sax/features/namespace-prefixes", prefixes);

Completed in 46 milliseconds