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
setErrorReporter
public void setErrorReporter(ErrorReporter errRpt)
init
public void init(XMLElement ownerEl,
QName attrType,
java.lang.String attrValue)
throws WSDLException
- Take the external string form of the attribute and initialize
its internal object representation.
- Throws:
WSDLException
- if conversion errors occur
getAttributeType
public QName getAttributeType()
getContent
public java.lang.Object getContent()
toExternalForm
public java.lang.String toExternalForm()
isValid
public boolean isValid()
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.