HomeSort by relevance Sort by last modified time
    Searched defs:element (Results 126 - 150 of 1193) sorted by null

1 2 3 4 56 7 8 91011>>

  /libcore/dom/src/test/java/org/w3c/domts/level2/core/
elementhasattributens03.java 35 * and namespace URI is specified on this element or has a default value,
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
77 Element element; local
84 element = doc.createElementNS("http://www.w3.org/DOM", "address");
85 assertNotNull("createElementNotNull", element);
87 newAttribute = element.setAttributeNode(attribute);
88 state = element.hasAttributeNS(nullNS, "domestic")
    [all...]
elementremoveattributens01.java 35 * Create a new element and add a new attribute node to it.
38 * method on the element and check if it returns false.
73 Element element; local
78 element = doc.createElementNS("http://www.w3.org/DOM", "elem");
80 newAttribute = element.setAttributeNodeNS(attribute);
81 element.removeAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr");
82 state = element.hasAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr");
elementsetattributens01.java 35 * Create a new element and add a new attribute node to it using the setAttributeNS method.
72 Element element; local
77 element = doc.createElementNS("http://www.w3.org/DOM", "dom:elem");
78 element.setAttributeNS("http://www.w3.org/DOM/Test/setAttributeNS", "attr", "value");
79 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Test/setAttributeNS", "attr");
elementsetattributens04.java 36 * Invoke the setAttributeNS method on this Element object with a valid value for
67 Element element; local
81 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem");
88 element.setAttributeNS("http://www.w3.org/DOM/Test/L2", qualifiedName, "test");
getElementById01.java 35 * Document should return an element whose ID matches elementId.
38 * with elementId equals "CANADA". Method should return an element
74 Element element; local
77 element = doc.getElementById("CANADA");
78 tagname = element.getTagName();
namednodemapgetnameditemns05.java 36 * Retreieve the second address element and its attribute into a named node map.
74 Node element; local
79 element = elementList.item(1);
80 attributes = element.getAttributes();
namednodemapremovenameditemns01.java 72 Node element; local
77 element = elementList.item(1);
78 attributes = element.getAttributes();
nodesetprefix03.java 36 * Create a new element node without a namespace prefix. Call setPrefix on the newly created elemenent node.
71 Element element; local
73 element = doc.createElement("address");
78 element.setPrefix("test");
nodesetprefix05.java 35 * Create a new namespace aware element node and call the setPrefix method on it with several malformed
70 Element element; local
80 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem");
87 element.setPrefix(prefixValue);
nodesetprefix08.java 65 Element element; local
70 element = (Element) elementList.item(0);
71 attribute = element.getAttributeNode("xmlns");
nodesetprefix09.java 35 * Create a new namespace aware element node and call the setPrefix method on it with a prefix having
65 Element element; local
67 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem");
72 element.setPrefix(value);
  /libcore/luni/src/test/java/tests/org/w3c/dom/
DocumentGeteEementById.java 4 import org.w3c.dom.Element;
9 * The method getElementById returns the element whose ID is given by elementId.
10 * If not such element exists, returns null.
13 * elementId. This should return a null element.
53 Element element; local
56 element = doc.getElementById(elementId);
57 assertNull("documentgetelementbyid01", element);
ElementHasAttribute.java 3 import org.w3c.dom.Element;
11 * specified on this element or has a default value, false otherwise Invoke the
50 Element element; local
53 element = doc.getDocumentElement();
54 state = element.hasAttribute("");
61 // Element element;
66 // element = (Element) elementList.item(0)
73 Element element; local
88 Element element; local
    [all...]
ElementRemoveAttributeNS.java 3 import org.w3c.dom.Element;
11 * URI. Create a new element and add a new attribute node to it. Remove the
13 * was remove by invoking the hasAttributeNS method on the element and check if
52 Element element; local
57 element = doc.createElementNS("http://www.w3.org/DOM", "elem");
60 element.setAttributeNodeNS(attribute);
61 element.removeAttributeNS(
63 state = element.hasAttributeNS(
GetElementById.java 25 import org.w3c.dom.Element;
31 * element whose ID matches elementId.
34 * equals "CANADA". Method should return an element whose tag name is
76 // Element element;
79 // element = doc.getElementById("CANADA");
80 // tagname = element.getTagName();
85 Element element; local
87 element = doc.getElementById("Cancun")
    [all...]
  /packages/apps/Mms/src/com/android/mms/dom/smil/parser/
SmilXmlSerializer.java 28 import org.w3c.dom.Element;
47 private static void writeElement(Writer writer, Element element)
50 writer.write(element.getTagName());
52 if (element.hasAttributes()) {
53 NamedNodeMap attributes = element.getAttributes();
62 SMILElement childElement = (SMILElement) element.getFirstChild();
73 writer.write(element.getTagName());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/
AndroidJUnitPropertyTester.java 54 String.format("Element must be of type IAdaptable, is %s", //$NON-NLS-1$
58 IJavaElement element; local
60 element = (IJavaElement) receiver;
62 element = JavaCore.create((IResource) receiver);
63 if (element == null) {
67 element= (IJavaElement) ((IAdaptable) receiver).getAdapter(IJavaElement.class);
68 if (element == null) {
71 element = JavaCore.create(resource);
72 if (element == null) {
78 return isJUnitTest(element);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/
ExportAction.java 53 Object element = selection.getFirstElement(); local
57 if (element instanceof IProject) {
58 project = (IProject) element;
59 } else if (element instanceof IAdaptable) {
60 project = (IProject) ((IAdaptable) element).getAdapter(IProject.class);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
WorkingSetHelper.java 89 Object element= elements.get(0); local
90 TreePath[] paths= treeSelection.getPathsFor(element);
111 Object element= iterator.next(); local
112 if (element instanceof IWorkingSet && isValidWorkingSet((IWorkingSet) element)) {
113 result.add(element);
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
StateLabelProvider.java 54 private String getValue(IGLProperty element) {
55 return element.getStringValue();
58 private String getName(IGLProperty element) {
59 IGLProperty parent = element.getParent();
63 int index = ((GLListProperty) parent).indexOf(element);
64 if (element.getType() == GLStateType.GL_STATE_ES1) {
66 } else if (element.getType() == GLStateType.GL_STATE_ES2) {
74 int index = ((GLSparseArrayProperty) parent).keyFor(element);
78 return element.getType().getDescription();
83 Object element = cell.getElement() local
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
InnerNodeImpl.java 238 ElementImpl element = (ElementImpl) node; local
239 if (matchesNameOrWildcard(name, element.getNodeName())) {
240 out.add(element);
242 element.getElementsByTagName(out, name);
250 ElementImpl element = (ElementImpl) node; local
251 if (matchesNameOrWildcard(namespaceURI, element.getNamespaceURI())
252 && matchesNameOrWildcard(localName, element.getLocalName())) {
253 out.add(element);
255 element.getElementsByTagNameNS(out, namespaceURI, localName);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
PointerTrackerQueue.java 27 public interface Element {
37 private final ArrayList<Element> mExpandableArrayOfActivePointers =
47 public void add(final Element pointer) {
52 final ArrayList<Element> expandableArray = mExpandableArrayOfActivePointers;
63 public void remove(final Element pointer) {
68 final ArrayList<Element> expandableArray = mExpandableArrayOfActivePointers;
72 final Element element = expandableArray.get(index); local
73 if (element == pointer) {
75 Log.w(TAG, "Found duplicated element in remove: " + pointer)
104 final Element element = expandableArray.get(index); local
121 final Element element = expandableArray.get(index); local
156 final Element element = expandableArray.get(index); local
182 final Element element = expandableArray.get(index); local
199 final Element element = expandableArray.get(index); local
216 final Element element = expandableArray.get(index); local
229 final Element element = expandableArray.get(index); local
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntArrayList.java 33 * modifiable list as I don't do, for example, add(index,element).
49 /** Set the ith element. Like ArrayList, this does NOT affect size. */
81 int element = elements[i]; local
82 if ( element == v ) {
99 return Utils.integer(element(i));
102 public int element(int i) { method in class:IntArrayList
  /external/apache-http/src/org/apache/http/message/
BasicHeaderElementIterator.java 148 HeaderElement element = this.currentElement; local
150 return element;
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DTMNamedNodeMap.java 50 /** The DTM element handle. */
51 int element; field in class:DTMNamedNodeMap
57 * Create a getAttributes NamedNodeMap for a given DTM element node
60 * @param element The DTM element handle.
62 public DTMNamedNodeMap(DTM dtm, int element)
65 this.element = element;
69 * Return the number of Attributes on this Element
80 for (int n = dtm.getFirstAttribute(element); n != -1
    [all...]

Completed in 1709 milliseconds

1 2 3 4 56 7 8 91011>>