public class Doc extends Object
Constructor and Description |
---|
Doc(DocText description,
List<DocParam> params,
List<DocError> errors,
DocText returnDoc)
Creates a structured documentation for a source code element.
|
Modifier and Type | Method and Description |
---|---|
DocText |
getDescription()
Gets the description of the documented element.
|
List<DocError> |
getErrors()
Gets the description of the errors this element can produce.
|
List<DocParam> |
getParams()
Gets the descriptions of the element's parameters.
|
DocText |
getReturnDoc()
Returns a description of return value.
|
String |
toString() |
public Doc(DocText description, List<DocParam> params, List<DocError> errors, DocText returnDoc)
description
- the description of the documented elementparams
- the description of element's parameterserrors
- the description of element's errorsreturnDoc
- the description of the element's return valuepublic DocText getDescription()
public List<DocParam> getParams()
public List<DocError> getErrors()
public DocText getReturnDoc()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.