net.openmarkup
Interface AttributeApplier

All Known Implementing Classes:
DefaultAttributeApplier

public interface AttributeApplier

Interface for applying the value of an attribute from a given namespace to the specified target Realizable object.

Author:
Ramesh Gupta

Method Summary
 void apply(Realizable target, String namespaceURI, String attributeName, String attributeValue)
          Applies the value of the attribute identified by the specified namespaceURI and attributeName to the specified target Realizable element.
 

Method Detail

apply

public void apply(Realizable target,
                  String namespaceURI,
                  String attributeName,
                  String attributeValue)
           throws ApplierException
Applies the value of the attribute identified by the specified namespaceURI and attributeName to the specified target Realizable element. If namespaceURI is empty or null, it defaults to the namespace of the target Realizable element, by convention.

Parameters:
target - Realizable element to which the attribute value is applied
namespaceURI - namespace to which the attribute belongs
attributeName - local name of the attribute
attributeValue - value of the attribute
Throws:
Exception - if the attribute value could not be applied for any reason
ApplierException


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