public interface IMarkupFragment extends Iterable<MarkupElement>
Markup
,
MarkupFragment
,
MarkupElement
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
find(String id)
Find the markup fragment of the component with 'path'
|
MarkupElement |
get(int index)
Get the MarkupElement at the index provided.
|
MarkupResourceStream |
getMarkupResourceStream()
Get the underlying markup resource stream, which might contain more than just the markup
portion represented by the IMarkupFragment.
|
int |
size()
The number of markup elements.
|
String |
toString(boolean markupOnly) |
MarkupElement get(int index)
index
- Index into markup listIndexOutOfBoundsException
- if the index is out of range (index < 0 || index >= size())MarkupResourceStream getMarkupResourceStream()
int size()
IMarkupFragment find(String id)
id
- The component's id to search forString toString(boolean markupOnly)
markupOnly
- True if only the markup shall be returnedCopyright © 2006–2016 Apache Software Foundation. All rights reserved.