Wrapper around the /WEB-INF/faces-config.xml, if present, to expose information relevant to the
intialization of the runtime.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private List | |
| private final boolean | |
| private static final Logger | |
| private final boolean | |
| private static final String | |
| private static final String | |
| private static final String | |
| private double |
| Access | Constructor and Description |
|---|---|
| public | FacesConfigInfo(DocumentInfo
DocumentInfo representing the documentInfo)/WEB-INF/faces-config.xmlCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public List | Returns: aList of document names that in the order that they should be processed. The presense of the
keyword "others" indicates all documents not explicitly referenced by name in the list should be places in the final
parsing order at same location. If there are multiple documents that aren't named and the others element is present,
the order that these documents are inserted into the final list is unspecified at this time.
|
| private String | |
| private double | Returns: return the value of the version attribute of the provided document. If no version attribute is specified, assume 1.1.document representing document)WEB-INF/faces-config.xml
|
| public boolean | Returns: true if the Document provided at construction time represents the
/WEB-INF/faces-config.xml and is metadata complete.
|
| private boolean | |
| public boolean | Returns: true if version is greater or equal to the version of the
/WEB-INF/faces-config.xmlversion to check version)
|
| public boolean | Returns: true if the Document provided at construction time represents the
/WEB-INF/faces-config.xml.
|
| private boolean | Returns: true if the document represents the /WEB-INF/faces-config.xmlthe document)Document to inspect
|
| ABSOLUTE_ORDERING | back to summary |
|---|---|
| private static final String ABSOLUTE_ORDERING | |
| absoluteOrdering | back to summary |
|---|---|
| private List<String> absoluteOrdering | |
| isWebInfFacesConfig | back to summary |
|---|---|
| private final boolean isWebInfFacesConfig | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| metadataComplete | back to summary |
|---|---|
| private final boolean metadataComplete | |
| NAME | back to summary |
|---|---|
| private static final String NAME | |
| ORDERING | back to summary |
|---|---|
| private static final String ORDERING | |
| OTHERS | back to summary |
|---|---|
| private static final String OTHERS | |
| version | back to summary |
|---|---|
| private double version | |
| FacesConfigInfo | back to summary |
|---|---|
| public FacesConfigInfo(DocumentInfo documentInfo) Creates a new
| |
| extractOrdering | back to summary |
|---|---|
| private void extractOrdering(Document document) | |
| getAbsoluteOrdering | back to summary |
|---|---|
public List
| |
| getNodeText | back to summary |
|---|---|
| private String getNodeText(Node node) Return the textual content, if any, of the provided | |
| getVersion | back to summary |
|---|---|
private double getVersion(Document document)
| |
| isMetadataComplete | back to summary |
|---|---|
public boolean isMetadataComplete()
| |
| isMetadataComplete | back to summary |
|---|---|
| private boolean isMetadataComplete(Document document) | |
| isVersionGreaterOrEqual | back to summary |
|---|---|
public boolean isVersionGreaterOrEqual(double version)
| |
| isWebInfFacesConfig | back to summary |
|---|---|
public boolean isWebInfFacesConfig()
| |
| isWebinfFacesConfig | back to summary |
|---|---|
private boolean isWebinfFacesConfig(Document document)
| |