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 String
PROCESS_AS_HTML5
static String
PROCESS_AS_XHTML
static String
PROCESS_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 FaceletsProcessingInstructions
getProcessingInstructions(String processAs)
static FaceletsProcessingInstructions
getProcessingInstructions(String processAs, boolean compressSpaces)
boolean
isCompressSpaces()
boolean
isConsumeCDataSections()
boolean
isConsumeProcessingInstructions()
boolean
isConsumeXMLComments()
boolean
isConsumeXmlDeclaration()
boolean
isConsumeXmlDocType()
boolean
isEscapeInlineText()
boolean
isHtml5Doctype()
boolean
isSwallowCDataContent()
-
-
-
Field Detail
-
PROCESS_AS_HTML5
public static final String PROCESS_AS_HTML5
- 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()
-
-