org.apache.woden.internal.xml
Class XMLAttrImpl

java.lang.Object
  extended by org.apache.woden.internal.xml.XMLAttrImpl
All Implemented Interfaces:
XMLAttr
Direct Known Subclasses:
ArgumentArrayAttrImpl, BooleanAttrImpl, HTTPAuthenticationSchemeAttrImpl, IntOrTokenAnyAttrImpl, QNameAttrImpl, QNameListAttrImpl, QNameListOrTokenAnyAttrImpl, QNameOrTokenAnyAttrImpl, StringAttrImpl, TokenAttrImpl, URIAttrImpl

public abstract class XMLAttrImpl
extends java.lang.Object
implements XMLAttr

This is an abstract superclass for all classes representing different types of XML attribute information items.

Author:
jkaputin@apache.org

Constructor Summary
protected XMLAttrImpl(XMLElement ownerEl, QName attrType, java.lang.String attrValue, ErrorReporter errRpt)
           
 
Method Summary
protected abstract  java.lang.Object convert(XMLElement ownerEl, java.lang.String attrValue)
           
 QName getAttributeType()
           
 java.lang.Object getContent()
           
protected  ErrorReporter getErrorReporter()
           
 boolean isValid()
           
protected  void setValid(boolean validity)
           
 java.lang.String toExternalForm()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLAttrImpl

protected XMLAttrImpl(XMLElement ownerEl,
                      QName attrType,
                      java.lang.String attrValue,
                      ErrorReporter errRpt)
               throws WSDLException
Throws:
WSDLException
Method Detail

getAttributeType

public QName getAttributeType()
Specified by:
getAttributeType in interface XMLAttr

getContent

public java.lang.Object getContent()
Specified by:
getContent in interface XMLAttr

toExternalForm

public java.lang.String toExternalForm()
Specified by:
toExternalForm in interface XMLAttr

isValid

public boolean isValid()
Specified by:
isValid in interface XMLAttr

convert

protected abstract java.lang.Object convert(XMLElement ownerEl,
                                            java.lang.String attrValue)
                                     throws WSDLException
Throws:
WSDLException

getErrorReporter

protected ErrorReporter getErrorReporter()

setValid

protected void setValid(boolean validity)


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