Searched refs:getPrefix (Results 1 - 25 of 37) sorted by relevance

12

/libcore/luni/src/main/java/javax/xml/namespace/
H A DNamespaceContext.java145 * <code>getPrefix(namespaceURI)</code> return value for
191 String getPrefix(String namespaceURI); method in interface:NamespaceContext
H A DQName.java286 public String getPrefix() { method in class:QName
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A Dnodegetprefix03.java34 * The method getPrefix returns the namespace prefix of this node, or null if it is unspecified.
37 * Retreive the prefix part of their qualified names using getPrefix and verify
85 elemNoPrefix = element.getPrefix();
86 elemPrefix = qelement.getPrefix();
87 attrNoPrefix = attr.getPrefix();
88 attrPrefix = qattr.getPrefix();
H A DdocumentcreateattributeNS02.java78 prefix = attribute1.getPrefix();
89 prefix = attribute2.getPrefix();
H A Dprefix01.java34 * The "getPrefix()" method for a Node
40 * Invoke the "getPrefix()" method on the newly created element
73 prefix = createdNode.getPrefix();
H A Dprefix02.java34 * The "getPrefix()" method
40 * Since the first child is Text node invoking the "getPrefix()"
78 prefix = textNode.getPrefix();
H A Dprefix04.java34 * The "getPrefix()" method for a node
37 * Retrieve the first employee node and invoke the getPrefix() method."
72 prefix = testEmployee.getPrefix();
H A DdocumentcreateelementNS01.java92 prefix = element.getPrefix();
H A DgetElementsByTagNameNS02.java84 prefix = newElement.getPrefix();
H A DgetElementsByTagNameNS09.java88 prefix = newElement.getPrefix();
H A Dprefix03.java34 * The "getPrefix()" method for a node
37 * Retrieve the first emp:employee node and invoke the getPrefix() method."
79 prefix = testEmployee.getPrefix();
H A DremoveAttributeNS02.java97 prefix = testAddr.getPrefix();
H A DsetAttributeNS04.java98 resultPrefix = addrAttr.getPrefix();
H A DsetAttributeNS09.java93 resultPrefix = addrAttr.getPrefix();
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DNodeGetPrefix.java33 * The method getPrefix returns the namespace prefix of this node, or null if it is unspecified.
36 * Retreive the prefix part of their qualified names using getPrefix and verify
85 elemNoPrefix = element.getPrefix();
86 elemPrefix = qelement.getPrefix();
87 attrNoPrefix = attr.getPrefix();
88 attrPrefix = qattr.getPrefix();
H A DPrefix.java34 * The "getPrefix()" method for a Node returns the namespace prefix of the node,
39 * "getPrefix()" method on the newly created element node will cause "null" to
82 prefix = createdNode.getPrefix();
96 prefix = textNode.getPrefix();
108 prefix = testEmployee.getPrefix();
119 prefix = testEmployee.getPrefix();
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java189 public String getPrefix(String namespace, boolean create) { method in class:KXmlSerializer
191 return getPrefix(namespace, false, create);
198 private final String getPrefix( method in class:KXmlSerializer
284 String defined = getPrefix(namespace, true, false);
394 : getPrefix(namespace, true, true);
442 : getPrefix(namespace, false, true);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DNamespaceSupportTest.java133 // Part 2: Check that declarePrefix and getPrefix work for valid
139 ns.getPrefix(marketUri).equals("ak"));
145 expected.contains(ns.getPrefix(marketUri)));
150 // Part 3: Negative Tests for getPrefix.
153 ns.getPrefix(defaultUri));
156 ns.getPrefix(defaultUri + "/42"));
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DAttrImpl.java93 public String getPrefix() { method in class:AttrImpl
H A DNodeImpl.java128 public String getPrefix() { method in class:NodeImpl
502 && target.isPrefixMappedToUri(node.getPrefix(), namespaceURI)) {
503 return node.getPrefix();
515 || !"xmlns".equals(attr.getPrefix())
561 String nodePrefix = node.getPrefix();
584 : "xmlns".equals(attr.getPrefix()) && prefix.equals(attr.getLocalName())) {
606 values.add(node.getPrefix());
/libcore/luni/src/main/java/org/w3c/dom/
H A DNode.java514 public String getPrefix(); method in interface:Node
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParser.java178 * available from getNamespace() and getPrefix()
186 * @see #getPrefix
201 * available from getNamespace() and getPrefix().
206 * @see #getPrefix
775 String getPrefix(); method in interface:XmlPullParser
H A DXmlSerializer.java154 String getPrefix (String namespace, boolean generatePrefix) method in interface:XmlSerializer
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DNamespaceSupport.java279 * #getPrefix getPrefix} will not return the "" prefix,
294 * @see #getPrefix
371 * @see #getPrefix
419 public String getPrefix (String uri)
421 return currentContext.getPrefix(uri);
434 * which one you get, use the {@link #getPrefix getPrefix}
444 * @see #getPrefix
466 * {@link #getPrefix} an
415 public String getPrefix (String uri) method in class:NamespaceSupport
738 String getPrefix (String uri) method in class:NamespaceSupport.Context
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DSimpleBuilderTest.java64 assertEquals("t", root.getPrefix());

Completed in 480 milliseconds

12