public interface Content
Modifier and Type | Method and Description |
---|---|
void |
addProperty(java.lang.String name,
java.lang.String value)
Manually add a property to page.
|
java.lang.String |
getProperty(java.lang.String name)
Get a property embedded into the
Page as a String . |
java.lang.String[] |
getPropertyKeys()
Get all available property keys for the
Page . |
java.lang.String |
getTitle()
Get the Title of the document
|
void |
writeBody(java.io.Writer out)
Write the contents of the
<body> tag. |
void |
writeHead(java.io.Writer out)
Write the contents of the
<head> tag. |
void |
writeOriginal(java.io.Writer writer)
Write out the original unprocessed content.
|
void writeOriginal(java.io.Writer writer) throws java.io.IOException
java.io.IOException
void writeBody(java.io.Writer out) throws java.io.IOException
<body>
tag.java.io.IOException
void writeHead(java.io.Writer out) throws java.io.IOException
<head>
tag.java.io.IOException
java.lang.String getTitle()
java.lang.String getProperty(java.lang.String name)
Page
as a String
.name
- Name of propertyjava.lang.String[] getPropertyKeys()
Page
.void addProperty(java.lang.String name, java.lang.String value)