| Package | ch.capi.core |
| Class | public class ApplicationFileParser |
ApplicationFile objects. The XMLSchema and a XML validator can be found
here.
See also
| Property | Defined by | ||
|---|---|---|---|
| applicationContext : ApplicationContext
Defines the
ApplicationContext. | ApplicationFileParser | ||
| loadableFileFactory : LoadableFileFactory
Defines the
LoadableFileFactory to use to create the ILoadableFile objects. | ApplicationFileParser | ||
| Method | Defined by | ||
|---|---|---|---|
|
ApplicationFileParser(loadableFileFactory:LoadableFileFactory = null, context:ApplicationContext = null)
Creates a new
ApplicationFileParser object. | ApplicationFileParser | ||
|
parse(node:XMLNode):void
Parse the specified
XMLNode. | ApplicationFileParser | ||
|
parseDependencies(node:XMLNode):void
Parses the
ApplicationFile dependencies of the specified XMLNode. | ApplicationFileParser | ||
|
parseFiles(node:XMLNode):void
Parses the
ApplicationFile of the specified XMLNode. | ApplicationFileParser | ||
| Method | Defined by | ||
|---|---|---|---|
|
createApplicationFile(node:XMLNode):ApplicationFile
Creates a
ApplicationFile from the XMLNode. | ApplicationFileParser | ||
|
createLoadableFile(url:String, type:String = null):ILoadableFile
Creates a
ILoadableFile object. | ApplicationFileParser | ||
|
initializeLoadableFile(file:ILoadableFile):void
Initialize the
ILoadableFile. | ApplicationFileParser | ||
| applicationContext | property |
applicationContext:ApplicationContext [read-write]
Defines the ApplicationContext.
public function get applicationContext():ApplicationContext
public function set applicationContext(value:ApplicationContext):void
| loadableFileFactory | property |
loadableFileFactory:LoadableFileFactory [read-write]
Defines the LoadableFileFactory to use to create the ILoadableFile objects.
public function get loadableFileFactory():LoadableFileFactory
public function set loadableFileFactory(value:LoadableFileFactory):void
| ApplicationFileParser | () | constructor |
public function ApplicationFileParser(loadableFileFactory:LoadableFileFactory = null, context:ApplicationContext = null)
Creates a new ApplicationFileParser object.
loadableFileFactory:LoadableFileFactory (default = null) — The LoadableFileFactory.
|
|
context:ApplicationContext (default = null) — The ApplicationContext. If not defined, then the global ApplicationContext
will be used.
|
| createApplicationFile | () | method |
protected function createApplicationFile(node:XMLNode):ApplicationFile
Creates a ApplicationFile from the XMLNode.
node:XMLNode — The XMLNode to parse.
|
ApplicationFile —
The created ApplicationFile.
|
| createLoadableFile | () | method |
protected function createLoadableFile(url:String, type:String = null):ILoadableFile
Creates a ILoadableFile object.
url:String — The url.
|
|
type:String (default = null) — The type issued from the LoadableFileFactory constants.
|
ILoadableFile —
The ILoadableFile created.
|
| initializeLoadableFile | () | method |
protected function initializeLoadableFile(file:ILoadableFile):void
Initialize the ILoadableFile. This method initialize the virtualBytesTotal,
useCache and netState values if they are defined into the properties
map of the ILoadableFile.
file:ILoadableFile — The ILoadableFile to initialize.
|
| parse | () | method |
public function parse(node:XMLNode):void
Parse the specified XMLNode.
node:XMLNode — The XMLNode to parse.
|
| parseDependencies | () | method |
public function parseDependencies(node:XMLNode):void
Parses the ApplicationFile dependencies of the specified XMLNode.
node:XMLNode — The XMLNode.
|
| parseFiles | () | method |
public function parseFiles(node:XMLNode):void
Parses the ApplicationFile of the specified XMLNode.
node:XMLNode — The XMLNode.
|