ColdBox Platform Version 2.6.3

coldbox.system.plugins
Class XMLParser

WEB-INF.cftags.component
        extended by coldbox.system.frameworkSupertype
            extended by coldbox.system.plugin
                extended by coldbox.system.plugins.XMLParser

public class XMLParser
extends plugin

This is the XML Parser plugin for the framework. It takes care of any XML parsing for the framework's usage.


Constructor Summary
init(any controller)
          Constructor
 
Method Summary
private void debugPanelAttributeInsert(struct Config, string Panel, any PanelXML)
          Insert a key into a panel attribute
private string getAbsolutePath(string path)
          Turn any system path, either relative or absolute, into a fully qualified one
 struct loadFramework([string overrideConfigFile=''])
          Load the framework's configuration xml.
 struct parseConfig([string overrideAppMapping=''])
          Parse the application configuration file.
private string readFile(String FileToRead)
          Facade to Read a file's content
 
Methods inherited from class coldbox.system.plugin
getPluginDescription, getPluginName, getPluginVersion, getpluginPath, setPluginDescription, setPluginName, setPluginVersion
 
Methods inherited from class coldbox.system.frameworkSupertype
abort, announceInterception, dump, getColdboxOCM, getDatasource, getDebugMode, getHash, getInstance, getInterceptor, getMailSettings, getModel, getMyPlugin, getPlugin, getResource, getSetting, getSettingStructure, getSettingsBean, getcontroller, getfwLocale, htmlhead, include, includeUDF, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderView, rethrowit, runEvent, setDebugMode, setNextEvent, setNextRoute, setSetting, setcontroller, settingExists, throw
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any controller)

Method Detail

debugPanelAttributeInsert

private void debugPanelAttributeInsert(struct Config, string Panel, any PanelXML)
Insert a key into a panel attribute

Parameters:
Config -
Panel -
PanelXML -

getAbsolutePath

private string getAbsolutePath(string path)
Turn any system path, either relative or absolute, into a fully qualified one

Parameters:
path - Abstract pathname

loadFramework

public struct loadFramework([string overrideConfigFile=''])
Load the framework's configuration xml.

Parameters:
overrideConfigFile - Only used for unit testing or reparsing of a specific coldbox config file.

parseConfig

public struct parseConfig([string overrideAppMapping=''])
Parse the application configuration file.

Parameters:
overrideAppMapping - Only used for unit testing or reparsing of a specific coldbox config file.

readFile

private string readFile(String FileToRead)
Facade to Read a file's content

Parameters:
FileToRead - The absolute path to the file.

ColdBox Platform Version 2.6.3