Home
last modified time | relevance | path

Searched refs:declarePrefix (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DNamespaceSupportTest.java45 ns.declarePrefix("ak", marketUri); in setUp()
46 ns.declarePrefix("bk", marketUri); in setUp()
47 ns.declarePrefix("", defaultUri); in setUp()
81 ns.declarePrefix("dc", "http://www.purl.org/dc#"); in testPush_PopContext()
105 ns.declarePrefix("dc", "http://www.purl.org/dc#"); in testReset()
128 ns.declarePrefix("xml", marketUri)); in testDeclare_GetPrefix()
131 ns.declarePrefix("xmlns", marketUri)); in testDeclare_GetPrefix()
136 ns.declarePrefix("ak", marketUri)); in testDeclare_GetPrefix()
142 ns.declarePrefix("bk", marketUri)); in testDeclare_GetPrefix()
148 ns.declarePrefix("", defaultUri)); in testDeclare_GetPrefix()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNamespaceSupport.java156 currentContext.declarePrefix("xml", XMLNS); in reset()
292 public boolean declarePrefix (String prefix, String uri) in declarePrefix() method in NamespaceSupport
297 currentContext.declarePrefix(prefix, uri); in declarePrefix()
496 currentContext.declarePrefix ("xmlns", NSDECL); in setNamespaceDeclUris()
499 currentContext.declarePrefix("xml", XMLNS); in setNamespaceDeclUris()
597 void declarePrefix(String prefix, String uri) { in declarePrefix() method in NamespaceSupport.Context
DParserAdapter.java520 if (!nsSupport.declarePrefix(prefix, value)) { in startElement()