/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLTagCollection.cpp | 30 HTMLTagCollection::HTMLTagCollection(ContainerNode& rootNode, const AtomicString& localName) 31 : TagCollection(rootNode, HTMLTagCollectionType, starAtom, localName) 32 , m_loweredLocalName(localName.lower())
|
HTMLTagCollection.h | 36 static PassRefPtrWillBeRawPtr<HTMLTagCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName) 39 return adoptRefWillBeNoop(new HTMLTagCollection(rootNode, localName)); 45 HTMLTagCollection(ContainerNode& rootNode, const AtomicString& localName); 56 const AtomicString& localName = testElement.isHTMLElement() ? m_loweredLocalName : m_localName; 57 if (localName != testElement.localName())
|
HTMLElement.cpp | 213 if (!attrName.localName().startsWith("on", false)) 219 attributeNameToEventNameMap.set(onabortAttr.localName(), EventTypeNames::abort); 220 attributeNameToEventNameMap.set(onanimationendAttr.localName(), EventTypeNames::animationend); 221 attributeNameToEventNameMap.set(onanimationiterationAttr.localName(), EventTypeNames::animationiteration); 222 attributeNameToEventNameMap.set(onanimationstartAttr.localName(), EventTypeNames::animationstart); 223 attributeNameToEventNameMap.set(onautocompleteAttr.localName(), EventTypeNames::autocomplete); 224 attributeNameToEventNameMap.set(onautocompleteerrorAttr.localName(), EventTypeNames::autocompleteerror); 225 attributeNameToEventNameMap.set(onbeforecopyAttr.localName(), EventTypeNames::beforecopy); 226 attributeNameToEventNameMap.set(onbeforecutAttr.localName(), EventTypeNames::beforecut); 227 attributeNameToEventNameMap.set(onbeforepasteAttr.localName(), EventTypeNames::beforepaste) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ExtendedType.java | 31 private String localName; 40 * @param localName Local name of the node 42 public ExtendedType (int nodetype, String namespace, String localName) 46 this.localName = localName; 47 this.hash = nodetype + namespace.hashCode() + localName.hashCode(); 56 * @param localName Local name of the node 59 public ExtendedType (int nodetype, String namespace, String localName, int hash) 63 this.localName = localName; [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
QName.java | 19 /** XML localname */ 20 private String localName; 24 * Splits a qname into prefix and localname. 34 localName = qname.substring(colon + 1); 39 localName = qname; 46 * @param localName the name 48 public QName(String prefix, String localName) 51 this.localName = localName; 65 * @return the localName [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
DexDepsXmlHandler.java | 49 public void startElement(String uri, String localName, String name, Attributes attributes) 51 super.startElement(uri, localName, name, attributes); 52 if ("package".equalsIgnoreCase(localName)) { 54 } else if ("class".equalsIgnoreCase(localName) 55 || "interface".equalsIgnoreCase(localName)) { 57 } else if ("constructor".equalsIgnoreCase(localName)) { 59 } else if ("method".equalsIgnoreCase(localName)) { 63 } else if ("parameter".equalsIgnoreCase(localName)) { 69 public void endElement(String uri, String localName, String name) throws SAXException { 70 super.endElement(uri, localName, name) [all...] |
CurrentXmlHandler.java | 55 public void startElement(String uri, String localName, String name, Attributes attributes) 57 super.startElement(uri, localName, name, attributes); 58 if ("package".equalsIgnoreCase(localName)) { 64 } else if ("class".equalsIgnoreCase(localName)) { 75 } else if ("interface".equalsIgnoreCase(localName)) { 78 } else if ("constructor".equalsIgnoreCase(localName)) { 81 } else if ("method".equalsIgnoreCase(localName)) { 87 } else if ("parameter".equalsIgnoreCase(localName)) { 93 public void endElement(String uri, String localName, String name) throws SAXException { 94 super.endElement(uri, localName, name) [all...] |
/frameworks/base/sax/java/android/sax/ |
Children.java | 30 Element getOrCreate(Element parent, String uri, String localName) { 31 int hash = uri.hashCode() * 31 + localName.hashCode(); 37 current = new Child(parent, uri, localName, parent.depth + 1, hash); 46 && current.localName.compareTo(localName) == 0) { 56 current = new Child(parent, uri, localName, parent.depth + 1, hash); 65 Element get(String uri, String localName) { 66 int hash = uri.hashCode() * 31 + localName.hashCode(); 76 && current.localName.compareTo(localName) == 0) [all...] |
Element.java | 33 final String localName; 46 Element(Element parent, String uri, String localName, int depth) { 49 this.localName = localName; 57 public Element getChild(String localName) { 58 return getChild("", localName); 64 public Element getChild(String uri, String localName) { 74 return children.getOrCreate(this, uri, localName); 83 public Element requireChild(String localName) { 84 return requireChild("", localName); [all...] |
RootElement.java | 74 * @param localName the local name 76 public RootElement(String uri, String localName) { 77 super(null, uri, localName, 0); 84 * @param localName the local name 86 public RootElement(String localName) { 87 this("", localName); 110 public void startElement(String uri, String localName, String qName, 116 startRoot(uri, localName, attributes); 132 Element child = children.get(uri, localName); 140 void startRoot(String uri, String localName, Attributes attributes [all...] |
/libcore/luni/src/main/java/org/xml/sax/ext/ |
Attributes2.java | 82 * @param localName The attribute's local name. 88 public boolean isDeclared (String uri, String localName); 113 * @param localName The attribute's local name. 119 public boolean isSpecified (String uri, String localName);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
TagCollection.h | 35 static PassRefPtrWillBeRawPtr<TagCollection> create(ContainerNode& rootNode, const AtomicString& namespaceURI, const AtomicString& localName) 38 return adoptRefWillBeNoop(new TagCollection(rootNode, TagCollectionType, namespaceURI, localName)); 41 static PassRefPtrWillBeRawPtr<TagCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName) 44 return adoptRefWillBeNoop(new TagCollection(rootNode, TagCollectionType, starAtom, localName)); 52 TagCollection(ContainerNode& rootNode, CollectionType, const AtomicString& namespaceURI, const AtomicString& localName);
|
TagCollection.cpp | 32 TagCollection::TagCollection(ContainerNode& rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) 35 , m_localName(localName) 53 if (m_localName != starAtom && m_localName != testNode.localName())
|
Attribute.h | 48 const AtomicString& localName() const { return m_name.localName(); } 77 if (qualifiedName.localName() != localName())
|
QualifiedName.h | 49 static PassRefPtr<QualifiedNameImpl> create(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI, bool isStatic) 51 return adoptRef(new QualifiedNameImpl(prefix, localName, namespaceURI, isStatic)); 82 QualifiedNameImpl(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI, bool isStatic) 86 , m_localName(localName) 94 QualifiedName(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI); 107 bool matches(const QualifiedName& other) const { return m_impl == other.m_impl || (localName() == other.localName() && namespaceURI() == other.namespaceURI()); } 109 bool matchesPossiblyIgnoringCase(const QualifiedName& other, bool shouldIgnoreCase) const { return m_impl == other.m_impl || (equalPossiblyIgnoringCase(localName(), other.localName(), shouldIgnoreCase) && namespaceURI() == other.namespaceURI()); } 112 void setPrefix(const AtomicString& prefix) { *this = QualifiedName(prefix, localName(), namespaceURI()); [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
LocalName.java | 26 public final class LocalName extends DOMTestCase { 60 String localName; 66 localName = addrAttr.getLocalName(); 67 assertEquals("localName", "domestic", localName); 72 String localName; 75 localName = createdNode.getLocalName(); 76 assertNull("localNameNull", localName); 83 String localName; 88 localName = textNode.getLocalName() [all...] |
/libcore/luni/src/main/java/org/xml/sax/ |
Attributes.java | 182 * @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);
|
/external/jdiff/src/jdiff/ |
APIHandler.java | 72 public void startElement(java.lang.String uri, java.lang.String localName, 75 if (localName.equals("")) 76 localName = qName; 77 if (localName.compareTo("api") == 0) { 81 } else if (localName.compareTo("package") == 0) { 82 currentElement = localName; 85 } else if (localName.compareTo("class") == 0) { 86 currentElement = localName; 93 } else if (localName.compareTo("interface") == 0) { 94 currentElement = localName; [all...] |
CommentsHandler.java | 57 public void startElement(java.lang.String uri, java.lang.String localName, 60 if (localName.equals("")) 61 localName = qName; 62 if (localName.compareTo("comments") == 0) { 77 } else if (localName.compareTo("comment") == 0) { 79 } else if (localName.compareTo("identifier") == 0) { 85 } else if (localName.compareTo("text") == 0) { 91 addStartTagToText(localName, attributes); 93 System.out.println("Error: unknown element type: " + localName); 99 public void endElement(java.lang.String uri, java.lang.String localName, [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatAttributes.java | 77 public int getIndex(String uri, String localName) { 81 if (localName == null) { 82 throw new NullPointerException("localName == null"); 88 return getIndex(pointer, uri, localName); 102 public String getType(String uri, String localName) { 106 if (localName == null) { 107 throw new NullPointerException("localName == null"); 109 return getIndex(uri, localName) == -1 ? null : CDATA; 116 public String getValue(String uri, String localName) { 120 if (localName == null) [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
NamedNodeMap.java | 107 * @param localName The local name of the node to retrieve. 118 String localName) 123 * <code>localName</code>. If a node with that namespace URI and that 131 * <code>localName</code> attributes. 167 * @param localName The local name of the node to remove. 172 * <code>namespaceURI</code> and <code>localName</code> in this map. 180 String localName)
|
Element.java | 34 * The name of the element. If <code>Node.localName</code> is different 170 * @param localName The local name of the attribute to retrieve. 180 String localName) 246 * @param localName The local name of the attribute to remove. 255 String localName) 265 * @param localName The local name of the attribute to retrieve. 276 String localName) 314 * @param localName The local name of the elements to match on. The 325 String localName) 349 * @param localName The local name of the attribute to look for [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
V8XSLTProcessorCustom.cpp | 51 TOSTRING_VOID(V8StringResource<>, localName, info[1]); 55 impl->setParameter(namespaceURI, localName, value); 64 TOSTRING_VOID(V8StringResource<>, localName, info[1]); 67 String result = impl->getParameter(namespaceURI, localName); 80 TOSTRING_VOID(V8StringResource<>, localName, info[1]); 83 impl->removeParameter(namespaceURI, localName);
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XSLTProcessor.idl | 45 [Custom] void setParameter(DOMString namespaceURI, DOMString localName, DOMString value); 46 [Custom, TreatReturnedNullStringAs=Undefined] DOMString getParameter(DOMString namespaceURI, DOMString localName); 47 [Custom] void removeParameter(DOMString namespaceURI, DOMString localName);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
ElementImpl.java | 45 String localName; 70 private int indexOfAttributeNS(String namespaceURI, String localName) { 74 && Objects.equal(localName, attr.getLocalName())) { 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) { 169 getElementsByTagNameNS(result, namespaceURI, localName); 175 return namespaceAware ? localName : null [all...] |