EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.template
Interface TemplateCompilerHints

All Known Implementing Classes:
SimpleTemplateCompilerHints

public interface TemplateCompilerHints

TemplateCompilerHints is used to indicate to the underlying templating compiler mechanism information about how it should compile the templaet data.

Most of the TemplateCompilerHints properties are really aimed as JAXP XML parser implementations but you can provide generic values via the getAttribute() mechanism.


Method Summary
 String[] getAttributeNames()
           
 Object getAttributeValue(String attributeName)
          Allows the system to retrieve specific attributes on the underlying XHTML parser implementation by attribute name.
 boolean isCoalescing()
           
 boolean isExpandEntityReferences()
           
 boolean isIgnoringComments()
           
 boolean isIgnoringElementContentWhitespace()
           
 boolean isNamespaceAware()
           
 boolean isValidating()
           
 

Method Detail

isCoalescing

boolean isCoalescing()
Returns:
Indicates whether or not the factory is configured to produce parsers which converts CDATA nodes to Text nodes and appends it to the adjacent (if any) Text node.

isExpandEntityReferences

boolean isExpandEntityReferences()
Returns:
Indicates whether or not to use XHTML parsers which expand entity reference nodes.

isIgnoringComments

boolean isIgnoringComments()
Returns:
Indicates whether or not to use XHTML parsers which ignores comments.

isIgnoringElementContentWhitespace

boolean isIgnoringElementContentWhitespace()
Returns:
Indicates whether or not to use XHTML parsers which ignore ignorable whitespace in element content.

isNamespaceAware

boolean isNamespaceAware()
Returns:
Indicates whether or not to use XHTML parsers which are namespace aware.

isValidating

boolean isValidating()
Returns:
Indicates whether or not to use XHTML parsers which validate the XHTML content during parse.

getAttributeNames

String[] getAttributeNames()
Returns:
Allows the system to retrieve all the specific attributes to be set into the underlying XHTML parser implementation. if there are no attributes is should return a String[0] array as oppsoed to null.

getAttributeValue

Object getAttributeValue(String attributeName)
Allows the system to retrieve specific attributes on the underlying XHTML parser implementation by attribute name. The name should have been provided in the getAttributeNames() method.

Parameters:
attributeName - - the name of the specific attribute
Returns:
the value for that attribute name

EchoPoint API - 3.0.0b5
App Webcontainer