|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.Markup
public class Markup
A list of markup elements associated with a Markup. Might be all elements of a markup resource, might be just the elements associated with a specific tag.
MarkupResourceData
,
MarkupElement
,
ComponentTag
,
RawMarkup
Field Summary | |
---|---|
static Markup |
NO_MARKUP
Placeholder that indicates no markup |
Method Summary | |
---|---|
void |
addMarkupElement(int pos,
MarkupElement markupElement)
Add a MarkupElement |
void |
addMarkupElement(MarkupElement markupElement)
Add a MarkupElement |
boolean |
equalTo(Markup that)
|
int |
findComponentIndex(java.lang.String path,
java.lang.String id)
Find the markup element index of the component with 'path' |
MarkupElement |
get(int index)
For Wicket it would be sufficient for this method to be package protected. |
MarkupResourceData |
getMarkupResourceData()
Gets the associate markup |
protected void |
initialize()
Initialize the index where wicket tags can be found |
java.lang.String |
locationAsString()
Allowing the markup to return its own location allows special types of Markup (i.e. |
int |
size()
For Wicket it would be sufficient for this method to be package protected. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Markup NO_MARKUP
Method Detail |
---|
public final MarkupElement get(int index)
index
- Index into markup list
public final MarkupResourceData getMarkupResourceData()
public java.lang.String locationAsString()
public int size()
public final void addMarkupElement(MarkupElement markupElement)
markupElement
- public final void addMarkupElement(int pos, MarkupElement markupElement)
pos
- markupElement
- public int findComponentIndex(java.lang.String path, java.lang.String id)
path
- The component path expressionid
- The component's id to search for
public boolean equalTo(Markup that)
that
- The markup to compare with
protected void initialize()
public final java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |