HomeSort by relevance Sort by last modified time
    Searched full:localname (Results 1 - 25 of 414) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/webkit/Source/WebCore/bindings/gobject/
WebKitHTMLElementWrapperFactory.cpp 473 map.set(aTag.localName().impl(), createAnchorWrapper);
474 map.set(appletTag.localName().impl(), createAppletWrapper);
476 map.set(audioTag.localName().impl(), createAudioWrapper);
477 map.set(videoTag.localName().impl(), createVideoWrapper);
479 map.set(areaTag.localName().impl(), createAreaWrapper);
480 map.set(baseTag.localName().impl(), createBaseWrapper);
481 map.set(basefontTag.localName().impl(), createBaseFontWrapper);
482 map.set(blockquoteTag.localName().impl(), createBlockquoteWrapper);
483 map.set(bodyTag.localName().impl(), createBodyWrapper);
484 map.set(brTag.localName().impl(), createBRWrapper)
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
CurrentXmlHandler.java 48 public void startElement(String uri, String localName, String name, Attributes attributes)
50 super.startElement(uri, localName, name, attributes);
51 if ("package".equalsIgnoreCase(localName)) {
57 } else if ("class".equalsIgnoreCase(localName)
58 || "interface".equalsIgnoreCase(localName)) {
65 } else if ("constructor".equalsIgnoreCase(localName)) {
67 } else if ("method".equalsIgnoreCase(localName)) {
71 } else if ("parameter".equalsIgnoreCase(localName)) {
77 public void endElement(String uri, String localName, String name) throws SAXException {
78 super.endElement(uri, localName, name)
    [all...]
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...]
  /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/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...]
HasAttributeNS.java 74 String localName = "nomatch";
83 state = testNode.hasAttributeNS(namespaceURI, localName);
87 String localName = "domestic";
96 state = testNode.hasAttributeNS(namespaceURI, localName);
100 String localName = "blank";
110 state = testNode.hasAttributeNS(namespaceURI, localName);
116 // String localName = "district";
126 // state = testNode.hasAttributeNS(namespaceURI, localName);
130 String localName = "domestic";
139 state = testNode.hasAttributeNS(namespaceURI, localName);
    [all...]
GetAttributeNS.java 32 * The "getAttributeNS(namespaceURI,localName)" method retrieves an attribute
78 // String localName = "district";
87 // attrValue = testAddr.getAttributeNS(namespaceURI, localName);
92 String localName = "district";
108 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
113 String localName = "domestic";
122 testAddr.removeAttributeNS(namespaceURI, localName);
123 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
128 String localName = "blank";
142 attrValue = testAddr.getAttributeNS(namespaceURI, localName);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
LayoutDeviceHandler.java 79 public void startElement(String uri, String localName, String name, Attributes attributes)
81 if (LayoutDevicesXsd.NODE_DEVICE.equals(localName)) {
88 } else if (LayoutDevicesXsd.NODE_DEFAULT.equals(localName)) {
91 } else if (LayoutDevicesXsd.NODE_CONFIG.equals(localName)) {
105 } else if (LayoutDevicesXsd.NODE_SCREEN_DIMENSION.equals(localName)) {
118 public void endElement(String uri, String localName, String name) throws SAXException {
119 if (LayoutDevicesXsd.NODE_DEVICE.equals(localName)) {
122 } else if (LayoutDevicesXsd.NODE_CONFIG.equals(localName)) {
125 } else if (LayoutDevicesXsd.NODE_COUNTRY_CODE.equals(localName)) {
129 } else if (LayoutDevicesXsd.NODE_NETWORK_CODE.equals(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) {
88 return getIndex(pointer, uri, localName);
102 public String getType(String uri, String localName) {
106 if (localName == null) {
109 return getIndex(uri, localName) == -1 ? null : CDATA;
116 public String getValue(String uri, String localName) {
120 if (localName == null) {
127 return getValue(pointer, uri, localName);
145 private static native int getIndex(int attributePointer, String uri, String localName);
    [all...]
  /external/webkit/Source/WebCore/rendering/svg/
SVGResources.cpp 52 s_tagList.add(SVGNames::aTag.localName().impl());
53 s_tagList.add(SVGNames::circleTag.localName().impl());
54 s_tagList.add(SVGNames::ellipseTag.localName().impl());
55 s_tagList.add(SVGNames::glyphTag.localName().impl());
56 s_tagList.add(SVGNames::gTag.localName().impl());
57 s_tagList.add(SVGNames::imageTag.localName().impl());
58 s_tagList.add(SVGNames::lineTag.localName().impl());
59 s_tagList.add(SVGNames::markerTag.localName().impl());
60 s_tagList.add(SVGNames::maskTag.localName().impl());
61 s_tagList.add(SVGNames::missing_glyphTag.localName().impl())
    [all...]
  /external/webkit/Source/WebCore/dom/
QualifiedName.h 40 static PassRefPtr<QualifiedNameImpl> create(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI)
42 return adoptRef(new QualifiedNameImpl(prefix, localName, namespaceURI));
51 QualifiedNameImpl(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI)
53 , m_localName(localName)
60 QualifiedName(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI);
61 QualifiedName(const AtomicString& prefix, const char* localName, const AtomicString& namespaceURI);
75 bool matches(const QualifiedName& other) const { return m_impl == other.m_impl || (localName() == other.localName() && namespaceURI() == other.namespaceURI()); }
78 void setPrefix(const AtomicString& prefix) { *this = QualifiedName(prefix, localName(), namespaceURI()); }
81 const AtomicString& localName() const { return m_impl->m_localName;
    [all...]
  /packages/apps/Mms/src/com/android/mms/dom/smil/parser/
SmilContentHandler.java 56 public void startElement(String uri, String localName, String qName, Attributes attributes) {
58 Log.v(TAG, "SmilContentHandler.startElement. Creating element " + localName);
60 Element element = mSmilDocument.createElement(localName);
73 Log.v(TAG, "Appending " + localName + " to " + mCurrentNode.getNodeName());
81 public void endElement(String uri, String localName, String qName) {
83 Log.v(TAG, "SmilContentHandler.endElement. localName " + localName);
  /libcore/luni/src/test/java/libcore/xml/
SaxTest.java 41 @Override public void startElement(String uri, String localName,
44 assertEquals("", localName);
54 @Override public void startElement(String uri, String localName,
57 assertEquals("", localName);
69 @Override public void startElement(String uri, String localName,
72 assertEquals("foo", localName);
82 @Override public void startElement(String uri, String localName,
85 assertEquals("foo", localName);
102 @Override public void startElement(String uri, String localName,
105 assertEquals("foo", localName);
    [all...]
  /external/webkit/LayoutTests/fast/dom/Node/
initial-values-expected.txt 9 FAIL attr.localName should be null (of type object). Was foo (of type string).
18 PASS attr.localName is 'foo'
27 FAIL attr.localName should be null (of type object). Was foo (of type string).
36 PASS attr.localName is 'foo'
43 PASS comment.localName is null
51 PASS cdata.localName is null
58 PASS fragment.localName is null
64 PASS doc.localName is null
71 PASS doctype.localName is null
78 FAIL element.localName should be null (of type object). Was pre (of type string)
    [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/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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
MockNamedNodeMap.java 35 public MockXmlNode addAttribute(String namespace, String localName, String value) {
36 MockXmlNode node = new MockXmlNode(namespace, localName, value);
50 map.put(localName, node);
71 public Node getNamedItemNS(String namespaceURI, String localName) throws DOMException {
78 return map.get(localName);
92 public Node removeNamedItemNS(String namespaceURI, String localName) throws DOMException {
  /external/apache-xml/src/main/java/org/apache/xml/utils/
QName.java 89 * @param localName The local name
91 public QName(String namespaceURI, String localName)
93 this(namespaceURI, localName, false);
101 * @param localName The local name
105 public QName(String namespaceURI, String localName, boolean validate)
110 if (localName == null)
112 XMLErrorResources.ER_ARG_LOCALNAME_NULL, null)); //"Argument 'localName' is null");
116 if (!XML11Char.isXML11ValidNCName(localName))
119 XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName");
124 _localName = localName;
    [all...]
  /external/webkit/LayoutTests/fast/dom/Node/script-tests/
initial-values.js 10 // Both FF and WebKit return "foo" for Attribute.localName, even though the spec says null
11 shouldBe("attr.localName", "null");
22 shouldBe("attr.localName", "'foo'");
34 // Both FF and WebKit return "foo" for Attribute.localName, even though the spec says null
35 shouldBe("attr.localName", "null");
46 shouldBe("attr.localName", "'foo'");
55 shouldBe("comment.localName", "null");
65 shouldBe("cdata.localName", "null");
74 shouldBe("fragment.localName", "null");
82 shouldBe("doc.localName", "null")
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/level2/core/
getElementsByTagNameNS01.java 34 * 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);
  /frameworks/base/sax/tests/saxtests/src/android/sax/
SafeSaxTest.java 362 public void startElement(String uri, String localName, String qName,
365 if (localName.equals("entry")) {
374 if (!localName.equals("id")
375 && !localName.equals("published")
376 && !localName.equals("name")) {
389 if (localName.equals("thumbnail")) {
397 if (localName.equals("content")) {
405 if (localName.equals("player")) {
413 if (localName.equals("title")
414 || localName.equals("category"
    [all...]

Completed in 2189 milliseconds

1 2 3 4 5 6 7 8 91011>>