dev@fi.java.net

Re: AttributesHolder

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 28 Feb 2005 09:26:19 +0100

Alan Hudson wrote:
> Its not clear how one determines whether an Attribute has Alogrithm
> data. Might just be a docs issue. Ie should you call
> getAlgorithmData() and check if its null? or an index of -1 on
> getAlgorithmIndex
>
> In the code for AttributeHolder it seems the null check on AlgorithmData
> would work.

Just updated the JavaDoc of:

  org.jvnet.fastinfoset.sax.EncodingAlgorithmAttributes

to state the retuning of null for getAlgorithmData.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109