The <apiSyntaxText> element provides the representation in the programming language for the declared interface for the API item.
In the <apiDef> element, the <apiSyntaxText> element can supplement or replace the semantic declaration of the same interface. When a specialization provides a complete representation of the interface within a specialized <apiDef> element, the <apiSyntaxText> element can be omitted. The Java DITA API reference takes this approach.
<apiOperationDetail> <apiImpl>Method</apiImpl> <apiSyntax> <apiSyntaxText> Public Function getApplicableStereotypesAsString( <┘ <apiItemName>delimiterOPT</apiItemName> <┘ As String) <┘ As String <┘ </apiSyntaxText> <apiSyntaxItem> <apiItemName>delimiterOPT</apiItemName> <apiDefNote>A string that provides the text that you want to use to separate the stereotype names.</apiDefNote> </apiSyntaxItem> <apiSyntaxItem> <apiItemName>string</apiItemName> <apiDefNote>One or more strings to interpolate.</apiDefNote> </apiSyntaxItem> </apiSyntax> </apiOperationDetail>
apiData, apiItemName, apiname, apiRelation, apiType, cmdname, draft-comment, fn, indexterm, indextermref, keyword, msgnum, option, parmname, required-cleanup, varname, wintitle
(text data or apiRelation or apiType or apiItemName or apiData or keyword or option or parmname or apiname or cmdname or msgnum or varname or wintitle or draft-comment or required-cleanup or fn or indextermref or indexterm) (any number)