|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.MarkupElement org.apache.wicket.markup.HtmlSpecialTag
public class HtmlSpecialTag
Field Summary | |
---|---|
protected XmlTag |
xmlTag
The underlying xml tag |
Constructor Summary | |
---|---|
HtmlSpecialTag(XmlTag tag,
IXmlPullParser.HttpTagType httpTagType)
Construct. |
Method Summary | |
---|---|
boolean |
equalTo(MarkupElement element)
This is not an implementation of equals because we don't care about hashCodes for MarkupElements yet. |
boolean |
getFlag(int flag)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. |
IXmlPullParser.HttpTagType |
getHttpTagType()
Gets httpTagType. |
int |
getLength()
Gets the length of the tag in characters. |
int |
getPos()
|
XmlTag.TagType |
getType()
|
XmlTag |
getXmlTag()
|
boolean |
isClose()
|
boolean |
isOpen()
|
boolean |
isOpenClose()
|
void |
onBeforeRender(Component component,
MarkupStream markupStream)
For subclasses to override. |
void |
setFlag(int flag,
boolean set)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. |
CharSequence |
toCharSequence()
|
String |
toString()
Converts this object to a string representation. |
String |
toUserDebugString()
Converts this object to a string representation including useful information for debugging |
void |
writeOutput(Response response,
boolean stripWicketAttributes,
String namespace)
Write the tag to the response |
Methods inherited from class org.apache.wicket.markup.MarkupElement |
---|
closes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final XmlTag xmlTag
Constructor Detail |
---|
public HtmlSpecialTag(XmlTag tag, IXmlPullParser.HttpTagType httpTagType)
tag
- The underlying xml taghttpTagType
- Method Detail |
---|
public final void setFlag(int flag, boolean set)
flag
- The flag to setset
- True to turn the flag on, false to turn it offpublic final boolean getFlag(int flag)
flag
- The flag to test
public final int getLength()
public final int getPos()
XmlTag.getPos()
public final XmlTag.TagType getType()
public final boolean isClose()
XmlTag.isClose()
public final boolean isOpen()
XmlTag.isOpen()
public final boolean isOpenClose()
XmlTag.isOpenClose()
public CharSequence toCharSequence()
toCharSequence
in class MarkupElement
public final String toString()
toString
in class Object
public final void writeOutput(Response response, boolean stripWicketAttributes, String namespace)
response
- The response to write tostripWicketAttributes
- if true, wicket:id are removed from outputnamespace
- Wicket's namespace to usepublic final String toUserDebugString()
toUserDebugString
in class MarkupElement
public final XmlTag getXmlTag()
public boolean equalTo(MarkupElement element)
MarkupElement
equalTo
in class MarkupElement
element
- The markup element to compare with
public void onBeforeRender(Component component, MarkupStream markupStream)
component
- The component that is about to be renderedmarkupStream
- The current amrkup streampublic final IXmlPullParser.HttpTagType getHttpTagType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |