Searched defs:attributes (Results 1 - 20 of 20) sorted by relevance

/libcore/benchmarks/src/benchmarks/
H A DXmlParseBenchmark.java99 String qName, Attributes attributes) {
98 startElement(String uri, String localName, String qName, Attributes attributes) argument
/libcore/ojluni/src/main/java/java/text/
H A DAttributedCharacterIterator.java40 * attributes on a given character can have the same key.
54 * <p>A <em>run with respect to a set of attributes</em> is a maximum text range for
57 * <p>When getting a run with no explicit attributes specified (i.e.,
59 * contiguous text segments having the same attributes (the same set
61 * attributes have been given to those text segments separately.
82 * Defines attribute keys that are used to identify text attributes. These
194 * with respect to all attributes containing the current character.
196 * <p>Any contiguous text segments having the same attributes (the
198 * if the attributes have been given to those text segments separately.
210 * with respect to the given {@code attributes} containin
212 getRunStart(Set<? extends Attribute> attributes) argument
234 getRunLimit(Set<? extends Attribute> attributes) argument
[all...]
H A DAttributedString.java39 * attributes on a given character can have the same key.
60 // run attributes are organized by run
92 // Determine the runs, creating a new run when the attributes
133 * Constructs an AttributedString instance with the given text and attributes.
135 * @param attributes The attributes that apply to the entire string.
137 * <code>attributes</code> is null.
139 * and the attributes parameter is not an empty Map (attributes
143 Map<? extends Attribute, ?> attributes)
142 AttributedString(String text, Map<? extends Attribute, ?> attributes) argument
230 AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, Attribute[] attributes) argument
368 addAttributes(Map<? extends Attribute, ?> attributes, int beginIndex, int endIndex) argument
562 getIterator(Attribute[] attributes) argument
582 getIterator(Attribute[] attributes, int beginIndex, int endIndex) argument
653 attributeValuesMatch(Set attributes, int runIndex1, int runIndex2) argument
753 AttributedStringIterator(Attribute[] attributes, int beginIndex, int endIndex) argument
884 getRunStart(Set<? extends Attribute> attributes) argument
925 getRunLimit(Set<? extends Attribute> attributes) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DPKCS9Attributes.java38 * A set of attributes of class PKCS9Attribute.
46 private final Hashtable<ObjectIdentifier, PKCS9Attribute> attributes = field in class:PKCS9Attributes
50 * The keys of this hashtable are the OIDs of permitted attributes.
61 * Contols how attributes, which are not recognized by the PKCS9Attribute
68 * DER encoding on a DerInputStream, accepting only attributes
70 * list. If the array is null, accept all attributes supported by
104 * DER encoding on a DerInputStream. Accept all attributes
106 * attributes.
121 * DER encoding on a DerInputStream. Accept all attributes
123 * attributes, i
[all...]
/libcore/ojluni/src/main/java/sun/util/locale/
H A DUnicodeLocaleExtension.java45 private final Set<String> attributes; field in class:UnicodeLocaleExtension
55 attributes = Collections.emptySet();
59 UnicodeLocaleExtension(SortedSet<String> attributes, SortedMap<String, String> keywords) { argument
61 if (attributes != null) {
62 this.attributes = attributes;
64 this.attributes = Collections.emptySet();
72 if (!this.attributes.isEmpty() || !this.keywords.isEmpty()) {
74 for (String attribute : this.attributes) {
91 if (attributes
[all...]
/libcore/luni/src/main/java/org/xml/sax/
H A DHandlerBase.java200 * @param attributes The specified or defaulted attributes.
205 public void startElement (String name, AttributeList attributes)
202 startElement(String name, AttributeList attributes) argument
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DDefaultHandler.java266 * @param attributes The attributes attached to the element. If
267 * there are no attributes, it shall be an empty
274 String qName, Attributes attributes)
270 startElement(String uri, String localName, String qName, Attributes attributes) argument
H A DXMLReaderAdapter.java324 * @param atts The SAX2 attributes.
458 void setAttributes (Attributes attributes)
460 this.attributes = attributes;
465 * Return the number of attributes.
472 return attributes.getLength();
484 return attributes.getQName(i);
496 return attributes.getType(i);
508 return attributes.getValue(i);
520 return attributes
454 setAttributes(Attributes attributes) argument
531 private Attributes attributes; field in class:XMLReaderAdapter.AttributesAdapter
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DProviderServiceTest.java242 Map<String, String> attributes) {
243 super(provider, type, algorithm, className, aliases, attributes);
240 MyService(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String, String> attributes) argument
/libcore/dom/src/test/java/org/w3c/domts/
H A DXercesHTML2DocumentBuilderFactory.java142 Attributes attributes) throws SAXException {
143 currentAttributes = attributes;
138 startElement( String uri, String localName, String qName, Attributes attributes) argument
H A DXercesHTMLDocumentBuilderFactory.java142 Attributes attributes) throws SAXException {
143 currentAttributes = attributes;
138 startElement( String uri, String localName, String qName, Attributes attributes) argument
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DElementImpl.java47 private List<AttrImpl> attributes = new ArrayList<AttrImpl>(); field in class:ElementImpl
60 for (int i = 0; i < attributes.size(); i++) {
61 AttrImpl attr = attributes.get(i);
71 for (int i = 0; i < attributes.size(); i++) {
72 AttrImpl attr = attributes.get(i);
109 return attributes.get(i);
119 return attributes.get(i);
133 for (Attr attr : attributes) {
213 return !attributes.isEmpty();
220 attributes
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DSaxTest.java41 String qName, Attributes attributes) {
45 assertEquals(1, attributes.getLength());
46 assertEquals("", attributes.getURI(0));
47 assertOneOf("bar", "", attributes.getLocalName(0));
48 assertEquals("bar", attributes.getQName(0));
54 String qName, Attributes attributes) {
58 assertEquals(1, attributes.getLength());
59 assertEquals("", attributes.getURI(0));
60 assertOneOf("a:bar", "", attributes.getLocalName(0));
61 assertEquals("a:bar", attributes
245 startElement( String uri, String localName, String qName, Attributes attributes) argument
[all...]
H A DExpatSaxParserTest.java66 String qName, Attributes attributes)
142 Attributes attributes) throws SAXException {
147 // Validate attributes.
148 assertEquals(1, attributes.getLength());
149 assertEquals("", attributes.getURI(0));
150 assertEquals("dad", attributes.getLocalName(0));
151 assertEquals("bob", attributes.getValue(0));
152 assertEquals(0, attributes.getIndex("", "dad"));
153 assertEquals("bob", attributes.getValue("", "dad"));
550 Attributes attributes) throw
141 startElement(String uri, String localName, String qName, Attributes attributes) argument
[all...]
/libcore/ojluni/src/main/java/java/sql/
H A DConnection.java1297 * @param attributes the attributes that populate the returned object
1298 * @return a Struct object that maps to the given SQL type and is populated with the given attributes
1303 Struct createStruct(String typeName, Object[] attributes) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DSAXParserTestSupport.java309 Attributes attributes) {
316 for(int i = 0; i < attributes.getLength(); i ++)
318 SEPARATOR_STRING +attributes.getQName(i) +
319 SEPARATOR_STRING + attributes.getValue(i));
466 Attributes attributes) {
473 for(int i = 0; i < attributes.getLength(); i ++)
475 + attributes.getQName(i) +
476 SEPARATOR_STRING + attributes.getValue(i));
308 startElement(String uri, String localName, String qName, Attributes attributes) argument
465 startElement(String uri, String localName, String qName, Attributes attributes) argument
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatParser.java62 private final ExpatAttributes attributes = new CurrentAttributes(); field in class:ExpatParser
129 * @param attributeCount number of attributes
144 uri, localName, qName, this.attributes);
598 * Clones the current attributes so they can be used outside of
618 * Used for cloned attributes.
629 * Constructs a Java wrapper for native attributes.
632 * @param pointer pointer to the attributes array, can be 0 if the
634 * @param length number of attributes
/libcore/ojluni/src/main/java/java/security/
H A DProvider.java75 * The following attributes are automatically placed in each Provider object:
442 // register the id attributes for this provider
832 for (Map.Entry<UString,String> entry : s.attributes.entrySet()) {
853 for (Map.Entry<UString,String> entry : s.attributes.entrySet()) {
1039 * names for this service (aliases) and attributes, which are a map of
1063 private Map<UString,String> attributes; field in class:Provider.Service
1068 // flag indicating whether this service has its attributes for
1091 attributes = Collections.<UString,String>emptyMap();
1106 if (attributes.isEmpty()) {
1107 attributes
1126 Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes) argument
[all...]
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp180 /** Current attributes. */
181 const char** attributes; member in struct:ParsingContext
183 /** Number of attributes. */
482 const char** attributes = toAttributes(attributePointer); local
483 const char* name = attributes[index * 2];
607 * @param attributes alternating attribute names and values. Like element
610 static void startElement(void* data, const char* elementName, const char** attributes) { argument
617 // Count the number of attributes.
619 while (attributes[count * 2]) count++;
621 // Make the attributes availabl
1142 const char** attributes = toAttributes(attributePointer); local
1162 const char** attributes = toAttributes(attributePointer); local
1195 const char** attributes = toAttributes(attributePointer); local
[all...]
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java104 * and will not be parsed. There is no API to define default attributes
125 * Default attributes in this document. The outer map's key is the element
170 * The current element's attributes arranged in groups of 4:
176 private String[] attributes = new String[16]; field in class:KXmlParser
185 * Retains namespace attributes like {@code xmlns="http://foo"} or {@code xmlns:foo="http:foo"}
187 * their elements, so these attributes aren't useful. But for structure preserving wrappers like
198 String attrName = attributes[i + 2];
219 nspStack[j + 1] = attributes[i + 3];
221 if (attrName != null && attributes[i + 3].isEmpty()) {
226 // explicitly set the namespace for unprefixed attributes
[all...]

Completed in 626 milliseconds