Packageorg.vostokframework.domain.loading
Classpublic class DataParserRepository
InheritanceDataParserRepository Inheritance Object

description



Public Methods
 MethodDefined By
  
description
DataParserRepository
  
add(type:AssetType, parser:IDataParser):void
description
DataParserRepository
  
clear():void
description
DataParserRepository
  
exists(type:AssetType, parser:IDataParser):Boolean
description
DataParserRepository
  
find(type:AssetType):IList
description
DataParserRepository
  
isEmpty():Boolean
description
DataParserRepository
  
remove(type:AssetType, parser:IDataParser):Boolean
description
DataParserRepository
  
size():int
description
DataParserRepository
  
toString():String
description
DataParserRepository
Constructor Detail
DataParserRepository()Constructor
public function DataParserRepository()

description

Method Detail
add()method
public function add(type:AssetType, parser:IDataParser):void

description

Parameters

type:AssetType
 
parser:IDataParser


Throws
ArgumentError — if the <codeph>loader</codeph> argument is <codeph>null</codeph>.
 
org.vostokframework.loadermanagement.errors:DuplicateLoaderError — if already exists an <codeph>ILoader</codeph> object stored with the same <codeph>id</codeph> of the provided <codeph>loader</codeph> argument.
clear()method 
public function clear():void

description

exists()method 
public function exists(type:AssetType, parser:IDataParser):Boolean

description

Parameters

type:AssetType
 
parser:IDataParser

Returns
Boolean

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
find()method 
public function find(type:AssetType):IList

description

Parameters

type:AssetType

Returns
IList

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
isEmpty()method 
public function isEmpty():Boolean

description

Returns
Boolean
remove()method 
public function remove(type:AssetType, parser:IDataParser):Boolean

description

Parameters

type:AssetType
 
parser:IDataParser

Returns
Boolean

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
size()method 
public function size():int

description

Returns
int
toString()method 
public function toString():String

description

Returns
String