|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwicket.markup.Markup
public class Markup
Holds markup as a resource (the stream that the markup came from) and a list of MarkupElements (the markup itself).
MarkupElement,
ComponentTag,
RawMarkup| Field Summary | |
|---|---|
static Markup |
NO_MARKUP
Placeholder that indicates no markup |
| Method Summary | |
|---|---|
void |
addMarkupElement(MarkupElement markupElement)
Add a MarkupElement |
java.util.Iterator |
componentTagIterator(int startIndex,
java.lang.Class matchClass)
Create an iterator for the component tags in the markup. |
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. |
java.lang.String |
getEncoding()
Gets the markup encoding. |
java.lang.String |
getWicketNamespace()
Get the wicket namespace valid for this specific markup |
java.lang.String |
getXmlDeclaration()
Return the XML declaration string, in case if found in the markup. |
protected void |
initialize()
Initialize the index where can be found. |
void |
setWicketNamespace(java.lang.String wicketNamespace)
Sets wicketNamespace. |
int |
size()
For Wicket it would be sufficient for this method to be package protected. |
java.lang.String |
toDebugString()
|
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 |
|---|
protected void initialize()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toDebugString()
public MarkupElement get(int index)
index - Index into markup list
public int size()
public java.lang.String getXmlDeclaration()
public java.lang.String getEncoding()
public java.lang.String getWicketNamespace()
public int findComponentIndex(java.lang.String path,
java.lang.String id)
path - The component path expressionid - The component's id to search for
public final void setWicketNamespace(java.lang.String wicketNamespace)
wicketNamespace - wicketNamespacepublic final void addMarkupElement(MarkupElement markupElement)
markupElement -
public java.util.Iterator componentTagIterator(int startIndex,
java.lang.Class matchClass)
startIndex - The index to start withmatchClass - Iterate over elements matching the class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||