Searched refs:localName (Results 1 - 25 of 62) sorted by relevance

123

/dalvik/libcore/xml/src/main/java/org/xml/sax/ext/
H A DAttributes2.java82 * @param localName The attribute's local name.
88 public boolean isDeclared (String uri, String localName); argument
113 * @param localName The attribute's local name.
119 public boolean isSpecified (String uri, String localName); argument
H A DAttributes2Impl.java97 public boolean isDeclared (String uri, String localName) argument
99 int index = getIndex (uri, localName);
103 "No such attribute: local=" + localName
146 * @param localName The attribute's local name.
151 public boolean isSpecified (String uri, String localName) argument
153 int index = getIndex (uri, localName);
157 "No such attribute: local=" + localName
233 * @param localName The local name, or the empty string if
242 public void addAttribute (String uri, String localName, String qName, argument
245 super.addAttribute (uri, localName, qNam
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/
H A DAttrImpl.java43 private String localName; field in class:AttrImpl
65 localName = qualifiedName;
67 if ("".equals(localName)) {
68 throw new DOMException(DOMException.NAMESPACE_ERR, localName);
71 if ("xmlns".equals(localName) && !"http://www.w3.org/2000/xmlns/".equals(namespaceURI)) {
72 throw new DOMException(DOMException.NAMESPACE_ERR, localName);
75 if (!document.isXMLIdentifier(localName)) {
76 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, localName);
90 String localName = name.substring(prefixSeparator + 1);
92 if (!document.isXMLIdentifier(prefix) || !document.isXMLIdentifier(localName)) {
[all...]
H A DElementImpl.java48 private String localName; field in class:ElementImpl
72 this.localName = qualifiedName;
83 String localName = name.substring(p + 1);
85 if (!document.isXMLIdentifier(prefix) || !document.isXMLIdentifier(localName)) {
94 this.localName = name;
108 private int indexOfAttributeNS(String namespaceURI, String localName) { argument
111 if (attr.matchesNameNS(namespaceURI, localName, false)) {
129 public String getAttributeNS(String namespaceURI, String localName) { argument
130 Attr attr = getAttributeNodeNS(namespaceURI, localName);
149 public Attr getAttributeNodeNS(String namespaceURI, String localName) { argument
199 getElementsByTagNameNS(String namespaceURI, String localName) argument
205 getElementsByTagNameNS(NodeListImpl list, String namespaceURI, String localName) argument
251 hasAttributeNS(String namespaceURI, String localName) argument
268 removeAttributeNS(String namespaceURI, String localName) argument
392 indexOfItemNS(String namespaceURI, String localName) argument
400 getNamedItemNS(String namespaceURI, String localName) argument
418 removeNamedItemNS(String namespaceURI, String localName) argument
[all...]
/dalvik/libcore/xml/src/main/java/org/xml/sax/
H A DAttributes.java182 * @param localName The attribute's local name.
186 public int getIndex (String uri, String localName);
207 * @param localName The local name of the attribute.
212 public abstract String getType (String uri, String localName);
237 * @param localName The local name of the attribute.
241 public abstract String getValue (String uri, String localName);
184 getIndex(String uri, String localName) argument
210 getType(String uri, String localName) argument
239 getValue(String uri, String localName) argument
H A DContentHandler.java242 * @param localName the local name (without prefix), or the
257 public void startElement (String uri, String localName, argument
275 * @param localName the local name (without prefix), or the
283 public void endElement (String uri, String localName, argument
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/
H A DExpatAttributes.java77 public int getIndex(String uri, String localName) { argument
81 if (localName == null) {
88 return getIndex(pointer, uri, localName);
102 public String getType(String uri, String localName) { argument
106 if (localName == null) {
109 return getIndex(uri, localName) == -1 ? null : CDATA;
116 public String getValue(String uri, String localName) { argument
120 if (localName == null) {
127 return getValue(pointer, uri, localName);
148 String localName);
147 getIndex(int attributePointer, String uri, String localName) argument
150 getValue(int attributePointer, String uri, String localName) argument
[all...]
/dalvik/libcore/xml/src/main/java/org/w3c/dom/
H A DNamedNodeMap.java112 * @param localName The local name of the node to retrieve.
119 String localName);
123 * <code>localName</code>. If a node with that namespace URI and that
129 * <code>localName</code> attributes.
155 * @param localName The local name of the node to remove.
160 * <code>namespaceURI</code> and <code>localName</code> in this map.
165 String localName)
118 getNamedItemNS(String namespaceURI, String localName) argument
164 removeNamedItemNS(String namespaceURI, String localName) argument
H A DElement.java169 * @param localName The local name of the attribute to retrieve.
175 String localName);
225 * @param localName The local name of the attribute to remove.
231 String localName)
238 * @param localName The local name of the attribute to retrieve.
245 String localName);
278 * @param localName The local name of the elements to match on. The
285 String localName);
305 * @param localName The local name of the attribute to look for.
312 String localName);
174 getAttributeNS(String namespaceURI, String localName) argument
230 removeAttributeNS(String namespaceURI, String localName) argument
244 getAttributeNodeNS(String namespaceURI, String localName) argument
284 getElementsByTagNameNS(String namespaceURI, String localName) argument
311 hasAttributeNS(String namespaceURI, String localName) argument
[all...]
/dalvik/libcore/xml/src/test/java/tests/org/w3c/dom/
H A DLocalName.java72 String localName;
78 localName = addrAttr.getLocalName();
79 assertEquals("localName", "domestic", localName);
90 String localName;
93 localName = createdNode.getLocalName();
94 assertNull("localNameNull", localName);
107 String localName;
112 localName = textNode.getLocalName();
113 assertNull("textNodeLocalName", localName);
[all...]
H A DHasAttributeNS.java86 String localName = "nomatch";
95 state = testNode.hasAttributeNS(namespaceURI, localName);
105 String localName = "domestic";
114 state = testNode.hasAttributeNS(namespaceURI, localName);
124 String localName = "blank";
134 state = testNode.hasAttributeNS(namespaceURI, localName);
140 // String localName = "district";
150 // state = testNode.hasAttributeNS(namespaceURI, localName);
160 String localName = "domestic";
169 state = testNode.hasAttributeNS(namespaceURI, localName);
[all...]
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DgetAttributeNS03.java34 * The "getAttributeNS(namespaceURI,localName)" method retrieves an
68 String localName = "domestic";
77 testAddr.removeAttributeNS(namespaceURI, localName);
78 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
H A DlocalName02.java70 String localName;
73 localName = createdNode.getLocalName();
74 assertNull("localNameNull", localName);
H A DlocalName03.java72 String localName;
77 localName = textNode.getLocalName();
78 assertNull("textNodeLocalName", localName);
H A DgetAttributeNodeNS01.java34 * The "getAttributeNodeNS(namespaceURI,localName)" method retrieves an
69 String localName = "invalidlocalname";
78 attribute = testAddr.getAttributeNodeNS(namespaceURI, localName);
H A DgetElementsByTagNameNS01.java34 * The "getElementsByTagNameNS(namespaceURI,localName)" method for a
38 * Invoke method getElementsByTagNameNS(namespaceURI,localName) on this document
39 * with namespaceURI and localName as " ".
68 String localName = "*";
72 newList = doc.getElementsByTagNameNS(namespaceURI, localName);
H A DgetElementsByTagNameNS05.java34 * The "getElementsByTagNameNS(namespaceURI,localName)" method returns a NodeList
40 * localName.
70 String localName = "nomatch";
74 elementList = doc.getElementsByTagNameNS(namespaceURI, localName);
H A DgetNamedItemNS02.java34 * The "getNamedItemNS(namespaceURI,localName)" method for a
42 * method getNamedItemNS(namespaceURI,localName).
71 String localName = "domest";
81 newAttr = (Attr) attributes.getNamedItemNS(namespaceURI, localName);
H A DhasAttributeNS01.java67 String localName = "nomatch";
76 state = testNode.hasAttributeNS(namespaceURI, localName);
H A DhasAttributeNS02.java66 String localName = "domestic";
75 state = testNode.hasAttributeNS(namespaceURI, localName);
H A DhasAttributeNS03.java66 String localName = "blank";
76 state = testNode.hasAttributeNS(namespaceURI, localName);
H A DdocumentcreateelementNS01.java84 String localName;
91 localName = element.getLocalName();
96 assertEquals("documentcreateelementNS01_localName", "XML", localName);
H A DlocalName01.java78 String localName;
84 localName = addrAttr.getLocalName();
85 assertEquals("localName", "domestic", localName);
H A DremoveAttributeNS02.java34 * The "removeAttributeNS(namespaceURI,localName)" removes an attribute by
41 * attribute by invoking the "removeAttributeNS(namespaceURI,localName)" method.
85 String localName;
96 localName = addrAttr.getLocalName();
100 assertEquals("lname", "local1", localName);
H A DsetAttributeNS09.java70 String localName = "newAttr";
86 addrAttr = ((Element) /*Node */testAddr).getAttributeNodeNS(namespaceURI, localName);
87 resultAttr = ((Element) /*Node */testAddr).getAttributeNS(namespaceURI, localName);

Completed in 683 milliseconds

123