Searched refs:attributes (Results 1 - 25 of 211) sorted by relevance

123456789

/dalvik/libcore/xml/src/test/java/tests/xml/
H A DSaxTest.java41 String qName, Attributes attributes) {
45 assertEquals(1, attributes.getLength());
46 assertEquals("", attributes.getURI(0));
47 assertOneOf("bar", "", attributes.getLocalName(0));
48 assertEquals("bar", attributes.getQName(0));
54 String qName, Attributes attributes) {
58 assertEquals(1, attributes.getLength());
59 assertEquals("", attributes.getURI(0));
60 assertOneOf("a:bar", "", attributes.getLocalName(0));
61 assertEquals("a:bar", attributes
[all...]
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dnamednodemapchildnoderange.java33 * Create a NamedNodeMap object from the attributes of the
68 NamedNodeMap attributes;
74 attributes = testEmployee.getAttributes();
75 length = (int) attributes.getLength();
77 child = attributes.item(0);
78 child = attributes.item(1);
H A Dhc_namednodemapchildnoderange.java31 * Create a NamedNodeMap object from the attributes of the
66 NamedNodeMap attributes;
73 attributes = testEmployee.getAttributes();
74 length = (int) attributes.getLength();
80 child = attributes.item(2);
84 child = attributes.item(0);
86 child = attributes.item(1);
88 child = attributes.item(3);
H A Dhc_namednodemapremovenameditem.java35 * object of the attributes of the last child. Once the
70 NamedNodeMap attributes;
77 attributes = testAddress.getAttributes();
78 removedNode = attributes.removeNamedItem("class");
79 streetAttr = (Attr) attributes.getNamedItem("class");
H A Dnamednodemapremovenameditem.java35 * object of the attributes of the last child. Once the
77 NamedNodeMap attributes;
84 attributes = testAddress.getAttributes();
85 assertNotNull("attributesNotNull", attributes);
86 removedNode = attributes.removeNamedItem("street");
87 streetAttr = (Attr) attributes.getNamedItem("street");
H A Dnamednodemapremovenameditemgetvalue.java36 * object of the attributes of the last child. Once the
41 * immediately be the attributes value.
79 NamedNodeMap attributes;
86 attributes = testEmployee.getAttributes();
87 assertNotNull("attributesNotNull", attributes);
88 removedNode = attributes.removeNamedItem("street");
89 streetAttr = (Attr) attributes.getNamedItem("street");
H A Dattreffectivevalue.java31 * If an Attr is explicitly assigned any value, then that value is the attributes effective value.
65 NamedNodeMap attributes;
71 attributes = testNode.getAttributes();
72 domesticAttr = (Attr) attributes.getNamedItem("domestic");
H A Dattrentityreplacement.java70 NamedNodeMap attributes;
76 attributes = testNode.getAttributes();
77 streetAttr = (Attr) attributes.getNamedItem("street");
H A Dattrname.java66 NamedNodeMap attributes;
72 attributes = testNode.getAttributes();
73 streetAttr = (Attr) attributes.getNamedItem("street");
H A Dattrnextsiblingnull.java65 NamedNodeMap attributes;
71 attributes = testNode.getAttributes();
72 domesticAttr = (Attr) attributes.getNamedItem("domestic");
H A Dattrparentnodenull.java65 NamedNodeMap attributes;
71 attributes = testNode.getAttributes();
72 domesticAttr = (Attr) attributes.getNamedItem("domestic");
H A Dattrprevioussiblingnull.java65 NamedNodeMap attributes;
71 attributes = testNode.getAttributes();
72 domesticAttr = (Attr) attributes.getNamedItem("domestic");
H A Dattrspecifiedvalue.java68 NamedNodeMap attributes;
74 attributes = testNode.getAttributes();
75 domesticAttr = (Attr) attributes.getNamedItem("domestic");
H A Dattrspecifiedvaluechanged.java69 NamedNodeMap attributes;
76 attributes = testNode.getAttributes();
77 streetAttr = (Attr) attributes.getNamedItem("street");
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttCode.java25 * Attribute class for standard {@code Code} attributes.
28 /** {@code non-null;} attribute name for attributes of this type */
43 /** {@code non-null;} the associated list of attributes */
44 private final AttributeList attributes; field in class:AttCode
53 * @param attributes {@code non-null;} the associated list of attributes
56 ByteCatchList catches, AttributeList attributes) {
81 if (attributes.isMutable()) {
82 throw new MutabilityException("attributes.isMutable()");
86 throw new NullPointerException("attributes
55 AttCode(int maxStack, int maxLocals, BytecodeArray code, ByteCatchList catches, AttributeList attributes) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
H A DSubjectDirectoryAttributes.java13 * This extension may contain further X.500 attributes of the subject. See also
34 private Vector attributes = new Vector(); field in class:SubjectDirectoryAttributes
80 attributes.addElement(new Attribute(s));
85 * Constructor from a vector of attributes.
87 * The vector consists of attributes of type {@link Attribute Attribute}
89 * @param attributes
90 * The attributes.
93 public SubjectDirectoryAttributes(Vector attributes) argument
95 Enumeration e = attributes.elements();
99 this.attributes
[all...]
/dalvik/libcore/xml/src/test/java/tests/org/w3c/dom/
H A DNamedNodeMapRemoveNamedItemNS.java89 NamedNodeMap attributes;
97 attributes = element.getAttributes();
98 attribute = (Attr) attributes.removeNamedItemNS("http://www.nist.gov",
100 attribute = (Attr) attributes.getNamedItemNS("http://www.nist.gov",
108 // NamedNodeMap attributes;
119 // attributes = element.getAttributes();
120 // attribute = (Attr) attributes.removeNamedItemNS(nullNS, "defaultAttr");
121 // attribute = (Attr) attributes.getNamedItemNS(nullNS, "defaultAttr");
135 NamedNodeMap attributes;
150 attributes
[all...]
H A DNamedNodeMapSetNamedItemNS.java47 * http://www.nist.gov", and put its attributes into a named node map. Create a
97 NamedNodeMap attributes;
108 attributes = element.getAttributes();
111 attribute = (Attr) attributes.getNamedItemNS(
124 NamedNodeMap attributes;
134 attributes = element.getAttributes();
135 attributes.setNamedItemNS(attribute1);
136 attribute = (Attr) attributes.getNamedItemNS(
151 NamedNodeMap attributes;
164 attributes
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/pkcs/
H A DCertificationRequestInfo.java21 * attributes [0] Attributes{{ CRIAttributes }}
38 ASN1Set attributes = null; field in class:CertificationRequestInfo
58 ASN1Set attributes)
62 this.attributes = attributes;
85 attributes = ASN1Set.getInstance(tagobj, false);
111 return attributes;
122 if (attributes != null)
124 v.add(new DERTaggedObject(false, 0, attributes));
55 CertificationRequestInfo( X509Name subject, SubjectPublicKeyInfo pkInfo, ASN1Set attributes) argument
/dalvik/dx/src/com/android/dx/cf/iface/
H A DStdMember.java37 /** {@code non-null;} list of associated attributes */
38 private final AttributeList attributes; field in class:StdMember
46 * @param attributes {@code non-null;} list of associated attributes
49 AttributeList attributes) {
58 if (attributes == null) {
59 throw new NullPointerException("attributes == null");
65 this.attributes = attributes;
108 return attributes;
48 StdMember(CstType definingClass, int accessFlags, CstNat nat, AttributeList attributes) argument
[all...]
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A Dnamednodemapremovenameditemns04.java36 * Attempt to remove the xmlns and dmstc attributes of the first element node with the localName
37 * employee. Verify if the 2 attributes were successfully removed.
71 NamedNodeMap attributes;
79 attributes = element.getAttributes();
80 attributeRemoved = (Attr) attributes.removeNamedItemNS("http://www.w3.org/2000/xmlns/", "xmlns");
81 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/2000/xmlns/", "xmlns");
83 attributeRemoved = (Attr) attributes.removeNamedItemNS("http://www.w3.org/2000/xmlns/", "dmstc");
84 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/2000/xmlns/", "dmstc");
H A Dnamednodemapsetnameditemns06.java34 * Retreieve the first element whose localName is address and its attributes into a named node map.
36 * Retreieve the second element whose localName is address and its attributes into a named node map.
72 NamedNodeMap attributes;
80 attributes = element.getAttributes();
81 attr = (Attr) attributes.getNamedItemNS("http://www.usa.com", "domestic");
83 attributes = element.getAttributes();
88 newNode = attributes.setNamedItemNS(attr);
H A Dnamednodemapsetnameditemns07.java38 * Retreieve the attributes of first element whose localName is address into a named node map.
40 * from the NamedNodeMap. Retreieve the attributes of second element whose localName is address
78 NamedNodeMap attributes;
86 attributes = element.getAttributes();
87 attr = (Attr) attributes.getNamedItemNS("http://www.usa.com", "domestic");
89 attributes = element.getAttributes();
94 newNode = attributes.setNamedItemNS(attr);
H A Dnamednodemapsetnameditemns08.java36 * Retreieve the first element whose localName is address and its attributes into a named node map.
38 * localName is address and its attributes into a named node map. Invoke setNamedItemNS on the
74 NamedNodeMap attributes;
82 attributes = element.getAttributes();
83 attr = (Attr) attributes.getNamedItemNS("http://www.usa.com", "domestic");
85 attributes = element.getAttributes();
90 newNode = attributes.setNamedItemNS(attr);
/dalvik/libcore/xml/src/main/java/org/apache/xalan/processor/
H A DProcessorKey.java60 * @param attributes The attributes attached to the element. If
61 * there are no attributes, it shall be an empty
65 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)
73 setPropertiesFromAttributes(handler, rawName, attributes, kd);
83 * @param attributes The list of attributes.
87 StylesheetHandler handler, String rawName, Attributes attributes,
97 int nAttrs = attributes.getLength();
101 String attrUri = attributes
64 startElement( StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) argument
86 setPropertiesFromAttributes( StylesheetHandler handler, String rawName, Attributes attributes, org.apache.xalan.templates.ElemTemplateElement target) argument
[all...]

Completed in 640 milliseconds

123456789