XML for Java 2.0.15

com.ibm.xml.framework
Interface AttrPool


public abstract interface AttrPool

Version:
Revision: 42 1.6 src/com/ibm/xml/framework/AttrPool.java, parser, xml4j2, xml4j2_0_15

Method Summary
 int addAttr(Attr attr, int firstAttrIndex)
           
 AttributeList getAttributeList(int attrListIndex)
           
 int getAttrName(int attrIndex)
           
 int getAttType(int attrIndex)
           
 int getAttValue(int attrIndex)
           
 int getFirstAttr(int attrListIndex)
          Returns the index of the first attribute in the specified attribute list or -1 if the index is invalid.
 int getNextAttr(int attrIndex)
          Returns the next index of the specified attribute or -1 if there is no next index.
 boolean isLastAttr(int attrIndex)
           
 boolean isSpecified(int attrIndex)
           
 void releaseAttrList(int attrListIndex)
           
 void reset(ParserState parserState)
           
 AttrPool resetOrCopy(ParserState parserState)
           
 void setIsLastAttr(int attrIndex)
           
 

Method Detail

reset

public void reset(ParserState parserState)

resetOrCopy

public AttrPool resetOrCopy(ParserState parserState)

addAttr

public int addAttr(Attr attr,
                   int firstAttrIndex)
            throws java.lang.Exception

setIsLastAttr

public void setIsLastAttr(int attrIndex)

getAttrName

public int getAttrName(int attrIndex)

getAttType

public int getAttType(int attrIndex)

getAttValue

public int getAttValue(int attrIndex)

isSpecified

public boolean isSpecified(int attrIndex)

isLastAttr

public boolean isLastAttr(int attrIndex)

releaseAttrList

public void releaseAttrList(int attrListIndex)

getAttributeList

public AttributeList getAttributeList(int attrListIndex)

getFirstAttr

public int getFirstAttr(int attrListIndex)
Returns the index of the first attribute in the specified attribute list or -1 if the index is invalid.
Parameters:
attrListIndex - The attribute list index.

getNextAttr

public int getNextAttr(int attrIndex)
Returns the next index of the specified attribute or -1 if there is no next index.
Parameters:
attrIndex - The attribute index.
See Also:
isLastAttr(int)

XML for Java 2.0.15