Exemplo n.º 1
0
 /** Returns the first line to be generated to the output
  * (after evaluation), or null if nothing to generate.
  *
  * <p>For XML devices, it is usually the xml processing instruction:<br/>
  * <code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  *
  * @param page the page used to evaluate EL expressions, if any
  * @since 3.0.0
  */
 public String getFirstLine(Page page) {
   return _firstLine != null ? (String) _firstLine.getValue(_evalr, page) : null;
 }
Exemplo n.º 2
0
 /**
  * Returns the content type (after evaluation), or null to use the device default.
  *
  * @param page the page used to evaluate EL expressions, if any
  * @since 3.0.0
  */
 public String getContentType(Page page) {
   return _contentType != null ? (String) _contentType.getValue(_evalr, page) : null;
 }
Exemplo n.º 3
0
 /**
  * Returns the doc type (&lt;!DOCTYPE&gt;) (after evaluation), or null to use the device default.
  *
  * @param page the page used to evaluate EL expressions, if any
  * @since 3.0.0
  */
 public String getDocType(Page page) {
   return _docType != null ? (String) _docType.getValue(_evalr, page) : null;
 }
Exemplo n.º 4
0
 /**
  * Returns the widget class of the given page, or null if the default is used.
  *
  * @since 5.0.5
  */
 public String getWidgetClass(Page page) {
   return _wgtcls != null ? (String) _wgtcls.getValue(_evalr, page) : null;
 }