org.apache.woden.wsdl20.xml
Interface InterfaceFaultElement
- All Superinterfaces:
- AttributeExtensible, DocumentableElement, ElementExtensible, NestedElement, WSDLElement
- All Known Implementing Classes:
- InterfaceFaultImpl
public interface InterfaceFaultElement
- extends DocumentableElement, NestedElement
Represents the WSDL 2.0 <fault> element, declared as a child of the
<interface> element.
- Author:
- John Kaputin (jkaputin@apache.org)
Method Summary |
QNameTokenUnion |
getElement()
Return the union of the xs:token and xs:QName of the global schema element declaration referred to by this
InterfaceFaultElement. |
QName |
getName()
Return the qualified name of this InterfaceFaultElement, which consists of its
local name and the targetNamespace of the enclosing DescriptionElement. |
org.apache.ws.commons.schema.XmlSchemaElement |
getXmlSchemaElement()
Return the XmlSchemaElement representing the global schema element declaration
referred to by this InterfaceFaultElement. |
void |
setElement(QNameTokenUnion elementName)
Specify the union of the xs:token and xs:QName of the global schema element declaration referred to by this
InterfaceFaultElement. |
void |
setName(NCName name)
Set the name of this InterfaceFaultElement to the specified NCName. |
setName
void setName(NCName name)
- Set the name of this InterfaceFaultElement to the specified NCName.
This corresponds to the
name
attribute of the interface <fault> element.
- Parameters:
name
- the NCName that represents the local name of this interface fault
getName
QName getName()
- Return the qualified name of this InterfaceFaultElement, which consists of its
local name and the targetNamespace of the enclosing DescriptionElement.
- Returns:
- the interface fault QName
setElement
void setElement(QNameTokenUnion elementName)
- Specify the union of the xs:token and xs:QName of the global schema element declaration referred to by this
InterfaceFaultElement.
The specified QName corresponds to the
element
attribute of the interface
<fault> element.
- Parameters:
elementName
- the QNameTokenUnion of the element declaration
getElement
QNameTokenUnion getElement()
- Return the union of the xs:token and xs:QName of the global schema element declaration referred to by this
InterfaceFaultElement.
This corresponds to the
element
attribute of the interface
<fault> element.
- Returns:
- the QNameTokenUnion of the element declaration
getXmlSchemaElement
org.apache.ws.commons.schema.XmlSchemaElement getXmlSchemaElement()
- Return the XmlSchemaElement representing the global schema element declaration
referred to by this InterfaceFaultElement.
This equates to the <xs:element> element referred to by the
element
attribute of the interface <fault> element.
If this reference cannot be resolved to an element declaration in a schema that
is visible to the enclosing <description>, this method will return null.
To be visible, the schema must have been correctly imported or inlined within
the <types> element.
- Returns:
- the XmlSchemaElement
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.