@@ -17,7 +17,6 @@ namespace iText.Kernel.Pdf.Tagutils {
1717 /// </p>
1818 /// <p>
1919 /// Waiting state of tags is defined by the association with arbitrary objects instances.
20- /// This mapping is one to one: for every waiting tag there is always exactly one associated object.
2120 /// </p>
2221 /// Waiting state could also be perceived as a temporal association of the object to some particular tag.
2322 /// </remarks>
@@ -115,29 +114,16 @@ public virtual bool TryMovePointerToWaitingTag(TagTreePointer tagPointer, Object
115114 return false ;
116115 }
117116
118- /// <summary>
119- /// Gets an object that is associated with the tag (if there is one) at which given
120- /// <see cref="TagTreePointer"/>
121- /// points.
122- /// Essentially, this method could be used as indication that current tag has waiting state.
123- /// </summary>
124- /// <param name="pointer">
125- /// a
126- /// <see cref="TagTreePointer"/>
127- /// which points at the tag for which associated object is to be retrieved.
128- /// </param>
129- /// <returns>
130- /// an object that is associated with the tag at which given
131- /// <see cref="TagTreePointer"/>
132- /// points, or null if
133- /// current tag of the
134- /// <see cref="TagTreePointer"/>
135- /// is not a waiting tag.
136- /// </returns>
137- public virtual Object GetAssociatedObject ( TagTreePointer pointer ) {
138- return GetObjForStructDict ( pointer . GetCurrentStructElem ( ) . GetPdfObject ( ) ) ;
139- }
140-
117+ // /**
118+ // * Gets an object that is associated with the tag (if there is one) at which given {@link TagTreePointer} points.
119+ // * Essentially, this method could be used as indication that current tag has waiting state.
120+ // * @param pointer a {@link TagTreePointer} which points at the tag for which associated object is to be retrieved.
121+ // * @return an object that is associated with the tag at which given {@link TagTreePointer} points, or null if
122+ // * current tag of the {@link TagTreePointer} is not a waiting tag.
123+ // */
124+ // public Object getAssociatedObject(TagTreePointer pointer) {
125+ // return getObjForStructDict(pointer.getCurrentStructElem().getPdfObject());
126+ // }
141127 /// <summary>Removes waiting state of the tag which is associated with the given object.</summary>
142128 /// <remarks>
143129 /// Removes waiting state of the tag which is associated with the given object.
0 commit comments