|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.wadl.DocumentedInfo
org.restlet.ext.wadl.RepresentationInfo
org.restlet.ext.wadl.FaultInfo
public class FaultInfo
Describes an error condition for response descriptions.
Constructor Summary | |
---|---|
FaultInfo(Status status)
Constructor. |
|
FaultInfo(Status status,
DocumentationInfo documentation)
Constructor with a single documentation element. |
|
FaultInfo(Status status,
java.util.List<DocumentationInfo> documentations)
Constructor with a list of documentation elements. |
|
FaultInfo(Status status,
MediaType mediaType,
java.lang.String documentation)
Constructor with a single documentation element. |
|
FaultInfo(Status status,
java.lang.String documentation)
Constructor with a single documentation element. |
Method Summary | |
---|---|
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer. |
Methods inherited from class org.restlet.ext.wadl.RepresentationInfo |
---|
getIdentifier, getMediaType, getParameters, getProfiles, getStatuses, getXmlElement, setIdentifier, setMediaType, setParameters, setProfiles, setStatuses, setXmlElement, updateNamespaces |
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 |
---|
public FaultInfo(Status status)
status
- The associated status code.public FaultInfo(Status status, DocumentationInfo documentation)
status
- The associated status code.documentation
- A single documentation element.public FaultInfo(Status status, java.util.List<DocumentationInfo> documentations)
status
- The associated status code.documentations
- The list of documentation elements.public FaultInfo(Status status, java.lang.String documentation)
status
- The associated status code.documentation
- A single documentation element.public FaultInfo(Status status, MediaType mediaType, java.lang.String documentation)
status
- The associated status code.mediaType
- The fault representation's media type.documentation
- A single documentation element.Method Detail |
---|
public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writeElement
in class RepresentationInfo
writer
- The SAX writer.
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |