|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeInfo
Interface that specifies additional access methods for accessing combined attribute information reader has, after parsing individual and combining that with DTD information (if any available; depends on parser's mode).
Note: instances of AttributeInfo are only guaranteed to persist as long as the (stream) reader points to the START_ELEMENT event, during which attribute information was parsed. It is possible that some implementations persist instances afterwards, but it's equally possible that instances get reused, and as such information may change.
Method Summary | |
---|---|
int |
findAttributeIndex(java.lang.String nsURI,
java.lang.String localName)
|
int |
getAttributeCount()
|
int |
getIdAttributeIndex()
Returns the index of the id attribute (attribute with any name, type ID from DTD) of current (start) element, if any. |
int |
getNotationAttributeIndex()
Returns the index of the notation attribute (attribute with any name, type NOTATION from DTD) of current (start) element, if any. |
Method Detail |
---|
int getAttributeCount()
int findAttributeIndex(java.lang.String nsURI, java.lang.String localName)
int getIdAttributeIndex()
int getNotationAttributeIndex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |