|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FacesLibraryFragment
The representation of a config file in the
FacesRegistry
.
It is a grouping of FacesDefinition
s and
FacesRenderKitFragment
s, and some metaData,
namely the filePath to the config file relative to the project root, the
namespace of all of the tags in the file, and the (optional) default prefix
associated with that namespace.
Method Summary | |
---|---|
java.lang.String |
getDefaultPrefix()
Returns any default namespace prefix defined in this FacesLibraryFragment. |
FacesDefinition |
getDefinition(java.lang.String id)
Returns the FacesDefinition with the specified id, or null if nor found. |
java.util.List<FacesDefinition> |
getDefs()
Returns all of the FacesDefinition s registered in this file. |
java.lang.String |
getFilePath()
The file path to the config file used to load this fragment. |
java.lang.String |
getNamespaceUri()
|
FacesProject |
getProject()
The project this FacesLibraryFragment is contained in. |
FacesRenderKitFragment |
getRenderKitFragment(java.lang.String renderKitId)
Returns the only FacesRenderKitFragment with the specified
renderKitId. |
java.util.List<java.lang.String> |
getRenderKitIds()
Returns the renderKitIds of all the FacesRenderKitFragment s in this file. |
Methods inherited from interface com.ibm.xsp.registry.FacesExtensibleNode |
---|
getExtension, setExtension |
Methods inherited from interface com.ibm.xsp.registry.FacesReferenceContainer |
---|
refreshReferences |
Method Detail |
---|
java.util.List<FacesDefinition> getDefs()
FacesDefinition
s registered in this file. It
does not include the definitions in the FacesRenderKitFragment
s.
Note, the definitions are unique by id. (See
FacesDefinition.getId()
and getRenderKitFragment(String)
)
FacesDefinition
s.java.util.List<java.lang.String> getRenderKitIds()
FacesRenderKitFragment
s in this file.
FacesRenderKitFragment getRenderKitFragment(java.lang.String renderKitId)
FacesRenderKitFragment
with the specified
renderKitId. (See FacesRenderKitFragment.getRenderKitId()
.)
java.lang.String getFilePath()
FacesProject
. It
can be passed to
PageFileSystem.getFile(String)
to
retrieve the file used to load this fragment. The config file used to
load this library fragment needs to be located within this project's
pageFileSystem.
java.lang.String getNamespaceUri()
java.lang.String getDefaultPrefix()
FacesProject getProject()
null
.
FacesDefinition getDefinition(java.lang.String id)
FacesDefinition.getId()
id
- the id of the FacesDefinition to search for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |