Class FaceletsProcessingInstructions
- java.lang.Object
-
- org.apache.myfaces.view.facelets.compiler.FaceletsProcessingInstructions
-
public final class FaceletsProcessingInstructions extends Object
- Since:
- 2.1.0
- Author:
- Leonardo Uribe
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROCESS_AS_HTML5static StringPROCESS_AS_JSPXstatic StringPROCESS_AS_XHTMLstatic StringPROCESS_AS_XML
-
Constructor Summary
Constructors Constructor Description FaceletsProcessingInstructions(boolean consumeXmlDocType, boolean consumeXmlDeclaration, boolean consumeProcessingInstructions, boolean consumeCDataSections, boolean escapeInlineText, boolean consumeXMLComments, boolean swallowCDataContent)FaceletsProcessingInstructions(boolean consumeXmlDocType, boolean consumeXmlDeclaration, boolean consumeProcessingInstructions, boolean consumeCDataSections, boolean escapeInlineText, boolean consumeXMLComments, boolean swallowCDataContent, boolean compressSpaces)FaceletsProcessingInstructions(boolean consumeXmlDocType, boolean consumeXmlDeclaration, boolean consumeProcessingInstructions, boolean consumeCDataSections, boolean escapeInlineText, boolean consumeXMLComments, boolean swallowCDataContent, boolean compressSpaces, boolean html5Doctype)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FaceletsProcessingInstructionsgetProcessingInstructions(String processAs)static FaceletsProcessingInstructionsgetProcessingInstructions(String processAs, boolean compressSpaces)booleanisCompressSpaces()booleanisConsumeCDataSections()booleanisConsumeProcessingInstructions()booleanisConsumeXMLComments()booleanisConsumeXmlDeclaration()booleanisConsumeXmlDocType()booleanisEscapeInlineText()booleanisHtml5Doctype()booleanisSwallowCDataContent()
-
-
-
Field Detail
-
PROCESS_AS_HTML5
public static final String PROCESS_AS_HTML5
- See Also:
- Constant Field Values
-
PROCESS_AS_JSPX
public static final String PROCESS_AS_JSPX
- See Also:
- Constant Field Values
-
PROCESS_AS_XHTML
public static final String PROCESS_AS_XHTML
- See Also:
- Constant Field Values
-
PROCESS_AS_XML
public static final String PROCESS_AS_XML
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FaceletsProcessingInstructions
public FaceletsProcessingInstructions(boolean consumeXmlDocType, boolean consumeXmlDeclaration, boolean consumeProcessingInstructions, boolean consumeCDataSections, boolean escapeInlineText, boolean consumeXMLComments, boolean swallowCDataContent)
-
FaceletsProcessingInstructions
public FaceletsProcessingInstructions(boolean consumeXmlDocType, boolean consumeXmlDeclaration, boolean consumeProcessingInstructions, boolean consumeCDataSections, boolean escapeInlineText, boolean consumeXMLComments, boolean swallowCDataContent, boolean compressSpaces)
-
FaceletsProcessingInstructions
public FaceletsProcessingInstructions(boolean consumeXmlDocType, boolean consumeXmlDeclaration, boolean consumeProcessingInstructions, boolean consumeCDataSections, boolean escapeInlineText, boolean consumeXMLComments, boolean swallowCDataContent, boolean compressSpaces, boolean html5Doctype)
-
-
Method Detail
-
getProcessingInstructions
public static FaceletsProcessingInstructions getProcessingInstructions(String processAs)
-
getProcessingInstructions
public static FaceletsProcessingInstructions getProcessingInstructions(String processAs, boolean compressSpaces)
-
isConsumeXmlDocType
public boolean isConsumeXmlDocType()
-
isConsumeXmlDeclaration
public boolean isConsumeXmlDeclaration()
-
isConsumeProcessingInstructions
public boolean isConsumeProcessingInstructions()
-
isConsumeCDataSections
public boolean isConsumeCDataSections()
-
isEscapeInlineText
public boolean isEscapeInlineText()
-
isConsumeXMLComments
public boolean isConsumeXMLComments()
-
isSwallowCDataContent
public boolean isSwallowCDataContent()
-
isCompressSpaces
public boolean isCompressSpaces()
- Returns:
- the compressSpaces
-
isHtml5Doctype
public boolean isHtml5Doctype()
-
-