org.apache.woden.xml
Class UnknownAttr

java.lang.Object
  extended by org.apache.woden.xml.UnknownAttr
All Implemented Interfaces:
XMLAttr

public class UnknownAttr
extends java.lang.Object
implements XMLAttr

This class represents extension attributes (those not in the WSDL namespace) that do not have a Java type registered in the Extension Registry. It treats the attribute's value as a string.

Author:
jkaputin@apache.org

Constructor Summary
UnknownAttr()
           
 
Method Summary
 QName getAttributeType()
           
 java.lang.Object getContent()
           
 void init(XMLElement ownerEl, QName attrType, java.lang.String attrValue)
          Take the external string form of the attribute and initialize its internal object representation.
 boolean isValid()
           
 void setErrorReporter(ErrorReporter errRpt)
           
 java.lang.String toExternalForm()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownAttr

public UnknownAttr()
Method Detail

setErrorReporter

public void setErrorReporter(ErrorReporter errRpt)
Specified by:
setErrorReporter in interface XMLAttr

init

public void init(XMLElement ownerEl,
                 QName attrType,
                 java.lang.String attrValue)
          throws WSDLException
Description copied from interface: XMLAttr
Take the external string form of the attribute and initialize its internal object representation.

Specified by:
init in interface XMLAttr
Throws:
WSDLException - if conversion errors occur

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


Copyright © 2007. All Rights Reserved.