org.restlet.ext.wadl
Class FaultInfo

java.lang.Object
  extended by org.restlet.ext.wadl.DocumentedInfo
      extended by org.restlet.ext.wadl.RepresentationInfo
          extended by org.restlet.ext.wadl.FaultInfo

Deprecated. This element has been removed from the WADL specification.

@Deprecated
public class FaultInfo
extends RepresentationInfo

Describes an error condition for response descriptions.

Author:
Jerome Louvel

Constructor Summary
FaultInfo(Status status)
          Deprecated. Constructor.
FaultInfo(Status status, DocumentationInfo documentation)
          Deprecated. Constructor with a single documentation element.
FaultInfo(Status status, List<DocumentationInfo> documentations)
          Deprecated. Constructor with a list of documentation elements.
FaultInfo(Status status, MediaType mediaType, String documentation)
          Deprecated. Constructor with a single documentation element.
FaultInfo(Status status, String documentation)
          Deprecated. Constructor with a single documentation element.
 
Method Summary
 
Methods inherited from class org.restlet.ext.wadl.RepresentationInfo
getIdentifier, getMediaType, getParameters, getProfiles, getReference, getStatuses, getXmlElement, setIdentifier, setMediaType, setParameters, setProfiles, setReference, setStatuses, setXmlElement, updateNamespaces, writeElement
 
Methods inherited from class org.restlet.ext.wadl.DocumentedInfo
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultInfo

public FaultInfo(Status status)
Deprecated. 
Constructor.

Parameters:
status - The associated status code.

FaultInfo

public FaultInfo(Status status,
                 DocumentationInfo documentation)
Deprecated. 
Constructor with a single documentation element.

Parameters:
status - The associated status code.
documentation - A single documentation element.

FaultInfo

public FaultInfo(Status status,
                 List<DocumentationInfo> documentations)
Deprecated. 
Constructor with a list of documentation elements.

Parameters:
status - The associated status code.
documentations - The list of documentation elements.

FaultInfo

public FaultInfo(Status status,
                 String documentation)
Deprecated. 
Constructor with a single documentation element.

Parameters:
status - The associated status code.
documentation - A single documentation element.

FaultInfo

public FaultInfo(Status status,
                 MediaType mediaType,
                 String documentation)
Deprecated. 
Constructor with a single documentation element.

Parameters:
status - The associated status code.
mediaType - The fault representation's media type.
documentation - A single documentation element.


Copyright © 2005-2011 Noelios Technologies.