java.lang.Object
org.apache.wicket.page.PartialPageUpdate
org.apache.wicket.page.XmlPartialPageUpdate
A
PartialPageUpdate
that serializes itself to XML.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.page.PartialPageUpdate
PartialPageUpdate.ResponseBuffer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
The name of the root element in the produced XML document.Fields inherited from class org.apache.wicket.page.PartialPageUpdate
appendJavaScripts, bodyBuffer, componentsFrozen, domReadyJavaScripts, header, headerBuffer, javascriptsFrozen, markupIdToComponent, prependJavaScripts
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CharSequence
encode
(CharSequence str) void
setContentType
(WebResponse response, String encoding) Sets the Content-Type header to indicate the type of the response.protected void
writeComponent
(Response response, String markupId, CharSequence contents) Writes a component to the response.protected void
writeEvaluation
(Response response, CharSequence contents) Write evaluation.protected void
writeFooter
(Response response, String encoding) protected void
writeHeader
(Response response, String encoding) Writes the head part of the response.protected void
writeHeaderContribution
(Response response, CharSequence contents) Writes a header contribution to the response.protected void
writePriorityEvaluation
(Response response, CharSequence contents) Write priority-evaluation.Methods inherited from class org.apache.wicket.page.PartialPageUpdate
add, appendJavaScript, containsAncestorFor, containsPage, detach, equals, getComponents, getHeaderResponse, hashCode, isEmpty, onAfterRespond, onBeforeRespond, prepareComponent, prependJavaScript, writeComponent, writeEvaluations, writeHeaderContribution, writePriorityEvaluations, writeTo
-
Field Details
-
START_ROOT_ELEMENT
The name of the root element in the produced XML document.- See Also:
-
END_ROOT_ELEMENT
- See Also:
-
-
Constructor Details
-
XmlPartialPageUpdate
-
-
Method Details
-
setContentType
Description copied from class:PartialPageUpdate
Sets the Content-Type header to indicate the type of the response.- Specified by:
setContentType
in classPartialPageUpdate
- Parameters:
response
- the current we responseencoding
- the encoding to use
-
writeHeader
Description copied from class:PartialPageUpdate
Writes the head part of the response. For example XML preamble- Specified by:
writeHeader
in classPartialPageUpdate
- Parameters:
response
- the response to write toencoding
- the encoding for the response
-
writeComponent
Description copied from class:PartialPageUpdate
Writes a component to the response.- Specified by:
writeComponent
in classPartialPageUpdate
- Parameters:
response
- the response to write tocontents
- the contents
-
writePriorityEvaluation
Description copied from class:PartialPageUpdate
Write priority-evaluation.- Specified by:
writePriorityEvaluation
in classPartialPageUpdate
-
writeHeaderContribution
Description copied from class:PartialPageUpdate
Writes a header contribution to the response.- Specified by:
writeHeaderContribution
in classPartialPageUpdate
- Parameters:
response
- the response to write tocontents
- the contents
-
writeEvaluation
Description copied from class:PartialPageUpdate
Write evaluation.- Specified by:
writeEvaluation
in classPartialPageUpdate
-
encode
-