/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...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
TagNodeList.h | 36 static PassRefPtr<TagNodeList> create(PassRefPtr<Node> rootNode, const AtomicString& namespaceURI, const AtomicString& localName) 39 return adoptRef(new TagNodeList(rootNode, TagNodeListType, namespaceURI, localName)); 42 static PassRefPtr<TagNodeList> create(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& localName) 45 return adoptRef(new TagNodeList(rootNode, TagNodeListType, starAtom, localName)); 51 TagNodeList(PassRefPtr<Node> rootNode, CollectionType, const AtomicString& namespaceURI, const AtomicString& localName); 61 static PassRefPtr<HTMLTagNodeList> create(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& localName) 64 return adoptRef(new HTMLTagNodeList(rootNode, localName)); 70 HTMLTagNodeList(PassRefPtr<Node> rootNode, const AtomicString& localName); 81 const AtomicString& localName = testNode->isHTMLElement() ? m_loweredLocalName : m_localName; 82 if (localName != testNode->localName() [all...] |
TagNodeList.cpp | 32 TagNodeList::TagNodeList(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) 35 , m_localName(localName) 51 if (m_localName != starAtom && m_localName != testNode->localName()) 57 HTMLTagNodeList::HTMLTagNodeList(PassRefPtr<Node> rootNode, const AtomicString& localName) 58 : TagNodeList(rootNode, HTMLTagNodeListType, starAtom, localName) 59 , m_loweredLocalName(localName.lower())
|
Attribute.h | 48 const AtomicString& localName() const { return m_name.localName(); } 77 if (qualifiedName.localName() != localName())
|
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) 62 , m_localName(localName) 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()); } 88 void setPrefix(const AtomicString& prefix) { *this = QualifiedName(prefix, localName(), namespaceURI()); [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 | 35 final String localName; 48 Element(Element parent, String uri, String localName, int depth) { 51 this.localName = localName; 59 public Element getChild(String localName) { 60 return getChild("", localName); 66 public Element getChild(String uri, String localName) { 76 return children.getOrCreate(this, uri, localName); 85 public Element requireChild(String localName) { 86 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);
|
/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/v8/custom/ |
V8XSLTProcessorCustom.cpp | 52 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, localName, info[1]); 56 imp->setParameter(namespaceURI, localName, value); 65 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, localName, info[1]); 68 String result = imp->getParameter(namespaceURI, localName); 81 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, localName, info[1]); 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);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLElement.cpp | 215 attributeNameToEventNameMap.set(onanimationstartAttr.localName(), EventTypeNames::animationstart); 216 attributeNameToEventNameMap.set(onanimationiterationAttr.localName(), EventTypeNames::animationiteration); 217 attributeNameToEventNameMap.set(onanimationendAttr.localName(), EventTypeNames::animationend); 218 attributeNameToEventNameMap.set(oncancelAttr.localName(), EventTypeNames::cancel); 219 attributeNameToEventNameMap.set(onclickAttr.localName(), EventTypeNames::click); 220 attributeNameToEventNameMap.set(oncloseAttr.localName(), EventTypeNames::close); 221 attributeNameToEventNameMap.set(oncontextmenuAttr.localName(), EventTypeNames::contextmenu); 222 attributeNameToEventNameMap.set(ondblclickAttr.localName(), EventTypeNames::dblclick); 223 attributeNameToEventNameMap.set(onmousedownAttr.localName(), EventTypeNames::mousedown); 224 attributeNameToEventNameMap.set(onmouseenterAttr.localName(), EventTypeNames::mouseenter) [all...] |
/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...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/ |
CustomElementDescriptor.h | 45 CustomElementDescriptor(const AtomicString& type, const AtomicString& namespaceURI, const AtomicString& localName) 48 , m_localName(localName) 59 const AtomicString& localName() const { return m_localName; } 62 // name and the same as "localName". For type extensions, this is
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
getAttributeNS03.java | 34 * The "getAttributeNS(namespaceURI,localName)" method retrieves an 68 String localName = "domestic"; 77 testAddr.removeAttributeNS(namespaceURI, localName); 78 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
|