HomeSort by relevance Sort by last modified time
    Searched defs:atts (Results 1 - 25 of 206) sorted by null

1 2 3 4 5 6 7 8 9

  /external/tagsoup/src/org/ccil/cowan/tagsoup/
ElementType.java 150 public AttributesImpl atts() {return theAtts;} method in class:ElementType
183 @param atts The AttributesImpl object
189 public void setAttribute(AttributesImpl atts, String name, String type, String value) {
196 int i = atts.getIndex(name);
201 atts.addAttribute(namespace, localName, name, type, value);
204 if (type == null) type = atts.getType(i);
206 atts.setAttribute(i, namespace, localName, name, type, value);
Element.java 39 if (defaultAttributes) theAtts = new AttributesImpl(type.atts());
58 public AttributesImpl atts() { return theAtts; } method in class:Element
XMLWriter.java 570 * @param atts The element's attribute list (must not be null).
577 String qName, Attributes atts)
585 writeAttributes(atts);
596 super.startElement(uri, localName, qName, atts);
745 * @param atts The element's attribute list.
753 String qName, Attributes atts)
759 writeAttributes(atts);
765 super.startElement(uri, localName, qName, atts);
925 * @param atts The element's attributes.
935 String qName, Attributes atts,
    [all...]
PYXWriter.java 177 Attributes atts) throws SAXException {
181 int length = atts.getLength();
183 qname = atts.getQName(i);
184 if (qname.length() == 0) qname = atts.getLocalName(i);
186 // theWriter.print(atts.getType(i)); // DEBUG
189 theWriter.println(atts.getValue(i));
  /libcore/luni/src/main/java/org/xml/sax/helpers/
AttributeListImpl.java 37 * public void startElement (String name, AttributeList atts)
41 * myatts = new AttributeListImpl(atts);
91 * @param atts The attribute list to copy
94 public AttributeListImpl (AttributeList atts)
96 setAttributeList(atts);
113 * @param atts The attribute list to copy.
115 public void setAttributeList (AttributeList atts)
117 int count = atts.getLength();
122 addAttribute(atts.getName(i), atts.getType(i), atts.getValue(i))
    [all...]
ParserAdapter.java 140 atts = new AttributesImpl();
533 atts.clear();
560 atts.addAttribute (nsSupport.XMLNS, prefix,
563 atts.addAttribute ("", "",
573 atts.addAttribute(attName[0], attName[1], attName[2],
580 atts.addAttribute("", attQName, attQName, type, value);
594 contentHandler.startElement(name[0], name[1], name[2], atts);
825 private AttributesImpl atts = null;
983 int max = atts.getLength();
821 private AttributesImpl atts = null; field in class:ParserAdapter
  /cts/tests/tests/util/src/android/util/cts/
XmlEncodingTest.java 257 public void startElement(String uri, String localName, String name, Attributes atts)
262 mVec.add(atts.getLength() + STR_EMPTY);
263 for (int i = 0; i < atts.getLength(); i++) {
264 mVec.add(atts.getLocalName(i));
265 mVec.add(atts.getValue(i));
XmlTest.java 174 public void startElement(String uri, String localName, String name, Attributes atts)
179 mVec.add(atts.getLength() + STR_EMPTY);
180 for (int i = 0; i < atts.getLength(); i++) {
181 mVec.add(atts.getLocalName(i));
182 mVec.add(atts.getValue(i));
  /packages/apps/Email/tests/src/com/android/email/provider/
PolicyTests.java 131 ArrayList<Attachment> atts = new ArrayList<Attachment>(); local
133 atts.add(att1);
135 atts.add(att2);
136 msg1.mAttachments = atts;
140 atts.clear();
142 atts.add(att3);
144 atts.add(att4);
145 msg2.mAttachments = atts;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
AttributesTest.java 150 Attributes atts = new Attributes(); local
151 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar"));
152 assertNull("Assert 1: ", atts.put(Attributes.Name.MANIFEST_VERSION, "1"));
154 atts2.putAll(atts);
158 atts.putAll(Collections.EMPTY_MAP);
227 Attributes atts = new Attributes(); local
228 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar"));
229 assertEquals("Assert 1: ", "tools.jar", atts.getValue(Attributes.Name.CLASS_PATH));
232 atts.put("not a name", "value");
238 atts.put(Attributes.Name.CLASS_PATH, Boolean.TRUE)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
SAXParserFactoryTest.java 378 Attributes atts) {
383 for (int i = 0; i < atts.getLength(); i++) {
384 attr.put(atts.getQName(i), atts.getValue(i));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
BatteryMeterView.java 106 TypedArray atts = context.obtainStyledAttributes(attrs, R.styleable.BatteryMeterView, local
108 final int frameColor = atts.getColor(R.styleable.BatteryMeterView_frameColor,
111 atts.recycle();
  /external/apache-xml/src/main/java/org/apache/xml/utils/
TreeWalker.java 333 NamedNodeMap atts = ((Element) node).getAttributes(); local
334 int nAttrs = atts.getLength();
339 Node attr = atts.item(i);
367 new AttList(atts, m_dh));
469 NamedNodeMap atts = ((Element) node).getAttributes();
470 int nAttrs = atts.getLength();
474 Node attr = atts.item(i);
DOMBuilder.java 314 * @param atts The attributes attached to the element, if any.
319 String ns, String localName, String name, Attributes atts)
336 int nAtts = atts.getLength();
343 //System.out.println("type " + atts.getType(i) + " name " + atts.getLocalName(i) );
345 if (atts.getType(i).equalsIgnoreCase("ID"))
346 setIDAttribute(atts.getValue(i), elem);
348 String attrNS = atts.getURI(i);
353 // System.out.println("attrNS: "+attrNS+", localName: "+atts.getQName(i)
354 // +", qname: "+atts.getQName(i)+", value: "+atts.getValue(i))
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
ParserAdapterTest.java 261 AttributeListImpl atts = new AttributeListImpl(); local
262 atts.addAttribute("john:doe", "int", "42");
266 adapter.startElement("foo:bar", atts);
279 AttributeListImpl atts = new AttributeListImpl(); local
280 atts.addAttribute("john:doe", "int", "42");
284 adapter.startElement("foo:bar", atts);
XMLFilterImplTest.java 363 Attributes atts = new AttributesImpl(); local
366 parent.startElement("http://some.uri", "bar", "foo:bar", atts);
373 assertEquals(new Object[] { "http://some.uri", "bar", "foo:bar", atts },
XMLReaderAdapterTest.java 234 AttributesImpl atts = new AttributesImpl(); local
235 atts.addAttribute("http://some.other.uri", "gabba", "gabba:hey",
239 adapter.startElement("http://some.uri", "bar", "foo:bar", atts);
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
TreeWalker.java 320 NamedNodeMap atts = elem_node.getAttributes(); local
321 int nAttrs = atts.getLength();
329 final Node attr = atts.item(i);
362 new AttList(atts, m_dh));
469 NamedNodeMap atts = elem_node.getAttributes(); local
470 int nAttrs = atts.getLength();
476 final Node attr = atts.item(i);
  /external/deqp/modules/glshared/
glsFboUtil.cpp 575 const AttachmentMap& atts = fboConfig.attachments; local
629 if (atts.empty())
632 for (AttachmentMap::const_iterator it = atts.begin(); it != atts.end(); it++)
  /prebuilts/tools/common/m2/repository/net/sourceforge/saxon/saxon/9.1.0.8/
saxon-9.1.0.8-dom.jar 
  /external/robolectric/v3/runtime/
tagsoup-1.2.jar 
  /prebuilts/tools/common/m2/repository/org/ccil/cowan/tagsoup/tagsoup/1.2/
tagsoup-1.2.jar 
  /prebuilts/tools/common/m2/repository/org/ccil/cowan/tagsoup/tagsoup/1.2.1/
tagsoup-1.2.1.jar 
  /prebuilts/tools/common/m2/repository/xml-resolver/xml-resolver/1.2/
xml-resolver-1.2.jar 
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DTMDocumentImpl.java 475 java.lang.String qName, Attributes atts)
495 int nAtts=(atts==null) ? 0 : atts.getLength();
499 qName=atts.getQName(i);
517 m_nsNames.stringToIndex(atts.getValue(i)),
518 atts.getType(i).equalsIgnoreCase("ID"));
524 qName=atts.getQName(i);
544 m_char.append(atts.getValue(i)); // Single-string value
548 appendAttribute(m_nsNames.stringToIndex(atts.getURI(i)),
551 atts.getType(i).equalsIgnoreCase("ID")
    [all...]

Completed in 395 milliseconds

1 2 3 4 5 6 7 8 9