Searched refs:prefixes (Results 1 – 4 of 4) sorted by relevance
56 Enumeration<String> prefixes = ns.getDeclaredPrefixes(); in testConstructor() local58 while (prefixes.hasMoreElements()) { in testConstructor()59 prefix = prefixes.nextElement(); in testConstructor()161 ArrayList<String> prefixes; in testGetPrefixesLjava_lang_String() local163 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 …]
180 if (!namespaces && !prefixes) { in setFeature()181 prefixes = true; in setFeature()185 prefixes = value; in setFeature()186 if (!prefixes && !namespaces) { in setFeature()218 return prefixes; in getFeature()553 if (prefixes) { in startElement()622 Enumeration prefixes = nsSupport.getDeclaredPrefixes(); in endElement() local623 while (prefixes.hasMoreElements()) { in endElement()624 String prefix = (String)prefixes.nextElement(); in endElement()703 if (!prefixes && !namespaces) in setupParser()[all …]
445 ArrayList<String> prefixes = new ArrayList<String>(); in getPrefixes() local450 prefixes.add(prefix); in getPrefixes()453 return Collections.enumeration(prefixes); in getPrefixes()
203 private void parse(boolean prefixes, boolean namespaces, String xml, in parse() argument207 reader.setFeature("http://xml.org/sax/features/namespace-prefixes", prefixes); in parse()