Package com.ctc.wstx.util
Class ElementId
java.lang.Object
com.ctc.wstx.util.ElementId
Simple container Object used to store information about id attribute
values, and references to such (as of yet undefined) values.
Instances can be in one of 2 modes: either in fully defined mode, in which case information refers to location where value was defined (ie. we had id as a value of ID type attribute); or in undefined mode, in which case information refers to the first reference.
Note: this class is designed to be used with ElementIdMap,
and as a result has some information specifically needed by the
map implementation (such as collision links).
-
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanidMatches(char[] buf, int start, int len) booleanbooleanprotected voidlinkUndefined(ElementId undefined) voidmarkDefined(Location defLoc) protected voidsetNextColliding(ElementId nextColl) toString()