com.dtolabs.shared.resources
Interface ResourceXMLReceiver

All Known Implementing Classes:
NodesXMLParser

public interface ResourceXMLReceiver

ResourceXMLReceiver is used to receive parsing results from ResourceXMLParser, either as they are parsed, or in entirety as a set of all parsed Entities. If the resourceParsed(com.dtolabs.shared.resources.ResourceXMLParser.Entity) method returns "false", then parsing will cease at this point.


Method Summary
 boolean resourceParsed(ResourceXMLParser.Entity entity)
          Called after an individual resource is parsed, returns false if parsing should stop, or true to continue.
 void resourcesParsed(ResourceXMLParser.EntitySet entities)
          Called after all resources are parsed with the set of parsed entities
 

Method Detail

resourceParsed

boolean resourceParsed(ResourceXMLParser.Entity entity)
Called after an individual resource is parsed, returns false if parsing should stop, or true to continue.

Parameters:
entity -
Returns:
true if parsing should continue

resourcesParsed

void resourcesParsed(ResourceXMLParser.EntitySet entities)
Called after all resources are parsed with the set of parsed entities

Parameters:
entities -