net.openmarkup
Class AttributeHandler

java.lang.Object
  extended bynet.openmarkup.AttributeHandler

public class AttributeHandler
extends Object

Immutably binds an attribute type identified by a namespaceURI and localName to the specified AttributeApplier. The choice of the AttributeApplier determines how an attribute of any given type is applied to the target Realizable element.

Author:
Ramesh Gupta

Constructor Summary
AttributeHandler(String namespaceURI, String localName, AttributeApplier attrApplier)
           
 
Method Summary
 AttributeApplier getApplier()
          Returns the AttributeApplier that is bound to this AttributeHandler.
 String getAttribute()
          Returns the local name of the attribute that is handled by this AttributeHandler.
 String getNamespace()
          Returns the namespace URI for the attribute that is handled by this AttributeHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeHandler

public AttributeHandler(String namespaceURI,
                        String localName,
                        AttributeApplier attrApplier)
Method Detail

getNamespace

public final String getNamespace()
Returns the namespace URI for the attribute that is handled by this AttributeHandler.

Returns:
the namespace URI for the attribute that is handled by this AttributeHandler

getAttribute

public final String getAttribute()
Returns the local name of the attribute that is handled by this AttributeHandler.

Returns:
the local name of the attribute that is handled by this AttributeHandler

getApplier

public AttributeApplier getApplier()
Returns the AttributeApplier that is bound to this AttributeHandler.

Returns:
the AttributeApplier that is bound to this AttributeHandler


Copyright 2003-2004 eNode, Inc. All rights reserved.