org.opensaml.ws.soap.soap11.impl
Class FaultImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.ws.soap.soap11.impl.FaultImpl
All Implemented Interfaces:
SOAPObject, Fault, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class FaultImpl
extends org.opensaml.xml.validation.AbstractValidatingXMLObject
implements Fault

Concrete implemenation of Fault.


Field Summary
 
Fields inherited from interface org.opensaml.ws.soap.soap11.Fault
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected FaultImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor.
 
Method Summary
 FaultActor getActor()
          Gets the URI of the fault actor for this fault.
 FaultCode getCode()
          Gets the fault code for this fault.
 Detail getDetail()
          Gets details of this fault.
 FaultString getMessage()
          Gets the fault string for this fault.
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 void setActor(FaultActor newActor)
          Sets the URI of the fault actor for this fault.
 void setCode(FaultCode newFaultCode)
          Sets the fault code for this fault.
 void setDetail(Detail newDetail)
          Sets details of this fault.
 void setMessage(FaultString newMessage)
          Sets the fault string for this fault.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

FaultImpl

protected FaultImpl(java.lang.String namespaceURI,
                    java.lang.String elementLocalName,
                    java.lang.String namespacePrefix)
Constructor.

Parameters:
namespaceURI - namespace of the element
elementLocalName - name of the element
namespacePrefix - namespace prefix of the element
Method Detail

getCode

public FaultCode getCode()
Gets the fault code for this fault.

Specified by:
getCode in interface Fault
Returns:
the fault code for this fault

setCode

public void setCode(FaultCode newFaultCode)
Sets the fault code for this fault.

Specified by:
setCode in interface Fault
Parameters:
newFaultCode - the fault code for this fault

getMessage

public FaultString getMessage()
Gets the fault string for this fault.

Specified by:
getMessage in interface Fault
Returns:
the fault string for this fault

setMessage

public void setMessage(FaultString newMessage)
Sets the fault string for this fault.

Specified by:
setMessage in interface Fault
Parameters:
newMessage - the fault string for this fault

getActor

public FaultActor getActor()
Gets the URI of the fault actor for this fault.

Specified by:
getActor in interface Fault
Returns:
the URI of the fault actor for this fault

setActor

public void setActor(FaultActor newActor)
Sets the URI of the fault actor for this fault.

Specified by:
setActor in interface Fault
Parameters:
newActor - the URI of the fault actor for this fault

getDetail

public Detail getDetail()
Gets details of this fault.

Specified by:
getDetail in interface Fault
Returns:
details of this fault

setDetail

public void setDetail(Detail newDetail)
Sets details of this fault.

Specified by:
setDetail in interface Fault
Parameters:
newDetail - details of this fault

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2011 Internet2. All Rights Reserved.