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

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

Method Detail

getAttributeDeclaration

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

handleAttribute

void handleAttribute(java.lang.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.