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 Details

    • 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.