public class FacesConfigInfo extends Object
Wrapper around the /WEB-INF/faces-config.xml
, if present,
to expose information relevant to the intialization of the runtime.
Constructor and Description |
---|
FacesConfigInfo(DocumentInfo documentInfo)
Creates a new
WebInfFacesConfig document based
on the provided Document . |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAbsoluteOrdering() |
boolean |
isMetadataComplete() |
boolean |
isVersionGreaterOrEqual(double version) |
boolean |
isWebInfFacesConfig() |
public FacesConfigInfo(DocumentInfo documentInfo)
WebInfFacesConfig
document based
on the provided Document
. If the Document
does not represent the WEB-INF/faces-config.xml
the
isWebInfFacesConfig()
method will return false
documentInfo
- DocumentInfo representing the /WEB-INF/faces-config.xml
public boolean isVersionGreaterOrEqual(double version)
version
- version to checktrue
if version
is greater or
equal to the version of the /WEB-INF/faces-config.xml
public boolean isWebInfFacesConfig()
true
if the Document
provided at
construction time represents the /WEB-INF/faces-config.xml
.public boolean isMetadataComplete()
true
if the Document
provided at
construction time represents the /WEB-INF/faces-config.xml and is
metadata complete.
public List<String> getAbsoluteOrdering()
List
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.Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.