java.lang.Object | |
↳ | com.microstrategy.web.blocks.BlockRegistry |
This class represents a collection of Blocks (likely parsed from an input library configuration file).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Iterator<String> |
getBlockModes(String name)
Returns the list of modes that have some assignments associated
with them.
| ||||||||||
Iterator<String> |
getBlockNames()
Return a list of block names in this Registry.
| ||||||||||
Exception |
getException()
Get the Exception object that was raised while parsing the XML
text.
| ||||||||||
List<File> |
getIncludedBlockDirectories()
Returns a list of Block directories that have been included into
this registry.
| ||||||||||
List<File> |
getIncludedBlockFiles()
Returns a list of Block files that have been included into this
registry.
| ||||||||||
boolean |
hasException()
Whether there were an exception encountered while parsing the
Library.
| ||||||||||
static BlockRegistry |
loadConfigurationFile(String srcLocation, MessageRouter msgRouter)
Loads the configuration content from the given srcLocation file and returns a
Block Registry object that contains all Blocks defined in it.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the list of modes that have some assignments associated with them.
name | The name of the Block to inspect. |
---|
Exception | If the name is null, empty or does not refer to a Block registered with this factory. |
---|
Return a list of block names in this Registry.
Get the Exception object that was raised while parsing the XML text.
Returns a list of Block directories that have been included into this registry.
Returns a list of Block files that have been included into this registry.
Whether there were an exception encountered while parsing the Library.
Loads the configuration content from the given srcLocation file and returns a Block Registry object that contains all Blocks defined in it.
srcLocation | The originating location of the configuration XML. |
---|---|
msgRouter | The DefaultMessageRouter to use report
errors and warnings during loading and parsing. |
BlockRegistry
that can be associated
with a BlockFactory instance.