org.apache.woden.wsdl20.extensions.soap
Class SOAPFaultSubcodes

java.lang.Object
  extended by org.apache.woden.wsdl20.extensions.soap.SOAPFaultSubcodes

public class SOAPFaultSubcodes
extends java.lang.Object

This class represents the {soap fault subcodes} property that forms part of the SOAP extensions to the WSDL BindingFault component. This property may contain either a list of QNames representing the subcodes or the xs:token #any.

This class will restrict the possible values to a collection of QNames or the string "#any". It provides methods to query whether the property contains QNames or a token and methods to retrieve the property value of the appropriate type.

Author:
jkaputin@apache.org

Field Summary
static SOAPFaultSubcodes ANY
           
 
Constructor Summary
SOAPFaultSubcodes(QName[] subcodeQNs)
           
 
Method Summary
 QName[] getQNames()
           
 java.lang.String getToken()
           
 boolean isQNames()
           
 boolean isToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANY

public static final SOAPFaultSubcodes ANY
Constructor Detail

SOAPFaultSubcodes

public SOAPFaultSubcodes(QName[] subcodeQNs)
Method Detail

isQNames

public boolean isQNames()

isToken

public boolean isToken()

getQNames

public QName[] getQNames()

getToken

public java.lang.String getToken()


Copyright © 2007. All Rights Reserved.