![]() |
Quadcap Embeddable Server |
Inheritance diagram for com.quadcap.text.sax.AttributeList:

Definition at line 46 of file AttributeList.java.
Public Member Functions | |
| final int | getLength () |
| Return the number of attributes in this list. | |
| final String | getName (int i) |
| Return the name of an attribute in this list (by position). | |
| final String | getType (int i) |
| Return the type of an attribute in the list (by position). | |
| final String | getValue (int i) |
| Return the value of an attribute in the list (by position). | |
| final String | getType (String name) |
| Return the type of an attribute in the list (by name). | |
| final String | getValue (String n) |
| Return the value of an attribute in the list (by name). | |
| String | toString () |
Static Public Member Functions | |
| AttributeList | copy (org.xml.sax.AttributeList a) |
| String | toString (org.xml.sax.AttributeList attributes) |
Package Functions | |
| final int | getAttribute (String n) |
| final String[] | resize (String[] v, int len) |
| final void | addAttribute (String n, String t, String v) |
| final void | clear () |
Package Attributes | |
| int | length = 0 |
| String[] | name = new String[8] |
| String[] | value = new String[8] |
| String[] | type = new String[8] |
|
||||||||||||||||
|
|
Definition at line 205 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.length. Referenced by com.quadcap.text.sax.Parser.startElement(). |
|
|
Definition at line 209 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.addAttribute(), and com.quadcap.text.sax.AttributeList.copy(). Referenced by com.quadcap.text.sax.AttributeList.copy(). |
|
|
Definition at line 180 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.getAttribute(), com.quadcap.text.sax.AttributeList.length, and com.quadcap.text.sax.AttributeList.name. Referenced by com.quadcap.text.sax.AttributeList.getAttribute(), com.quadcap.text.sax.AttributeList.getType(), and com.quadcap.text.sax.AttributeList.getValue(). |
|
|
Return the number of attributes in this list. The SAX parser may provide attributes in any arbitrary order, regardless of the order in which they were declared or specified. The number of attributes may be zero.
Definition at line 62 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.length. Referenced by com.quadcap.text.sax.Test.startElement(). |
|
|
Return the name of an attribute in this list (by position). The names must be unique: the SAX parser shall not include the same attribute twice. Attributes without values (those declared #IMPLIED without a value specified in the start tag) will be omitted from the list. If the attribute name has a namespace prefix, the prefix will still be attached.
Definition at line 83 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.getName(), and com.quadcap.text.sax.AttributeList.name. Referenced by com.quadcap.text.sax.AttributeList.getName(), and com.quadcap.text.sax.Test.startElement(). |
|
|
Return the type of an attribute in the list (by name). The return value is the same as the return value for getType(int). If the attribute name has a namespace prefix in the document, the application must include the prefix here.
Definition at line 158 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.getAttribute(). |
|
|
Return the type of an attribute in the list (by position). The attribute type is one of the strings "CDATA", "ID", "IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES", or "NOTATION" (always in upper case). If the parser has not read a declaration for the attribute, or if the parser does not report attribute types, then it must return the value "CDATA" as stated in the XML 1.0 Recommentation (clause 3.3.3, "Attribute-Value Normalization"). For an enumerated attribute that is not a notation, the parser will report the type as "NMTOKEN".
Definition at line 113 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.getType(), and com.quadcap.text.sax.AttributeList.type. Referenced by com.quadcap.text.sax.AttributeList.getType(), and com.quadcap.text.sax.Test.startElement(). |
|
|
Return the value of an attribute in the list (by name). The return value is the same as the return value for getValue(int). If the attribute name has a namespace prefix in the document, the application must include the prefix here.
Definition at line 176 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.getAttribute(). |
|
|
Return the value of an attribute in the list (by position). If the attribute value is a list of tokens (IDREFS, ENTITIES, or NMTOKENS), the tokens will be concatenated into a single string separated by whitespace.
Definition at line 134 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.getValue(), and com.quadcap.text.sax.AttributeList.value. Referenced by com.quadcap.text.sax.AttributeList.getValue(), and com.quadcap.text.sax.Test.startElement(). |
|
||||||||||||
|
Definition at line 187 of file AttributeList.java. References com.quadcap.text.sax.AttributeList.resize(). Referenced by com.quadcap.text.sax.AttributeList.resize(). |
|
|
Definition at line 231 of file AttributeList.java. |
|
|
Definition at line 217 of file AttributeList.java. |
|
|
Definition at line 47 of file AttributeList.java. Referenced by com.quadcap.text.sax.AttributeList.addAttribute(), com.quadcap.text.sax.AttributeList.clear(), com.quadcap.text.sax.AttributeList.getAttribute(), and com.quadcap.text.sax.AttributeList.getLength(). |
|
|
Definition at line 48 of file AttributeList.java. Referenced by com.quadcap.text.sax.AttributeList.addAttribute(), com.quadcap.text.sax.AttributeList.getAttribute(), and com.quadcap.text.sax.AttributeList.getName(). |
|
|
Definition at line 50 of file AttributeList.java. Referenced by com.quadcap.text.sax.AttributeList.addAttribute(), and com.quadcap.text.sax.AttributeList.getType(). |
|
|
Definition at line 49 of file AttributeList.java. Referenced by com.quadcap.text.sax.AttributeList.addAttribute(), and com.quadcap.text.sax.AttributeList.getValue(). |