Package org.geotools.xsd.impl
Interface AttributeHandler
- All Superinterfaces:
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
Modifier and TypeMethodDescriptionXSDAttributeDeclarationvoidhandleAttribute(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 Details
-
getAttributeDeclaration
XSDAttributeDeclaration getAttributeDeclaration()- Returns:
- The schema declaration of the attribute being handled.
-
handleAttribute
Sets the attribute instance being handled by the handler.- Parameters:
value- The value of the attribute from an instance document.
-