/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));
|
Parser.java | 741 Attributes atts = theStack.atts(); local 742 for (int i = atts.getLength() - 1; i >= 0; i--) { 743 String attNamespace = atts.getURI(i); 744 String attPrefix = prefixOf(atts.getQName(i)); 784 Attributes atts = e.atts(); local 785 int len = atts.getLength(); 787 String attNamespace = atts.getURI(i); 788 String attPrefix = prefixOf(atts.getQName(i)) [all...] |
/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 | 250 public void startElement(String uri, String localName, String name, Attributes atts) 255 mVec.add(atts.getLength() + STR_EMPTY); 256 for (int i = 0; i < atts.getLength(); i++) { 257 mVec.add(atts.getLocalName(i)); 258 mVec.add(atts.getValue(i));
|
XmlTest.java | 167 public void startElement(String uri, String localName, String name, Attributes atts) 172 mVec.add(atts.getLength() + STR_EMPTY); 173 for (int i = 0; i < atts.getLength(); i++) { 174 mVec.add(atts.getLocalName(i)); 175 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;
|
ProviderTests.java | 495 ArrayList<Attachment> atts = new ArrayList<Attachment>(); local 497 atts.add(ProviderTestUtils.setupAttachment( 501 message3.mAttachments = atts; 522 ProviderTestUtils.assertAttachmentEqual("save-message3", atts.get(i), actual); 546 ArrayList<Attachment> atts = new ArrayList<Attachment>(); local 548 atts.add(ProviderTestUtils.setupAttachment( 552 message4.mAttachments = atts; 574 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), actual); 587 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), attachments[i]); 1473 ArrayList<Attachment> atts = new ArrayList<Attachment>(); local [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/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); 251 Attributes atts = new Attributes(); local 252 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); 253 assertEquals("Assert 1: ", "tools.jar", atts.getValue(Attributes.Name.CLASS_PATH)); 256 atts.put("not a name", "value"); 262 atts.put(Attributes.Name.CLASS_PATH, Boolean.TRUE) [all...] |
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
SAXParserFactoryTest.java | 379 Attributes atts) { 384 for (int i = 0; i < atts.getLength(); i++) { 385 attr.put(atts.getQName(i), atts.getValue(i));
|
/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/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
ParserAdapterTest.java | 262 AttributeListImpl atts = new AttributeListImpl(); local 263 atts.addAttribute("john:doe", "int", "42"); 267 adapter.startElement("foo:bar", atts); 280 AttributeListImpl atts = new AttributeListImpl(); local 281 atts.addAttribute("john:doe", "int", "42"); 285 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 | 235 AttributesImpl atts = new AttributesImpl(); local 236 atts.addAttribute("http://some.other.uri", "gabba", "gabba:hey", 240 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);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
EmailSyncParser.java | 131 ArrayList<EmailContent.Attachment> atts = new ArrayList<EmailContent.Attachment>(); local 138 attachmentsParser(atts, msg); 234 if (atts.size() > 0) { 235 msg.mAttachments = atts; 442 private void attachmentsParser(ArrayList<EmailContent.Attachment> atts, 448 attachmentParser(atts, msg); 456 private void attachmentParser(ArrayList<EmailContent.Attachment> atts, 512 atts.add(att); [all...] |
/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...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOM3TreeWalker.java | 664 NamedNodeMap atts = node.getAttributes();
local 665 int nAttrs = atts.getLength();
668 Node attr = atts.item(i);
1824 NamedNodeMap atts = ((Element) node).getAttributes(); local [all...] |
/external/chromium_org/third_party/libxml/src/include/libxml/ |
parser.h | 264 const xmlChar * *atts; /* array for the attributes callbacks */ member in struct:_xmlParserCtxt 503 * @atts: An array of name/value attributes pairs, NULL terminated 509 const xmlChar **atts); [all...] |
/external/libxml2/include/libxml/ |
parser.h | 264 const xmlChar * *atts; /* array for the attributes callbacks */ member in struct:_xmlParserCtxt 503 * @atts: An array of name/value attributes pairs, NULL terminated 509 const xmlChar **atts); [all...] |
/external/chromium_org/third_party/libxml/src/ |
HTMLparser.c | 3591 const xmlChar **atts; local [all...] |