/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_attrcreatedocumentfragment.java | 31 * Create a new DocumentFragment and add a newly created Element node(with one attribute). 32 * Once the element is added, its attribute should be available as an attribute associated 69 Attr attribute; local 81 attribute = (Attr) attributes.item(indexN10078); 82 attrName = attribute.getNodeName(); 84 if (equalsAutoCase("attribute", "lang", attrName)) {
|
hc_elementretrieveallattributes.java | 65 Attr attribute; local 81 attribute = (Attr) attributes.item(indexN1006B); 82 attributeName = attribute.getNodeName();
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementgetattributenodens03.java | 36 * attribute node. 74 Attr attribute; local 82 attribute = element.getAttributeNodeNS(nullNS, "defaultAttr"); 83 attrValue = attribute.getNodeValue();
|
elementhasattributens02.java | 34 * The method hasAttributeNS returns true when an attribute with a given local 37 * Create a new element and attribute node that belong to the same namespace. 38 * Add the attribute node to the element node. Check if the newly created element 39 * node has an attribute by invoking the hasAttributeNS method with appropriate 77 Attr attribute; local 81 attribute = doc.createAttributeNS("http://www.w3.org/DOM", "domestic"); 82 newAttribute = element.setAttributeNode(attribute);
|
elementhasattributens03.java | 34 * The method hasAttributeNS returns true when an attribute with a given local name 38 * Create a new element and an attribute node that has an empty namespace. 39 * Add the attribute node to the element node. Check if the newly created element 40 * node has an attribute by invoking the hasAttributeNS method with appropriate 79 Attr attribute; local 86 attribute = doc.createAttributeNS(nullNS, "domestic"); 87 newAttribute = element.setAttributeNode(attribute);
|
elementremoveattributens01.java | 34 * The method removeAttributeNS removes an attribute by local name and namespace URI. 35 * Create a new element and add a new attribute node to it. 36 * Remove the attribute node using the removeAttributeNodeNS method. 37 * Check if the attribute was remove by invoking the hasAttributeNS 75 Attr attribute; local 79 attribute = doc.createAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr"); 80 newAttribute = element.setAttributeNodeNS(attribute);
|
elementsetattributenodens02.java | 35 * Retreive the street attribute from the second address element node. 75 Attr attribute; local 86 attribute = element.getAttributeNodeNS(nullNS, "street"); 87 attributeCloned = (Attr) attribute.cloneNode(true);
|
elementsetattributenodens03.java | 34 * The method setAttributeNodeNS adds a new attribute and raises the 35 * INUSE_ATTRIBUTE_ERR exception if the newAttr is already an attribute of 38 * Retreive an attribute node of an existing element node. Attempt to add it to an another 77 Attr attribute; local 85 attribute = element1.getAttributeNodeNS(nullNS, "street"); 91 newAttribute = element2.setAttributeNodeNS(attribute);
|
elementsetattributenodens05.java | 34 * The method setAttributeNodeNS Adds a new attribute and raises 37 * Create new element and attribute nodes in different documents. 38 * Attempt to add the attribute node to the element node. 77 Attr attribute; local 82 attribute = docAlt.createAttributeNS("http://www.w3.org/DOM/Test", "attr"); 87 newAttribute = element.setAttributeNodeNS(attribute);
|
getAttributeNodeNS02.java | 35 * attribute node by local name and NamespaceURI. 40 * proper attribute node was retrieved. 76 Attr attribute; local 82 attribute = testAddr.getAttributeNodeNS("http://www.nist.gov", "domestic"); 83 attrName = attribute.getNodeName();
|
namednodemapgetnameditemns02.java | 36 * Using the method getNamedItemNS, retreive an attribute node having namespaceURI=http://www.nist.gov 37 * and localName=domestic, from a NamedNodeMap of attribute nodes, for the second element 75 Attr attribute; local 82 attribute = (Attr) attributes.getNamedItemNS("http://www.nist.gov", "domestic"); 83 attrName = attribute.getNodeName();
|
namednodemapgetnameditemns03.java | 36 * Create a new Element node and add 2 new attribute nodes having the same local name but different 37 * namespace names and namespace prefixes to it. Using the getNamedItemNS retreive the second attribute node. 74 Attr attribute; local 86 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L2", "att"); 87 attrName = attribute.getNodeName();
|
namednodemapgetnameditemns04.java | 37 * Create a new attribute node having the same name as an existing node but different namespaceURI 38 * and add it to this element. Using the getNamedItemNS retreive the newly created attribute 76 Attr attribute; local 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "street"); 88 attrName = attribute.getNodeName();
|
namednodemapgetnameditemns05.java | 36 * Retreieve the second address element and its attribute into a named node map. 37 * Try retreiving the street attribute from the namednodemap using the 38 * default namespace uri and the street attribute name. Since the default 75 Attr attribute; local 81 attribute = (Attr) attributes.getNamedItemNS("*", "street"); 82 assertNull("namednodemapgetnameditemns05", attribute);
|
namednodemapsetnameditemns01.java | 39 * and put its attributes into a named node map. Create a new attribute node and add it to this map. 76 Attr attribute; local 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "streets"); 88 attrName = attribute.getNodeName();
|
namednodemapsetnameditemns02.java | 38 * Create a new element and attribute Node and add the newly created attribute node to the elements 40 * the nodeName of the retreived atttribute from the list of attribute nodes in this map. 76 Attr attribute; local 85 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "att"); 86 attrName = attribute.getNodeName();
|
nodehasattributes04.java | 78 Attr attribute; local 87 attribute = newDoc.createAttribute("attr"); 88 setNode = element.setAttributeNode(attribute);
|
nodesetprefix02.java | 34 * The method setPrefix sets the namespace prefix of this node. Note that setting this attribute, 35 * when permitted, changes the nodeName attribute, which holds the qualified name, as well as the 37 * Create a new attribute node and add it to an element node with an existing attribute having 38 * the same localName as this attribute but different namespaceURI. Change the prefix of the 39 * newly created attribute using setPrefix. Check if the new attribute nodeName has changed 40 * and the existing attribute is the same. 75 Attr attribute; local 87 attribute = element.getAttributeNodeNS("http://www.usa.com", "domestic") [all...] |
nodesetprefix04.java | 35 * Retreive the a default Attribute node which does not have a namespace prefix. Call the setPrefix 73 Attr attribute; local 81 attribute = element.getAttributeNodeNS(nullNS, "defaultAttr"); 86 attribute.setPrefix("test");
|
/libcore/luni/src/main/java/java/text/ |
AttributedCharacterIterator.java | 40 public static class Attribute implements Serializable { 45 * This attribute marks segments from an input method. Most input 51 public static final Attribute INPUT_METHOD_SEGMENT = new Attribute("input_method_segment"); 54 * The attribute describing the language of a character. The value 57 public static final Attribute LANGUAGE = new Attribute("language"); 61 * Japanese), this attribute allows to define which reading should be 65 public static final Attribute READING = new Attribute("reading") [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementSetAttributeNS.java | 16 * The method setAttributeNS adds a new attribute. Create a new element and add 17 * a new attribute node to it using the setAttributeNS method. Check if the 18 * attribute was correctly set by invoking the getAttributeNodeNS method and 58 Attr attribute; local 65 attribute = element.getAttributeNodeNS( 67 attrName = attribute.getNodeName(); 68 attrValue = attribute.getNodeValue(); 75 Attr attribute; local 84 attribute = element.getAttributeNodeNS( 86 attrName = attribute.getNodeName() 96 Attr attribute; local [all...] |
/external/chromium_org/remoting/webapp/ |
typecheck.js | 6 * Get the |key| attribute in the given |dict| and verify that it is an 9 * If the attribute is not an array, then an exception will be thrown unless 15 * @return {Array} The |key| attribute value as an object. 31 * Get the |key| attribute in the given |dict| and verify that it is a 34 * If the attribute is not a boolean, then an exception will be thrown unless 40 * @return {boolean} The |key| attribute value as a boolean. 56 * Get the |key| attribute in the given |dict| and verify that it is a 59 * If the attribute is not a number, then an exception will be thrown unless 65 * @return {number} The |key| attribute value as a number. 81 * Get the |key| attribute in the given |dict| and verify that it is a [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
VertexArray.cpp | 42 for (size_t attribute = 0; attribute < getMaxAttribs(); attribute++) 44 if (mVertexAttributes[attribute].buffer.id() == bufferName) 46 mVertexAttributes[attribute].buffer.set(NULL);
|
/external/chromium_org/tools/grit/grit/ |
exception.py | 43 '''The attribute was not expected''' 53 '''This element is missing a mandatory attribute''' 63 '''A duplicate key attribute was found.''' 73 '''The 'filename' attribute of <output> and the 'file' attribute of <part> 130 encoding="" attribute) if it is not in the default Windows-1252 encoding.
|
/external/proguard/src/proguard/classfile/util/ |
StringSharer.java | 24 import proguard.classfile.attribute.Attribute; 25 import proguard.classfile.attribute.visitor.AttributeVisitor; 53 // Replace attribute name strings in the constant pool by internalized 166 public void visitAnyAttribute(Clazz clazz, Attribute attribute) 168 // Put the internalized attribute's name string in the class pool. 169 name = attribute.getAttributeName(clazz).intern(); 170 clazz.constantPoolEntryAccept(attribute.u2attributeNameIndex, this);
|