/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 | 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...] |
/external/smack/asmack-master/static-src/custom/com/kenai/jbosh/ |
QName.java | 66 * The value of a QName contains a <b>namespaceURI</b>, a <b>localPart</b> and a <b>prefix</b>. 68 * namespaceURI is a URI reference identifying the namespace. 77 /** Field namespaceURI */ 78 private String namespaceURI; 98 * @param namespaceURI Namespace URI for the QName 101 public QName(String namespaceURI, String localPart) { 102 this(namespaceURI, localPart, emptyString); 108 * @param namespaceURI Namespace URI for the QName 112 public QName(String namespaceURI, String localPart, String prefix) { 113 this.namespaceURI = (namespaceURI == null [all...] |
/external/smack/src/com/kenai/jbosh/ |
QName.java | 66 * The value of a QName contains a <b>namespaceURI</b>, a <b>localPart</b> and a <b>prefix</b>. 68 * namespaceURI is a URI reference identifying the namespace. 77 /** Field namespaceURI */ 78 private String namespaceURI; 98 * @param namespaceURI Namespace URI for the QName 101 public QName(String namespaceURI, String localPart) { 102 this(namespaceURI, localPart, emptyString); 108 * @param namespaceURI Namespace URI for the QName 112 public QName(String namespaceURI, String localPart, String prefix) { 113 this.namespaceURI = (namespaceURI == null [all...] |
/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...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPSchemaRegistry.java | 59 * @param namespaceURI 69 String registerNamespace(String namespaceURI, String suggestedPrefix) throws XMPException; 79 * @param namespaceURI 84 String getNamespacePrefix(String namespaceURI); 91 * namespaceURI string is not modified if the namespace prefix is not 119 * Does nothing if the URI is not registered, or if the namespaceURI 124 * @param namespaceURI 127 void deleteNamespace(String namespaceURI);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Attribute.h | 49 const AtomicString& namespaceURI() const { return m_name.namespaceURI(); } 79 return qualifiedName.prefix() == starAtom || qualifiedName.namespaceURI() == namespaceURI();
|
QualifiedName.h | 43 static PassRefPtr<QualifiedNameImpl> create(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI) 45 return adoptRef(new QualifiedNameImpl(prefix, localName, namespaceURI)); 59 QualifiedNameImpl(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI) 63 , m_namespace(namespaceURI) 65 ASSERT(!namespaceURI.isEmpty() || namespaceURI.isNull()); 69 QualifiedName(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI); 83 bool matches(const QualifiedName& other) const { return m_impl == other.m_impl || (localName() == other.localName() && namespaceURI() == other.namespaceURI()); } 85 bool matchesPossiblyIgnoringCase(const QualifiedName& other, bool shouldIgnoreCase) const { return m_impl == other.m_impl || (equalPossiblyIgnoringCase(localName(), other.localName(), shouldIgnoreCase) && namespaceURI() == other.namespaceURI()); [all...] |
TagNodeList.cpp | 32 TagNodeList::TagNodeList(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) 34 , m_namespaceURI(namespaceURI) 54 return m_namespaceURI == starAtom || m_namespaceURI == testNode->namespaceURI();
|
/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/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8XSLTProcessorCustom.cpp | 51 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, namespaceURI, info[0]); 56 imp->setParameter(namespaceURI, localName, value); 64 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, namespaceURI, info[0]); 68 String result = imp->getParameter(namespaceURI, localName); 80 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, namespaceURI, info[0]); 84 imp->removeParameter(namespaceURI, localName);
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XSLTProcessor.idl | 43 [Custom] void setParameter(DOMString namespaceURI, DOMString localName, DOMString value); 44 [Custom, TreatReturnedNullStringAs=Undefined] DOMString getParameter(DOMString namespaceURI, DOMString localName); 45 [Custom] void removeParameter(DOMString namespaceURI, DOMString localName);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
GetAttributeNS.java | 32 * The "getAttributeNS(namespaceURI,localName)" method retrieves an attribute 33 * value by local name and NamespaceURI. 77 // String namespaceURI = "http://www.nist.gov"; 87 // attrValue = testAddr.getAttributeNS(namespaceURI, localName); 91 String namespaceURI = "http://www.nist.gov"; 101 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); 108 attrValue = testAddr.getAttributeNS(namespaceURI, localName); 112 String namespaceURI = "http://www.nist.gov"; 122 testAddr.removeAttributeNS(namespaceURI, localName); 123 attrValue = testAddr.getAttributeNS(namespaceURI, localName) [all...] |
CreateAttributeNS.java | 63 String namespaceURI = "http://www.ecommerce.org/"; 72 doc.createAttributeNS(namespaceURI, malformedName); 80 String namespaceURI = null; 90 doc.createAttributeNS(namespaceURI, qualifiedName); 98 String namespaceURI = "http://www.wedding.com/"; 137 doc.createAttributeNS(namespaceURI, qualifiedName); 146 String namespaceURI = "http://www.w3.org/XML/1998/namespaces"; 155 doc.createAttributeNS(namespaceURI, qualifiedName); 163 String namespaceURI = "http://www.ecommerce.org/"; 169 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName) [all...] |
CreateElementNS.java | 34 * The "createElementNS(namespaceURI,qualifiedName)" method for a Document 37 * Invoke method createElementNS(namespaceURI,qualifiedName) on the XMLNS 38 * Document with namespaceURI being the literal string 81 String namespaceURI = "http://www.ecommerce.org/"; 90 doc.createElementNS(namespaceURI, malformedName); 98 String namespaceURI = null; 108 doc.createElementNS(namespaceURI, qualifiedName); 116 String namespaceURI = "http://www.wedding.com/"; 156 doc.createElementNS(namespaceURI, qualifiedName); 165 String namespaceURI = "http://www.w3.org/XML/1998/namespaces" [all...] |
DOMImplementationCreateDocument.java | 61 String namespaceURI = "http://www.w3.org/DOMTest/L2"; 79 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, 88 String namespaceURI = null; 99 domImpl.createDocument(namespaceURI, qualifiedName, docType); 110 String namespaceURI = "http://www.w3.org/xml/1998/namespace"; 120 domImpl.createDocument(namespaceURI, qualifiedName, docType); 131 String namespaceURI = "http://www.w3.org/DOMTest/level2"; 140 domImpl.createDocument(namespaceURI, ":", docType);
|
DocumentCreateElementNS.java | 13 * qualifiedName and NamespaceURI. 16 * namespaceURI and qualifiedName. Check if a valid Element object is returned 58 String namespaceURI = "http://www.w3.org/DOM/Test/level2"; 66 element = doc.createElementNS(namespaceURI, qualifiedName); 82 String namespaceURI = null; 90 doc.createElementNS(namespaceURI, qualifiedName); 100 String namespaceURI = null; 108 doc.createElementNS(namespaceURI, qualifiedName); 122 String namespaceURI = "http://www.w3.org/xml/1998/namespace "; 132 newDoc.createElementNS(namespaceURI, qualifiedName) [all...] |
HasAttributeNS.java | 75 String namespaceURI = "http://www.usa.com"; 83 state = testNode.hasAttributeNS(namespaceURI, localName); 88 String namespaceURI = "http://www.nomatch.com"; 96 state = testNode.hasAttributeNS(namespaceURI, localName); 101 String namespaceURI = "http://www.nist.gov"; 110 state = testNode.hasAttributeNS(namespaceURI, localName); 117 // String namespaceURI = "http://www.nist.gov"; 126 // state = testNode.hasAttributeNS(namespaceURI, localName); 131 String namespaceURI = "http://www.usa.com"; 139 state = testNode.hasAttributeNS(namespaceURI, localName) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
ElementImpl.java | 43 String namespaceURI; 49 ElementImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { 51 setNameNS(this, namespaceURI, qualifiedName); 70 private int indexOfAttributeNS(String namespaceURI, String localName) { 73 if (Objects.equal(namespaceURI, attr.getNamespaceURI()) 92 public String getAttributeNS(String namespaceURI, String localName) { 93 Attr attr = getAttributeNodeNS(namespaceURI, localName); 112 public AttrImpl getAttributeNodeNS(String namespaceURI, String localName) { 113 int i = indexOfAttributeNS(namespaceURI, localName); 167 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) [all...] |
AttrImpl.java | 42 String namespaceURI; 48 AttrImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { 50 setNameNS(this, namespaceURI, qualifiedName); 71 return namespaceURI; 107 this.prefix = validatePrefix(prefix, namespaceAware, namespaceURI);
|
/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);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/ |
CustomElementDescriptor.h | 45 CustomElementDescriptor(const AtomicString& type, const AtomicString& namespaceURI, const AtomicString& localName) 47 , m_namespaceURI(namespaceURI) 56 const AtomicString& namespaceURI() const { return m_namespaceURI; }
|