/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
domimplementationcreatedocument04.java | 48 * a prefix and the namespaceURI is null. 50 * Call the createDocument on this DOMImplementation with null namespaceURI and a 83 String namespaceURI = null; 94 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
domimplementationcreatedocument05.java | 48 * a prefix that is xml and the namespaceURI is different from 51 * Call the createDocument on this DOMImplementation with namespaceURI that is 83 String namespaceURI = "http://www.w3.org/xml/1998/namespace"; 93 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
getAttributeNS01.java | 34 * The "getAttributeNS(namespaceURI,localName)" method retrieves an 35 * attribute value by local name and NamespaceURI. 74 String namespaceURI = "http://www.nist.gov"; 84 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
|
getAttributeNodeNS01.java | 34 * The "getAttributeNodeNS(namespaceURI,localName)" method retrieves an 35 * attribute node by local name and NamespaceURI. 68 String namespaceURI = "http://www.nist.gov"; 78 attribute = testAddr.getAttributeNodeNS(namespaceURI, localName);
|
getElementsByTagNameNS02.java | 34 * The "getElementsByTagNameNS(namespaceURI,localName)" method for a 36 * localName and namespaceURI in the order they were encountered in a preorder 39 * Invoke method getElementsByTagNameNS(namespaceURI,localName) on this document 40 * with namespaceURI being " " and localName is "employee".
|
getElementsByTagNameNS05.java | 34 * The "getElementsByTagNameNS(namespaceURI,localName)" method returns a NodeList 39 * using the "http://www.nist.gov" as the namespaceURI and "nomatch" as the 69 String namespaceURI = "http://www.nist.gov"; 74 elementList = doc.getElementsByTagNameNS(namespaceURI, localName);
|
getElementsByTagNameNS09.java | 34 * The "getElementsByTagNameNS(namespaceURI,localName)" method for a 36 * localName and namespaceURI in the order they were encountered in a preorder 39 * Invoke method getElementsByTagNameNS(namespaceURI,localName) on the document 40 * element with namespaceURI being "*" and localName is "employee".
|
getNamedItemNS02.java | 34 * The "getNamedItemNS(namespaceURI,localName)" method for a 42 * method getNamedItemNS(namespaceURI,localName). 70 String namespaceURI = "http://www.usa.com"; 81 newAttr = (Attr) attributes.getNamedItemNS(namespaceURI, localName);
|
prefix11.java | 36 * prefix is set on a node with a namespaceURI that is null. 40 * on a node whose namespaceURI is null. 72 String namespaceURI; 76 namespaceURI = employeeNode.getNamespaceURI();
|
setAttributeNS05.java | 34 * The "setAttributeNS(namespaceURI,qualifiedName,value)" method adds a new attribute. 72 String namespaceURI = "http://www.newattr.com"; 83 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "<newValue>"); 84 resultAttr = ((Element) /*Node */testAddr).getAttributeNS(namespaceURI, localName);
|
createDocument06.java | 34 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a 36 * if qualifiedName has the "xml" prefix and namespaceURI different from 39 * Invoke method createDocument(namespaceURI,qualifiedName,doctype) on 41 * and namespaceURI as the string 73 String namespaceURI = "http://ecommerce.org/schema"; 86 aNewDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
/libcore/luni/src/main/java/javax/xml/namespace/ |
QName.java | 97 private final String namespaceURI; 145 * @param namespaceURI Namespace URI of the <code>QName</code> 148 * @see #QName(String namespaceURI, String localPart, String 149 * prefix) QName(String namespaceURI, String localPart, String 152 public QName(final String namespaceURI, final String localPart) { 153 this(namespaceURI, localPart, XMLConstants.DEFAULT_NS_PREFIX); 189 * @param namespaceURI Namespace URI of the <code>QName</code> 193 public QName(String namespaceURI, String localPart, String prefix) { 196 if (namespaceURI == null) { 197 this.namespaceURI = XMLConstants.NULL_NS_URI [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
GetAttributeNodeNS.java | 32 * The "getAttributeNodeNS(namespaceURI,localName)" method retrieves an 33 * attribute node by local name and NamespaceURI. 75 String namespaceURI = "http://www.nist.gov"; 85 attribute = testAddr.getAttributeNodeNS(namespaceURI, localName);
|
NamespaceURI.java | 47 public final class NamespaceURI extends DOMTestCase { 89 // assertEquals("namespaceURI", "http://www.nist.gov", attrNamespaceURI); 104 assertEquals("namespaceURI", "http://www.nist.gov", attrNamespaceURI); 116 assertEquals("namespaceURI", "http://www.nist.gov", employeeNamespace);
|
/packages/apps/Mms/src/com/android/mms/dom/ |
DocumentImpl.java | 54 public Attr createAttributeNS(String namespaceURI, String qualifiedName) 77 public Element createElementNS(String namespaceURI, String qualifiedName) 116 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) { 190 public Node renameNode(Node n, String namespaceURI, String qualifiedName)
|
NamedNodeMapImpl.java | 45 public Node getNamedItemNS(String namespaceURI, String localName) { 67 public Node removeNamedItemNS(String namespaceURI, String localName)
|
/external/chromium_org/third_party/WebKit/Source/build/scripts/templates/ |
MakeQualifiedNames.cpp.tmpl | 21 DEFINE_GLOBAL(AtomicString, {{namespace_prefix}}NamespaceURI) 64 new ((void*)&{{namespace_prefix}}NamespaceURI) AtomicString({{namespace_prefix}}NS);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
NamedNodeMap.idl | 40 /*[RaisesException]*/ Node getNamedItemNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, 45 [RaisesException, CustomElementCallbacks] Node removeNamedItemNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLStackItem.h | 56 static PassRefPtr<HTMLStackItem> create(PassRefPtr<ContainerNode> node, AtomicHTMLToken* token, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI) 58 return adoptRef(new HTMLStackItem(node, token, namespaceURI)); 67 const AtomicString& namespaceURI() const { return m_namespaceURI; } 78 bool hasTagName(const QualifiedName& name) const { return m_tokenLocalName == name.localName() && m_namespaceURI == name.namespaceURI(); } 96 return namespaceURI() == HTMLNames::xhtmlNamespaceURI 221 m_namespaceURI = m_node->namespaceURI(); 227 HTMLStackItem(PassRefPtr<ContainerNode> node, AtomicHTMLToken* token, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI) 231 , m_namespaceURI(namespaceURI)
|
/external/chromium_org/third_party/libxml/src/include/libxml/ |
xmlwriter.h | 96 namespaceURI); 124 const xmlChar * namespaceURI, 131 const xmlChar * namespaceURI, 141 namespaceURI, 196 namespaceURI); 223 const xmlChar * namespaceURI, 230 const xmlChar * namespaceURI, 241 namespaceURI,
|
/external/libxml2/include/libxml/ |
xmlwriter.h | 96 namespaceURI); 124 const xmlChar * namespaceURI, 131 const xmlChar * namespaceURI, 141 namespaceURI, 196 namespaceURI); 223 const xmlChar * namespaceURI, 230 const xmlChar * namespaceURI, 241 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...] |
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...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
NodeImpl.java | 201 * @param namespaceURI this node's namespace URI 203 static String validatePrefix(String prefix, boolean namespaceAware, String namespaceURI) { 209 if (namespaceURI == null 211 || "xml".equals(prefix) && !"http://www.w3.org/XML/1998/namespace".equals(namespaceURI) 212 || "xmlns".equals(prefix) && !"http://www.w3.org/2000/xmlns/".equals(namespaceURI)) { 225 * @param namespaceURI this node's namespace URI. May be null. 228 static void setNameNS(NodeImpl node, String namespaceURI, String qualifiedName) { 236 prefix = validatePrefix(qualifiedName.substring(0, p), true, namespaceURI); 247 && !"http://www.w3.org/2000/xmlns/".equals(namespaceURI)) { 253 attr.namespaceURI = namespaceURI [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNamedNodeMap.java | 189 * @param namespaceURI The namespace URI of the node to retrieve. 197 public Node getNamedItemNS(String namespaceURI, String localName) 206 if ((namespaceURI == null && nsURI == null) 207 || (namespaceURI != null && namespaceURI.equals(nsURI))) 218 * Adds a node using its <code>namespaceURI</code> and 224 * accessible using the value of its <code>namespaceURI</code> and 254 * @param namespaceURI The namespace URI of the node to remove. 261 * <code>namespaceURI</code> and <code>localName</code> in this map. 265 public Node removeNamedItemNS(String namespaceURI, String localName [all...] |