/external/webkit/WebCore/dom/ |
Attribute.cpp | 27 #include "Attr.h" 37 PassRefPtr<Attr> Attribute::createAttrIfNeeded(Element* e) 39 RefPtr<Attr> r = m_impl; 41 r = Attr::create(e, e->document(), this);
|
Attr.cpp | 24 #include "Attr.h" 36 inline Attr::Attr(Element* element, Document* document, PassRefPtr<Attribute> attribute) 43 ASSERT(!m_attribute->attr()); 47 PassRefPtr<Attr> Attr::create(Element* element, Document* document, PassRefPtr<Attribute> attribute) 49 RefPtr<Attr> attr = adoptRef(new Attr(element, document, attribute)); local 50 attr->createTextChild() [all...] |
Attribute.h | 32 class Attr; 38 // It is an internal representation of the node value of an Attr. 39 // The actual Attr with its value as a Text child is allocated only if needed. 41 friend class Attr; 57 Attr* attr() const { return m_impl; } function in class:WebCore::Attribute 58 PassRefPtr<Attr> createAttrIfNeeded(Element*); 86 Attr* m_impl;
|
Attr.h | 33 // Attr can have Text and EntityReference children 39 class Attr : public ContainerNode { 42 static PassRefPtr<Attr> create(Element*, Document*, PassRefPtr<Attribute>); 43 virtual ~Attr(); 53 Attribute* attr() const { return m_attribute.get(); } function in class:WebCore::Attr 64 Attr(Element*, Document*, PassRefPtr<Attribute>);
|
/libcore/luni/src/main/java/org/w3c/dom/ |
Element.java | 22 * <code>Attr</code> object by name or an attribute value by name. In XML, 24 * <code>Attr</code> object should be retrieved to examine the possibly 50 * @return The <code>Attr</code> value as a string, or the empty string 63 * references, the user must create an <code>Attr</code> node plus any 105 * @return The <code>Attr</code> node with the specified name ( 109 public Attr getAttributeNode(String name); 118 * @param newAttr The <code>Attr</code> node to add to the attribute list. 120 * attribute, the replaced <code>Attr</code> node is returned, 128 * explicitly clone <code>Attr</code> nodes to re-use them in other 131 public Attr setAttributeNode(Attr newAttr [all...] |
Attr.java | 16 * The <code>Attr</code> interface represents an attribute in an 19 * <p><code>Attr</code> objects inherit the <code>Node</code> interface, but 24 * <code>null</code> value for <code>Attr</code> objects. The DOM takes the 29 * <code>Attr</code> nodes may not be immediate children of a 33 * DOM need to be aware that <code>Attr</code> nodes have some things in 43 * attribute on the <code>Attr</code> instance can also be used to retrieve 58 * the child nodes of the <code>Attr</code> node may be either 68 * <code>nodeValue</code> attributes of an <code>Attr</code> node initially 73 * the string value directly or by changing the <code>Attr</code> child 90 * <th>Initial <code>Attr.value</code></th [all...] |
/packages/apps/Mms/src/com/android/mms/dom/ |
ElementImpl.java | 20 import org.w3c.dom.Attr; 45 Attr attrNode = getAttributeNode(name); 58 public Attr getAttributeNode(String name) { 59 return (Attr)mAttributes.getNamedItem(name); 62 public Attr getAttributeNodeNS(String namespaceURI, String localName) { 100 public Attr removeAttributeNode(Attr oldAttr) throws DOMException { 106 Attr attribute = getAttributeNode(name); 120 public Attr setAttributeNode(Attr newAttr) throws DOMException [all...] |
/external/skia/include/xml/ |
SkDOM.h | 34 typedef SkDOMAttr Attr; 54 const Attr* getFirstAttr(const Node*) const; 55 const Attr* getNextAttr(const Node*, const Attr*) const; 56 const char* getAttrName(const Node*, const Attr*) const; 57 const char* getAttrValue(const Node*, const Attr*) const; 85 const Attr* fAttr; 86 const Attr* fStop;
|
/external/webkit/WebCore/bindings/generic/ |
BindingElement.h | 34 #include "Attr.h" 47 static RefPtr<Attr> setAttributeNode(State<Binding>*, Element*, Attr*, ExceptionCode&); 49 static RefPtr<Attr> setAttributeNodeNS(State<Binding>*, Element*, Attr*, ExceptionCode&); 66 RefPtr<Attr> BindingElement<Binding>::setAttributeNode(State<Binding>* state, Element* element, Attr* newAttr, ExceptionCode& ec) 89 RefPtr<Attr> BindingElement<Binding>::setAttributeNodeNS(State<Binding>* state, Element* element, Attr* newAttr, ExceptionCode& ec)
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
namednodemapremovenameditemns03.java | 74 Attr attribute; 75 Attr newAttribute; 76 Attr attribute1; 77 Attr attribute2; 86 attribute = (Attr) attributes.removeNamedItemNS("http://www.w3.org/DOM/L1", "att"); 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L2", "att");
|
namednodemapremovenameditemns04.java | 73 Attr attribute; 74 Attr attributeRemoved; 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");
|
namednodemapgetnameditemns03.java | 38 * Verify if the attr node has been retreived successfully by checking its nodeName atttribute. 74 Attr attribute; 75 Attr newAttr1; 76 Attr newAttr2; 77 Attr newAttribute; 86 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L2", "att");
|
namednodemapgetnameditemns06.java | 38 * Verify if the attr node has been retreived successfully by checking its nodeName atttribute. 75 Attr attribute; 76 Attr newAttr1; 77 Attr newAttribute; 87 attribute = (Attr) attributesMap1.getNamedItemNS("http://www.w3.org/DOM/L1", "street"); 90 attribute = (Attr) attributesMap2.getNamedItemNS("http://www.w3.org/DOM/L1", "street");
|
elementsetattributenodens01.java | 77 Attr attribute1; 78 Attr attribute2; 79 Attr attrNode; 84 Attr newAttribute;
|
elementsetattributenodens02.java | 75 Attr attribute; 76 Attr attributeCloned; 77 Attr newAttr; 87 attributeCloned = (Attr) attribute.cloneNode(true);
|
namednodemapgetnameditemns04.java | 40 * Verify if the attr node has been retreived successfully by checking its nodeName atttribute. 76 Attr attribute; 77 Attr newAttr1; 78 Attr newAttribute; 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "street");
|
namednodemapsetnameditemns01.java | 40 * Verify if the attr node was successfully added by checking the nodeName of the retreived atttribute. 76 Attr attribute; 77 Attr newAttribute; 78 Attr newAttr1; 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L1", "streets");
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementSetAttributeNodeNS.java | 31 import org.w3c.dom.Attr; 86 args = {org.w3c.dom.Attr.class} 91 Attr attribute1; 92 Attr attribute2; 93 Attr attrNode; 125 args = {org.w3c.dom.Attr.class} 131 Attr attribute; 132 Attr attributeCloned; 133 Attr newAttr; 144 attributeCloned = (Attr) attribute.cloneNode(true) [all...] |
NamedNodeMapGetNamedItemNS.java | 33 import org.w3c.dom.Attr; 116 Attr attribute; 124 attribute = (Attr) attributes.getNamedItemNS("http://www.nist.gov", 139 Attr attribute; 140 Attr newAttr1; 141 Attr newAttr2; 151 attribute = (Attr) attributes.getNamedItemNS( 166 Attr attribute; 167 Attr newAttr1; 176 attribute = (Attr) attributes.getNamedItemNS [all...] |
SetAttributeNodeNS.java | 33 import org.w3c.dom.Attr; 92 args = {org.w3c.dom.Attr.class} 99 Attr newAttr; 132 // Attr newAttr; 164 args = {org.w3c.dom.Attr.class} 172 Attr newAttr; 173 Attr newAddrAttr; 187 args = {org.w3c.dom.Attr.class} 193 Attr newAttr; 194 Attr newAddrAttr [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_namednodemapremovenameditem.java | 68 Attr newAttribute; 71 Attr streetAttr; 79 streetAttr = (Attr) attributes.getNamedItem("class");
|
hc_attrclonenode1.java | 62 Attr titleAttr; 67 Attr clonedTitle; 72 titleAttr = (Attr) attributes.getNamedItem("title"); 75 clonedTitle = (Attr) titleAttr.cloneNode(false);
|
hc_elementinuseattributeerr.java | 63 Attr newAttribute; 67 Attr attrAddress; 69 Attr setAttr1; 70 Attr setAttr2;
|
/libcore/luni/src/main/java/org/apache/xml/serializer/utils/ |
AttList.java | 23 import org.w3c.dom.Attr; 107 String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index))); 123 return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index))); 136 return ((Attr) m_attrs.item(i)).getName(); 162 return ((Attr) m_attrs.item(i)).getValue(); 203 Attr attr = ((Attr) m_attrs.getNamedItem(name)); local 204 return (null != attr) 205 ? attr.getValue() : null [all...] |
/libcore/luni/src/main/java/org/apache/xml/utils/ |
AttList.java | 23 import org.w3c.dom.Attr; 98 String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index))); 114 return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index))); 127 return ((Attr) m_attrs.item(i)).getName(); 153 return ((Attr) m_attrs.item(i)).getValue(); 194 Attr attr = ((Attr) m_attrs.getNamedItem(name)); local 195 return (null != attr) 196 ? attr.getValue() : null [all...] |