org.zkoss.json.parser
Interface ContainerFactory


public interface ContainerFactory

Container factory for creating containers for JSON object and JSON array.

Author:
FangYidong
See Also:
JSONParser.parse(java.io.Reader, ContainerFactory)

Method Summary
 java.util.List creatArrayContainer()
           
 java.util.Map createObjectContainer()
           
 

Method Detail

createObjectContainer

java.util.Map createObjectContainer()
Returns:
A Map instance to store JSON object, or null if you want to use org.zkoss.json.JSONObject.

creatArrayContainer

java.util.List creatArrayContainer()
Returns:
A List instance to store JSON array, or null if you want to use org.zkoss.json.JSONArray.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo