org.geotools.xml
Interface ParserDelegate2

All Known Implementing Classes:
ParameterParserDelegate

public interface ParserDelegate2

Extension of ParserDelegate used to stage new interface methods.

Author:
Justin Deoliveira, OpenGeo

Method Summary
 boolean canHandle(QName elementName, Attributes attributes, Handler handler, Handler parent)
          Determines if this delegate can handle the specified element name.
 

Method Detail

canHandle

boolean canHandle(QName elementName,
                  Attributes attributes,
                  Handler handler,
                  Handler parent)
Determines if this delegate can handle the specified element name.

A common check in this method would be to check the namespace of the element.

Parameters:
elementName - The name of the element to potentially handle.
attributes - The attributes of the element to potentially handle
handler - The parse handler that would normally handle the element, possibly null
parent - The parse handler for the parent element, possibly null.
Returns:
True if this delegate handles elements of the specified name and should take over parsing.


Copyright © 1996-2014 Geotools. All Rights Reserved.