org.geotools.xml.impl
Interface AttributeHandler

All Superinterfaces:
Handler

public interface AttributeHandler
extends Handler

Classes implementing this interace serve as handlers for attributes in an instance document as it is parsed.

An attribute handler corresponds to a specific attribute in a schema.

Author:
Justin Deoliveira,Refractions Research Inc.,jdeolive@refractions.net
Module:
modules/extension/xsd-core (gt-xsd-core.jar)

Method Summary
 XSDAttributeDeclaration getAttributeDeclaration()
           
 void handleAttribute(String value)
          Sets the attribute instance being handled by the handler.
 
Methods inherited from interface Handler
createChildHandler, endChildHandler, getComponent, getContext, getParentHandler, getParseNode, getSchemaContent, setContext, startChildHandler
 

Method Detail

getAttributeDeclaration

XSDAttributeDeclaration getAttributeDeclaration()
Returns:
The schema declaration of the attribute being handled.

handleAttribute

void handleAttribute(String value)
Sets the attribute instance being handled by the handler.

Parameters:
value - The value of the attribute from an instance document.


Copyright © 1996-2010 Geotools. All Rights Reserved.