ITemplateContainer
, ITemplatePanel
, IXHTMLPanel
RequestWizard
, TemplateButtonPanel
, TemplatePanel
, TemplateWizard
, XHTMLPanel
public interface IDocumentContainer
XHTMLPanel
methods related to the Document
.Modifier and Type | Method | Description |
---|---|---|
Document |
getDocument() |
|
String |
getDocumentTitle() |
Returns the title as reported by the NamespaceHandler assigned to the SharedContext in this panel.
|
URL |
getURL() |
|
void |
reloadDocument(String URI) |
Reloads the document using the same base URL and namespace handler.
|
void |
reloadDocument(Document doc) |
Reloads the document using the same base URL and namespace handler.
|
void |
setDocument(File file) |
Renders a Document read from an InputStream using a URL
as a base URL for relative paths.
|
void |
setDocument(InputStream stream,
String url) |
Renders a Document read from an InputStream using a URL
as a base URL for relative paths.
|
void |
setDocument(InputStream stream,
String url,
org.xhtmlrenderer.extend.NamespaceHandler nsh) |
|
void |
setDocument(String uri) |
Loads and renders a Document given a uri.
|
void |
setDocument(String url,
org.xhtmlrenderer.extend.NamespaceHandler nsh) |
|
void |
setDocument(Document doc) |
Renders an XML Document instance.
|
void |
setDocument(Document doc,
String url) |
Renders a Document using a URL as a base URL for relative
paths.
|
void |
setDocumentFromString(String content,
String url,
org.xhtmlrenderer.extend.NamespaceHandler nsh) |
void setDocument(String uri)
uri
- void setDocument(Document doc)
doc
- The document to render.void setDocument(Document doc, String url)
doc
- The new document valueurl
- The new document valuevoid setDocument(InputStream stream, String url) throws Exception
stream
- The stream to read the Document from.url
- The URL used to resolve relative path references.Exception
void setDocument(InputStream stream, String url, org.xhtmlrenderer.extend.NamespaceHandler nsh)
void setDocumentFromString(String content, String url, org.xhtmlrenderer.extend.NamespaceHandler nsh)
void setDocument(String url, org.xhtmlrenderer.extend.NamespaceHandler nsh)
void reloadDocument(String URI)
URI
- A URI for the Document to load, for example, file.toURL().toExternalForm().void reloadDocument(Document doc)
doc
- The document to reload.URL getURL()
Document getDocument()
String getDocumentTitle()
Copyright © 2010-2018 Nikhef / Stichting FOM. All Rights Reserved.