| Modifier and Type | Field and Description |
|---|---|
| private Object[] | |
| private int[] | |
| private String[] | |
| private int | |
| private QualifiedName[] | |
| private Map | |
| private String[] | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | |
| public final void | |
| private StringBuilder | |
| public final Object | getAlgorithmData(int index)
Implements org. Return the data of the encoding algorithm. |
| public final int | getAlgorithmIndex(int index)
Implements org. Return the index of the encoding algorithm. |
| public final String | getAlgorithmURI(int index)
Implements org. Return the URI of the encoding algorithm. |
| public String | getAlpababet(int index)
Implements org. Return the alphabet associated with the attribute value. |
| public final int | getIndex(String qName)
Implements org. Look up the index of an attribute by XML qualified (prefixed) name. |
| public final int | getIndex(String uri, String localName)
Implements org. Look up the index of an attribute by Namespace name. |
| public final int | getLength()
Implements org. Return the number of attributes in the list. |
| public final String | getLocalName(int index)
Implements org. Look up an attribute's local name by index. |
| public final String | |
| public final String | getQName(int index)
Implements org. Look up an attribute's XML qualified (prefixed) name by index. |
| public final QualifiedName | |
| public boolean | getToIndex(int index)
Implements org. Return the whether the attribute value should be indexed or not. |
| public final String | |
| public final String | getType(String qName)
Implements org. Look up an attribute's type by XML qualified (prefixed) name. |
| public final String | getType(String uri, String localName)
Implements org. Look up an attribute's type by Namespace name. |
| public final String | getURI(int index)
Implements org. Look up an attribute's Namespace URI by index. |
| public final String | getValue(int index)
Implements org. Look up an attribute's value by index. |
| public final String | getValue(String qName)
Implements org. Look up an attribute's value by XML qualified (prefixed) name. |
| public final String | getValue(String uri, String localName)
Implements org. Look up an attribute's value by Namespace name. |
| private void |
| _algorithmData | back to summary |
|---|---|
| private Object[] _algorithmData | |
| _algorithmIds | back to summary |
|---|---|
| private int[] _algorithmIds | |
| _algorithmURIs | back to summary |
|---|---|
| private String[] _algorithmURIs | |
| _attributeCount | back to summary |
|---|---|
| private int _attributeCount | |
| _names | back to summary |
|---|---|
| private QualifiedName[] _names | |
| _registeredEncodingAlgorithms | back to summary |
|---|---|
| private Map<String, EncodingAlgorithm> _registeredEncodingAlgorithms | |
| _values | back to summary |
|---|---|
| private String[] _values | |
| DEFAULT_CAPACITY | back to summary |
|---|---|
| private static final int DEFAULT_CAPACITY | |
| AttributesHolder | back to summary |
|---|---|
| public AttributesHolder() | |
| AttributesHolder | back to summary |
|---|---|
| public AttributesHolder(Map<String, EncodingAlgorithm> registeredEncodingAlgorithms) | |
| addAttribute | back to summary |
|---|---|
| public final void addAttribute(QualifiedName name, String value) | |
| addAttributeWithAlgorithmData | back to summary |
|---|---|
| public final void addAttributeWithAlgorithmData(QualifiedName name, String URI, int id, Object data) | |
| clear | back to summary |
|---|---|
| public final void clear() | |
| convertEncodingAlgorithmDataToString | back to summary |
|---|---|
| private StringBuilder convertEncodingAlgorithmDataToString(int identifier, String URI, Object data) throws FastInfosetException, IOException | |
| getAlgorithmData | back to summary |
|---|---|
| public final Object getAlgorithmData(int index) Implements org. Doc from org. Return the data of the encoding algorithm. If the algorithm data corresponds to a built-in encoding algorithm then an Object corresponding to the Java primitive type is returned. If the algorithm data corresponds to an application-defined encoding
algorithm then an Object that is an instance of If there no encoding algorithm data associated an attribute then
| |
| getAlgorithmIndex | back to summary |
|---|---|
| public final int getAlgorithmIndex(int index) Implements org. Doc from org. Return the index of the encoding algorithm. If
| |
| getAlgorithmURI | back to summary |
|---|---|
| public final String getAlgorithmURI(int index) Implements org. Doc from org. Return the URI of the encoding algorithm. If the algorithm data corresponds to a built-in encoding algorithm then the null is returned. If the algorithm data corresponds to an application-defined encoding algorithm then the URI of the algorithm is returned. If
| |
| getAlpababet | back to summary |
|---|---|
| public String getAlpababet(int index) Implements org. Doc from org. Return the alphabet associated with the attribute value.
| |
| getIndex | back to summary |
|---|---|
| public final int getIndex(String qName) Implements org. Doc from org. Look up the index of an attribute by XML qualified (prefixed) name.
| |
| getIndex | back to summary |
|---|---|
| public final int getIndex(String uri, String localName) Implements org. Doc from org. Look up the index of an attribute by Namespace name.
| |
| getLength | back to summary |
|---|---|
| public final int getLength() Implements org. Doc from org. Return the number of attributes in the list. Once you know the number of attributes, you can iterate through the list.
| |
| getLocalName | back to summary |
|---|---|
| public final String getLocalName(int index) Implements org. Doc from org. Look up an attribute's local name by index.
| |
| getPrefix | back to summary |
|---|---|
| public final String getPrefix(int index) | |
| getQName | back to summary |
|---|---|
| public final String getQName(int index) Implements org. Doc from org. Look up an attribute's XML qualified (prefixed) name by index.
| |
| getQualifiedName | back to summary |
|---|---|
| public final QualifiedName getQualifiedName(int index) | |
| getToIndex | back to summary |
|---|---|
| public boolean getToIndex(int index) Implements org. Doc from org. Return the whether the attribute value should be indexed or not.
| |
| getType | back to summary |
|---|---|
| public final String getType(int index) Implements org. Doc from org. Look up an attribute's type by index. 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 Recommendation (clause 3.3.3, "Attribute-Value Normalization"). For an enumerated attribute that is not a notation, the parser will report the type as "NMTOKEN".
| |
| getType | back to summary |
|---|---|
| public final String getType(String qName) Implements org. Doc from org. Look up an attribute's type by XML qualified (prefixed) name. See
| |
| getType | back to summary |
|---|---|
| public final String getType(String uri, String localName) Implements org. Doc from org. Look up an attribute's type by Namespace name. See
| |
| getURI | back to summary |
|---|---|
| public final String getURI(int index) Implements org. Doc from org. Look up an attribute's Namespace URI by index.
| |
| getValue | back to summary |
|---|---|
| public final String getValue(int index) Implements org. Doc from org. Look up an attribute's value by index. If the attribute value is a list of tokens (IDREFS, ENTITIES, or NMTOKENS), the tokens will be concatenated into a single string with each token separated by a single space.
| |
| getValue | back to summary |
|---|---|
| public final String getValue(String qName) Implements org. Doc from org. Look up an attribute's value by XML qualified (prefixed) name. See
| |
| getValue | back to summary |
|---|---|
| public final String getValue(String uri, String localName) Implements org. Doc from org. Look up an attribute's value by Namespace name. See
| |
| resize | back to summary |
|---|---|
| private void resize() | |