org.apache.woden.xml
Interface XMLAttr

All Known Subinterfaces:
ArgumentArrayAttr, BooleanAttr, HTTPAuthenticationSchemeAttr, IntOrTokenAttr, QNameAttr, QNameListAttr, QNameListOrTokenAttr, QNameOrTokenAttr, StringAttr, TokenAttr, URIAttr
All Known Implementing Classes:
UnknownAttr

public interface XMLAttr

This interface represents an XML attribute information item. It can be initialized with the string value of an attribute and the implementation must convert the string into an object of the appropriate type. The getContent() method will return the converted Object and the caller must cast this to the appropriate type. If a conversion error occured because the string was not in the correct form, the isValid() method will return false. The toExternalForm() method will return the attribute's original string value.

Author:
jkaputin@apache.org

Method Summary
 QName getAttributeType()
           
 java.lang.Object getContent()
           
 boolean isValid()
           
 java.lang.String toExternalForm()
           
 

Method Detail

getAttributeType

public QName getAttributeType()

getContent

public java.lang.Object getContent()

toExternalForm

public java.lang.String toExternalForm()

isValid

public boolean isValid()