public interface AttributeInfo
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.
Modifier and Type | Method and Description |
---|---|
int |
findAttributeIndex(String nsURI,
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.
|
int getAttributeCount()
int findAttributeIndex(String nsURI, String localName)
int getIdAttributeIndex()
int getNotationAttributeIndex()
Copyright © 2015 fasterxml.com. All Rights Reserved.