com.ibm.wbi.protocol.http.beans
Class TagAnnotationEditor.TagInfo
java.lang.Object
|
+--com.ibm.wbi.protocol.http.beans.TagAnnotationEditor.TagInfo
- Enclosing class:
- TagAnnotationEditor
- protected class TagAnnotationEditor.TagInfo
- extends java.lang.Object
A class for containing the relevant information for a particular tag in an Html document.
Any of these fields may be changed by the implementor of editTag(TagInfo).
|
Field Summary |
HtmlTag |
endTag
Ending tag or null if not an environment |
java.lang.String |
postTag
Contains text that comes after the environment (e.g., tag structure). |
java.lang.String |
preTag
Contains text that goes before the environment (e.g., tag structure). |
HtmlTag |
startTag
The starting tag --- or the only tag if this is not an environment |
java.lang.String |
text
Text between starting tag and end tag --- or null not an environment |
|
Method Summary |
java.lang.String |
toString()
Make the string representation of this object -- suitable for writing to stream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
preTag
public java.lang.String preTag
- Contains text that goes before the environment (e.g., tag structure).
startTag
public HtmlTag startTag
- The starting tag --- or the only tag if this is not an environment
text
public java.lang.String text
- Text between starting tag and end tag --- or null not an environment
endTag
public HtmlTag endTag
- Ending tag or null if not an environment
postTag
public java.lang.String postTag
- Contains text that comes after the environment (e.g., tag structure).
TagAnnotationEditor.TagInfo
protected TagAnnotationEditor.TagInfo()
toString
public java.lang.String toString()
- Make the string representation of this object -- suitable for writing to stream
- Overrides:
toString in class java.lang.Object
- Returns:
- The tag structure including pre and post texts as String representation.