Package org.opensaml.soap.soap11.impl
Class FaultImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.soap.soap11.impl.FaultImpl
-
- All Implemented Interfaces:
XMLObject,SOAPObject,Fault
public class FaultImpl extends AbstractXMLObject implements Fault
Concrete implemenation ofFault.
-
-
Field Summary
Fields Modifier and Type Field Description private FaultActoractorActor that faulted.private DetaildetailDetails of the fault.private FaultCodefaultCodeFault code.private FaultStringmessageFault message.-
Fields inherited from interface org.opensaml.soap.soap11.Fault
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FaultActorgetActor()Gets the URI of the fault actor for this fault.FaultCodegetCode()Gets the fault code for this fault.DetailgetDetail()Gets details of this fault.FaultStringgetMessage()Gets the fault string for this fault.List<XMLObject>getOrderedChildren()Gets an unmodifiable list of child elements in the order that they will appear in the DOM.voidsetActor(FaultActor newActor)Sets the URI of the fault actor for this fault.voidsetCode(FaultCode newFaultCode)Sets the fault code for this fault.voidsetDetail(Detail newDetail)Sets details of this fault.voidsetMessage(FaultString newMessage)Sets the fault string for this fault.-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, 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.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
faultCode
private FaultCode faultCode
Fault code.
-
message
private FaultString message
Fault message.
-
actor
private FaultActor actor
Actor that faulted.
-
detail
private Detail detail
Details of the fault.
-
-
Method Detail
-
getCode
public FaultCode getCode()
Gets the fault code for this fault.
-
setCode
public void setCode(FaultCode newFaultCode)
Sets the fault code for this fault.
-
getMessage
public FaultString getMessage()
Gets the fault string for this fault.- Specified by:
getMessagein interfaceFault- Returns:
- the fault string for this fault
-
setMessage
public void setMessage(FaultString newMessage)
Sets the fault string for this fault.- Specified by:
setMessagein interfaceFault- Parameters:
newMessage- the fault string for this fault
-
getActor
public FaultActor getActor()
Gets 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.
-
getDetail
public Detail getDetail()
Gets details of this fault.
-
setDetail
public void setDetail(Detail newDetail)
Sets details of this fault.
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
-