org.apache.woden.xml
Interface XMLAttr

All Known Subinterfaces:
ArgumentArrayAttr, BooleanAttr, HTTPAuthenticationSchemeAttr, IntOrTokenAttr, QNameAttr, QNameListAttr, QNameListOrTokenAttr, QNameOrTokenAttr, StringAttr, TokenAttr, URIAttr
All Known Implementing Classes:
ArgumentArrayAttrImpl, BooleanAttrImpl, HTTPAuthenticationSchemeAttrImpl, IntOrTokenAnyAttrImpl, QNameAttrImpl, QNameListAttrImpl, QNameListOrTokenAnyAttrImpl, QNameOrTokenAnyAttrImpl, StringAttrImpl, TokenAttrImpl, UnknownAttr, URIAttrImpl, XMLAttrImpl

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

QName getAttributeType()

getContent

java.lang.Object getContent()

toExternalForm

java.lang.String toExternalForm()

isValid

boolean isValid()


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.