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(XMLElement ownerEl, QName attrType, java.lang.String attrValue, ErrorReporter errRpt)
           
 
Method Summary
 QName getAttributeType()
           
 java.lang.Object getContent()
           
 boolean isValid()
           
 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(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


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