Implementations shall ensure that the Attributes#getValue(int) method
correctly returns a String object even if the attribute is represented
as algorithm data.
If an attribute has algorithm data then the getAlgorithmData method
shall return a non null value.
org.jvnet.fastinfoset.sax.FastInfosetReader , org.xml.sax.XMLReader
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: The data. If the index is out of range then null is returned.The attribute index (zero-based). index)Return the data of the encoding algorithm. |
| public int | Returns: The algorithm index. If index is out of range then -1 is returned.The attribute index (zero-based). index)Return the index of the encoding algorithm. |
| public String | Returns: The URI. If the index is out of range then null is returned.The attribute index (zero-based). index)Return the URI of the encoding algorithm. |
| public String | Returns: The alphabet. If the index is out of range then null is returned. If there is is no alphabet then null is returned.The attribute index (zero-based). index)Return the alphabet associated with the attribute value. |
| public boolean | Returns: True if attribute value should be indexed, otherwise false.The attribute index (zero-based). index)Return the whether the attribute value should be indexed or not. |
| getAlgorithmData | back to summary |
|---|---|
| public Object getAlgorithmData(int index) 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 int getAlgorithmIndex(int index) Return the index of the encoding algorithm. If
| |
| getAlgorithmURI | back to summary |
|---|---|
| public String getAlgorithmURI(int index) 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) Return the alphabet associated with the attribute value.
| |
| getToIndex | back to summary |
|---|---|
| public boolean getToIndex(int index) Return the whether the attribute value should be indexed or not.
| |