Package org.geotools.xsd.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XSDAttributeDeclaration
getAttributeDeclaration()
void
handleAttribute(String value)
Sets the attribute instance being handled by the handler.-
Methods inherited from interface Handler
createChildHandler, endChildHandler, endPrefixMapping, getComponent, getContext, getParentHandler, getParseNode, getSchemaContent, setContext, startChildHandler, startPrefixMapping
-
-
-
-
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.
-
-