/libcore/luni/src/main/java/javax/xml/namespace/ |
NamespaceContext.java | 135 * scope, use {@link #getPrefixes(String namespaceURI)}.</p> 145 * <code>getPrefix(namespaceURI)</code> return value for 188 * @param namespaceURI URI of Namespace to lookup 191 String getPrefix(String namespaceURI); 212 * getPrefixes(namespaceURI)</code> return value for 251 * @param namespaceURI URI of Namespace to lookup 255 Iterator getPrefixes(String namespaceURI);
|
QName.java | 108 private final String namespaceURI; 156 * @param namespaceURI Namespace URI of the <code>QName</code> 159 * @see #QName(String namespaceURI, String localPart, String 160 * prefix) QName(String namespaceURI, String localPart, String 163 public QName(final String namespaceURI, final String localPart) { 164 this(namespaceURI, localPart, XMLConstants.DEFAULT_NS_PREFIX); 200 * @param namespaceURI Namespace URI of the <code>QName</code> 204 public QName(String namespaceURI, String localPart, String prefix) { 207 if (namespaceURI == null) { 208 this.namespaceURI = XMLConstants.NULL_NS_URI [all...] |
/external/webkit/WebCore/bindings/objc/ |
DOMCustomXPathNSResolver.mm | 47 NSString *namespaceURI = nil; 50 namespaceURI = [m_customResolver lookupNamespaceURI:prefix]; 53 return namespaceURI;
|
/external/webkit/WebCore/dom/ |
TagNodeList.h | 35 static PassRefPtr<TagNodeList> create(PassRefPtr<Node> rootNode, const AtomicString& namespaceURI, const AtomicString& localName, DynamicNodeList::Caches* caches) 37 return adoptRef(new TagNodeList(rootNode, namespaceURI, localName, caches)); 41 TagNodeList(PassRefPtr<Node> rootNode, const AtomicString& namespaceURI, const AtomicString& localName, DynamicNodeList::Caches* caches);
|
TagNodeList.cpp | 32 TagNodeList::TagNodeList(PassRefPtr<Node> rootNode, const AtomicString& namespaceURI, const AtomicString& localName, DynamicNodeList::Caches* caches) 34 , m_namespaceURI(namespaceURI) 42 if (m_namespaceURI != starAtom && m_namespaceURI != testNode->namespaceURI())
|
QualifiedName.h | 39 static PassRefPtr<QualifiedNameImpl> create(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI) 41 return adoptRef(new QualifiedNameImpl(prefix, localName, namespaceURI)); 50 QualifiedNameImpl(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI) 53 , m_namespace(namespaceURI) 55 ASSERT(!namespaceURI.isEmpty() || namespaceURI.isNull()); 59 QualifiedName(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI); 60 QualifiedName(const AtomicString& prefix, const char* localName, const AtomicString& namespaceURI); 72 bool matches(const QualifiedName& other) const { return m_impl == other.m_impl || (localName() == other.localName() && namespaceURI() == other.namespaceURI()); } [all...] |
NamedNodeMap.idl | 44 [OldStyleObjC] Node getNamedItemNS(in [ConvertNullToNullString] DOMString namespaceURI, 52 [OldStyleObjC] Node removeNamedItemNS(in [ConvertNullToNullString] DOMString namespaceURI,
|
/libcore/luni/src/main/java/org/w3c/dom/ |
Element.java | 167 * <code>namespaceURI</code> parameter for methods if they wish to have 169 * @param namespaceURI The namespace URI of the attribute to retrieve. 179 public String getAttributeNS(String namespaceURI, 200 * <code>namespaceURI</code> parameter for methods if they wish to have 202 * @param namespaceURI The namespace URI of the attribute to create or 215 * <code>namespaceURI</code> is <code>null</code>, if the 217 * <code>namespaceURI</code> is different from "<a href='http://www.w3.org/XML/1998/namespace'> 219 * <code>namespaceURI</code> is different from "<a href='http://www.w3.org/2000/xmlns/'>http://www.w3.org/2000/xmlns/</a>", or if the <code>namespaceURI</code> is "<a href='http://www.w3.org/2000/xmlns/'>http://www.w3.org/2000/xmlns/</a>" and neither the <code>qualifiedName</code> nor its prefix is "xmlns". 225 public void setAttributeNS(String namespaceURI, [all...] |
NameList.java | 35 * Returns the <code>index</code>th namespaceURI item in the collection. 44 * The number of pairs (name and namespaceURI) in the list. The range of 58 * Test if the pair namespaceURI/name is part of this 60 * @param namespaceURI The namespace URI to look for. 62 * @return <code>true</code> if the pair namespaceURI/name has been 65 public boolean containsNS(String namespaceURI,
|
NamedNodeMap.java | 104 * , applications must use the value null as the namespaceURI parameter 106 * @param namespaceURI The namespace URI of the node to retrieve. 117 public Node getNamedItemNS(String namespaceURI, 122 * Adds a node using its <code>namespaceURI</code> and 127 * , applications must use the value null as the namespaceURI parameter 130 * accessible using the value of its <code>namespaceURI</code> and 164 * , applications must use the value null as the namespaceURI parameter 166 * @param namespaceURI The namespace URI of the node to remove. 172 * <code>namespaceURI</code> and <code>localName</code> in this map. 179 public Node removeNamedItemNS(String namespaceURI, [all...] |
Document.java | 79 * <code>namespaceURI</code> set to <code>null</code>. 150 * <code>prefix</code>, and <code>namespaceURI</code> set to 168 * <code>namespaceURI</code> is <code>null</code>). The DOM Level 2 and 210 * <code>localName</code>, and <code>namespaceURI</code>). As in the 320 * namespaceURI parameter for methods if they wish to have no namespace. 321 * @param namespaceURI The namespace URI of the element to create. 337 * <td valign='top' rowspan='1' colspan='1'><code>Node.namespaceURI</code></td> 339 * <code>namespaceURI</code></td> 365 * prefix and the <code>namespaceURI</code> is <code>null</code>, or 367 * the <code>namespaceURI</code> is different from "<a href='http://www.w3.org/XML/1998/namespace' [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
LSResourceResolver.java | 60 * @param namespaceURI The namespace of the resource being resolved, 76 String namespaceURI,
|
/external/webkit/WebCore/xml/ |
XSLTProcessor.idl | 44 [Custom] void setParameter(in DOMString namespaceURI, in DOMString localName, in DOMString value); 45 [Custom, ConvertNullStringTo=Undefined] DOMString getParameter(in DOMString namespaceURI, in DOMString localName); 46 [Custom] void removeParameter(in DOMString namespaceURI, in DOMString localName);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentcreateattributeNS02.java | 37 * namespaceURI, and a qualifiedName as below. This should return a valid Attr node. 72 String namespaceURI; 79 namespaceURI = attribute1.getNamespaceURI(); 84 assertEquals("documentcreateattributeNS02_att1_namespaceURI", "http://www.w3.org/XML/1998/namespace", namespaceURI); 90 namespaceURI = attribute2.getNamespaceURI(); 94 assertEquals("documentcreateattributeNS02_att2_namespaceURI", "http://www.w3.org/2000/xmlns/", namespaceURI);
|
getAttributeNS03.java | 34 * The "getAttributeNS(namespaceURI,localName)" method retrieves an 35 * attribute value by local name and NamespaceURI. 67 String namespaceURI = "http://www.nist.gov"; 77 testAddr.removeAttributeNS(namespaceURI, localName); 78 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
|
getAttributeNS04.java | 34 * The "getAttributeNS(namespaceURI,localName)" method retrieves an 35 * attribute value by local name and NamespaceURI. 68 String namespaceURI = "http://www.nist.gov"; 78 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); 82 testAddr.setAttributeNS(namespaceURI, qualifiedName, "NewValue"); 83 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
|
setAttributeNS09.java | 34 * The "setAttributeNS(namespaceURI,qualifiedName,value)" method adds a new attribute. 71 String namespaceURI = "http://www.newattr.com"; 85 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue"); 86 addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS(namespaceURI, localName); 87 resultAttr = ((Element) /*Node */testAddr).getAttributeNS(namespaceURI, localName);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
ElementImpl.java | 42 String namespaceURI; 48 ElementImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { 50 setNameNS(this, namespaceURI, qualifiedName); 86 private int indexOfAttributeNS(String namespaceURI, String localName) { 89 if (attr.matchesNameNS(namespaceURI, localName, false)) { 107 public String getAttributeNS(String namespaceURI, String localName) { 108 Attr attr = getAttributeNodeNS(namespaceURI, localName); 127 public AttrImpl getAttributeNodeNS(String namespaceURI, String localName) { 128 int i = indexOfAttributeNS(namespaceURI, localName); 194 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) [all...] |
AttrImpl.java | 42 String namespaceURI; 48 AttrImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { 51 setNameNS(this, namespaceURI, qualifiedName); 90 return namespaceURI; 126 this.prefix = validatePrefix(prefix, namespaceAware, namespaceURI);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
DocumentCreateAttributeNS.java | 45 * namespaceURI, and a qualifiedName without a prefix. This should return a 94 String namespaceURI = null; 101 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); 127 String namespaceURI; 135 namespaceURI = attribute1.getNamespaceURI(); 143 "http://www.w3.org/XML/1998/namespace", namespaceURI); 150 namespaceURI = attribute2.getNamespaceURI(); 157 "http://www.w3.org/2000/xmlns/", namespaceURI); 168 String namespaceURI = "http://www.w3.org/DOM/Test/Level2"; 188 doc.createAttributeNS(namespaceURI, qualifiedName) [all...] |
GetAttributeNS.java | 37 * The "getAttributeNS(namespaceURI,localName)" method retrieves an attribute 38 * value by local name and NamespaceURI. 83 // String namespaceURI = "http://www.nist.gov"; 93 // attrValue = testAddr.getAttributeNS(namespaceURI, localName); 103 String namespaceURI = "http://www.nist.gov"; 113 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); 120 attrValue = testAddr.getAttributeNS(namespaceURI, localName); 130 String namespaceURI = "http://www.nist.gov"; 140 testAddr.removeAttributeNS(namespaceURI, localName); 141 attrValue = testAddr.getAttributeNS(namespaceURI, localName) [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/xml/ |
AndroidXPathFactory.java | 73 public String getPrefix(String namespaceURI) { 74 if (SdkConstants.NS_RESOURCES.equals(namespaceURI)) { 81 public Iterator<?> getPrefixes(String namespaceURI) { 82 if (SdkConstants.NS_RESOURCES.equals(namespaceURI)) {
|
/packages/apps/Mms/src/com/android/mms/dom/ |
ElementImpl.java | 53 public String getAttributeNS(String namespaceURI, String localName) { 62 public Attr getAttributeNodeNS(String namespaceURI, String localName) { 71 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) { 84 public boolean hasAttributeNS(String namespaceURI, String localName) { 94 public void removeAttributeNS(String namespaceURI, String localName) 114 public void setAttributeNS(String namespaceURI, String qualifiedName, 163 public void setIdAttributeNS(String namespaceURI, String localName,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
MockNamedNodeMap.java | 71 public Node getNamedItemNS(String namespaceURI, String localName) throws DOMException { 72 if (namespaceURI == null) { 73 namespaceURI = ""; //no namespace 76 HashMap<String, Node> map = mNodeMap.get(namespaceURI); 92 public Node removeNamedItemNS(String namespaceURI, String localName) throws DOMException {
|
/external/webkit/WebCore/bindings/js/ |
JSXSLTProcessorCustom.cpp | 92 String namespaceURI = args.at(0).toString(exec); 95 impl()->setParameter(namespaceURI, localName, value); 103 String namespaceURI = args.at(0).toString(exec); 105 String value = impl()->getParameter(namespaceURI, localName); 113 String namespaceURI = args.at(0).toString(exec); 115 impl()->removeParameter(namespaceURI, localName);
|