/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_attrcreatedocumentfragment.java | 68 NamedNodeMap attributes; local 79 attributes = domesticNode.getAttributes(); 80 for (int indexN10078 = 0; indexN10078 < attributes.getLength(); indexN10078++) { 81 attribute = (Attr) attributes.item(indexN10078);
|
hc_elementretrieveallattributes.java | 31 * Create a list of all the attributes of the last child 64 NamedNodeMap attributes; local 79 attributes = testAddress.getAttributes(); 80 for (int indexN1006B = 0; indexN1006B < attributes.getLength(); indexN1006B++) { 81 attribute = (Attr) attributes.item(indexN1006B);
|
hc_namednodemapreturnfirstitem.java | 34 * Retrieve the second "acronym" get the NamedNodeMap of the attributes. Since the 68 NamedNodeMap attributes; local 85 attributes = testAddress.getAttributes(); 86 for (int indexN10070 = 0; indexN10070 < attributes.getLength(); indexN10070++) { 87 child = (Node) attributes.item(indexN10070);
|
hc_namednodemapreturnlastitem.java | 70 NamedNodeMap attributes; local 87 attributes = testEmployee.getAttributes(); 88 for (int indexN10070 = 0; indexN10070 < attributes.getLength(); indexN10070++) { 89 child = (Node) attributes.item(indexN10070);
|
hc_namednodemapsetnameditem.java | 32 * object from the attributes of the last child by 74 NamedNodeMap attributes; local 82 attributes = testAddress.getAttributes(); 83 setNode = attributes.setNamedItem(newAttribute); 84 districtNode = (Attr) attributes.getNamedItem("lang");
|
hc_namednodemapsetnameditemthatexists.java | 36 * object from the attributes of the last child by 77 NamedNodeMap attributes; local 85 attributes = testAddress.getAttributes(); 86 setNode = attributes.setNamedItem(newAttribute); 87 districtNode = (Attr) attributes.getNamedItem("class");
|
hc_nodecloneattributescopied.java | 34 * attributes associated with this node. 66 NamedNodeMap attributes; local 84 attributes = clonedNode.getAttributes(); 85 for (int indexN10076 = 0; indexN10076 < attributes.getLength(); indexN10076++) { 86 attributeNode = (Node) attributes.item(indexN10076);
|
namednodemapsetnameditem.java | 35 * object from the attributes of the last child by 76 NamedNodeMap attributes; local 84 attributes = testAddress.getAttributes(); 85 setNode = attributes.setNamedItem(newAttribute); 86 districtNode = (Attr) attributes.getNamedItem("district");
|
namednodemapsetnameditemthatexists.java | 36 * object from the attributes of the last child by 78 NamedNodeMap attributes; local 86 attributes = testAddress.getAttributes(); 87 setNode = attributes.setNamedItem(newAttribute); 88 districtNode = (Attr) attributes.getNamedItem("street");
|
nodecloneattributescopied.java | 32 * Element node, all the attributes of the Element are 38 * attributes associated with this node. 69 NamedNodeMap attributes; local 82 attributes = clonedNode.getAttributes(); 83 for (int indexN10065 = 0; indexN10065 < attributes.getLength(); indexN10065++) { 84 attributeNode = (Node) attributes.item(indexN10065);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
importNode07.java | 37 * If this document defines default attributes for this element name (importedNode), 38 * those default attributes are assigned. 83 NamedNodeMap attributes; local 93 attributes = aNode.getAttributes(); 94 assertSize("throw_Size", 1, attributes); 97 attr = attributes.item(0);
|
namednodemapremovenameditemns01.java | 71 NamedNodeMap attributes; local 78 attributes = element.getAttributes(); 79 attribute = (Attr) attributes.removeNamedItemNS("http://www.nist.gov", "domestic"); 80 attribute = (Attr) attributes.getNamedItemNS("http://www.nist.gov", "domestic");
|
namednodemapremovenameditemns02.java | 36 * attributes attached to an element, as returned by the attributes attribute of the Node 77 NamedNodeMap attributes; local 87 attributes = element.getAttributes(); 88 attribute = (Attr) attributes.removeNamedItemNS(nullNS, "defaultAttr"); 89 attribute = (Attr) attributes.getNamedItemNS(nullNS, "defaultAttr");
|
namednodemapremovenameditemns03.java | 72 NamedNodeMap attributes; local 85 attributes = element.getAttributes(); 86 attribute = (Attr) attributes.removeNamedItemNS("http://www.w3.org/DOM/L1", "att"); 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L2", "att");
|
namednodemapsetnameditemns02.java | 74 NamedNodeMap attributes; local 83 attributes = element.getAttributes(); 84 newNode = attributes.setNamedItemNS(attribute1); 85 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "att");
|
removeNamedItemNS01.java | 38 * Access the second element from the list and get its attributes. 78 NamedNodeMap attributes; local 84 attributes = testAddress.getAttributes(); 85 removedNode = attributes.removeNamedItemNS("http://www.usa.com", "domestic"); 87 newAttr = (Attr) attributes.getNamedItem("dmstc:domestic");
|
setNamedItemNS03.java | 75 NamedNodeMap attributes; local 84 attributes = testAddress.getAttributes(); 85 setNode = attributes.setNamedItemNS(arg); 86 retnode = attributes.getNamedItemNS(namespaceURI, "newAttr");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
ViewClassInfo.java | 36 /** Attributes for this view or view group. Can be empty but never null. */ 46 /** Layout Data Attributes for layout classes. Can be empty but not null. */ 69 /** Returns the LayoutData attributes. Can be empty but not null. */ 73 /** Sets the LayoutData attributes. Can be empty but not null. */ 74 public void setAttributes(AttributeInfo[] attributes) { 75 mAttributes = attributes; 117 /** Returns the attributes for this view or view group. Maybe empty but not null. */ 144 /** Sets the list of attributes for this View or ViewGroup. */ 145 public void setAttributes(AttributeInfo[] attributes) { 146 mAttributes = attributes; [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omaha/ |
XMLParser.java | 9 import org.xml.sax.Attributes; 28 * Breaks XML down into its constituent elements and attributes. 33 public final Map<String, String> attributes; field in class:XMLParser.Node 38 attributes = new HashMap<String, String>(); 80 public void startElement(String uri, String localName, String qName, Attributes attributes) 88 for (int i = 0; i < attributes.getLength(); ++i) { 89 String attributeName = attributes.getLocalName(i); 90 String attributeValue = attributes.getValue(attributeName); 91 currentNode.attributes.put(attributeName, attributeValue) [all...] |
/frameworks/base/sax/java/android/sax/ |
RootElement.java | 20 import org.xml.sax.Attributes; 111 Attributes attributes) throws SAXException { 116 startRoot(uri, localName, attributes); 134 start(child, attributes); 140 void startRoot(String uri, String localName, Attributes attributes) 150 start(root, attributes); 153 void start(Element e, Attributes attributes) { [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/ |
CertificationRequestInfo.java | 37 * attributes [0] IMPLICIT Attributes } 41 * Attributes ::= SET OF Attribute 52 /** the value of attributes field of the structure */ 53 private final List<?> attributes; field in class:CertificationRequestInfo 59 SubjectPublicKeyInfo subjectPublicKeyInfo, List<?> attributes, byte [] encoding) { 63 this.attributes = attributes; 97 res.append("\n attributes: "); 98 if (attributes != null) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
NamespacedAttributesLookupTest.java | 20 import org.xml.sax.Attributes; 32 * Tests that we both report and retrieve attributes using the appropriate 107 String uri, String localName, String qName, Attributes attributes) { 119 for (int i = 0; i < attributes.getLength(); i++) { 122 serialized.append(attributes.getURI(i)).append(","); 123 serialized.append(attributes.getLocalName(i)); 125 serialized.append(attributes.getQName(i)); 129 .append(attributes.getValue("http://bar", "c")).append(",") 131 .append(attributes.getValue("bar:c") [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
AttributeScope.java | 36 /** Track the attributes within a scope. A named scoped has just its list 37 * of attributes. Each rule has potentially 3 scopes: return values, 45 * of predefined attributes. I keep this out of the runtime.Token 83 protected LinkedHashMap<String,Attribute> attributes = new LinkedHashMap(); field in class:AttributeScope 108 /** From a chunk of text holding the definitions of the attributes, 110 * the list of attributes for this scope. Pass in the character 133 attributes.put(attr.name, attr); 138 attributes.put(name, new Attribute(name,decl)); 159 return (Attribute)attributes.get(name); 162 /** Used by templates to get all attributes */ [all...] |
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
AttributeContainer.java | 7 private Vector attributes = new Vector(); field in class:AttributeContainer 16 AttributeInfo p = (AttributeInfo) attributes.elementAt(index); 29 return ((AttributeInfo) attributes.elementAt(index)).getValue(); 36 AttributeInfo attributeInfo = (AttributeInfo) attributes.elementAt(index); 95 * Get an attributes' toString value without chance of throwing an 112 for (int i = 0; i < attributes.size(); i++) { 113 if (name.equals(((AttributeInfo) attributes.elementAt(i)).getName())) { 121 * Returns the number of attributes 123 * @return the number of attributes 126 return attributes.size() [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
XMLReaderAdapter.java | 12 import org.xml.sax.Attributes; 324 * @param atts The SAX2 attributes. 330 String qName, Attributes atts) 444 * Internal class to wrap a SAX2 Attributes object for SAX1. 454 * Set the embedded Attributes object. 456 * @param The embedded SAX2 Attributes. 458 void setAttributes (Attributes attributes) 460 this.attributes = attributes; 531 private Attributes attributes; field in class:XMLReaderAdapter.AttributesAdapter [all...] |