public class XMLAPIDoc extends AbstractXMLAPIDoc
api, element, modifiers, path
TYPE_NONE
ELEMENT_ARGUMENT, ELEMENT_CLASS, ELEMENT_CONSTANT, ELEMENT_CONSTRUCTOR, ELEMENT_DESTRUCTOR, ELEMENT_ENUM, ELEMENT_EVENT, ELEMENT_FIELD, ELEMENT_FUNCTION, ELEMENT_GETTER, ELEMENT_HEADER, ELEMENT_INTERFACE, ELEMENT_MACRO, ELEMENT_METHOD, ELEMENT_MODULE, ELEMENT_OPERATOR, ELEMENT_PROPERTY, ELEMENT_RETURN, ELEMENT_SETTER, ELEMENT_SOURCE, ELEMENT_STRUCT, ELEMENT_TYPEDEF, TYPE_CSHARP, TYPE_DOXYGEN, TYPE_JAVA, TYPE_PYTHON, TYPE_QT, UNDEF
Constructor and Description |
---|
XMLAPIDoc(org.docgene.model.globals.apidocs.APIDoc.Element element)
Create an APIDoc element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.lang.String |
getModifiers()
Return the modifiers.
|
boolean |
hasThematicBreak()
Return true if the api has thematic breaks("hr").
|
boolean |
isCompact()
Return true if the api should have a compact representation.
|
void |
setCompact(boolean isCompact)
Set if the api should have a compact representation.
|
void |
setThematicBreak(boolean hasHR)
Set if the api has thematic breaks("hr").
|
addElement, countDocElements, getAPI, getAPIID, getCustomStyles, getDocElements, getDocElementsAsList, getDocElementsList, getElements, getElementSpecification, getElementTypeName, getName, getParentType, getPath, getType, hasDocElement, setCustomStyles, setElements, setModifiers, setPath
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
public XMLAPIDoc(org.docgene.model.globals.apidocs.APIDoc.Element element)
element
- the element specificationpublic java.lang.String getDeclaration()
public java.lang.String getModifiers()
getModifiers
in class AbstractXMLAPIDoc
public void setThematicBreak(boolean hasHR)
hasHR
- true if the api has thematic breaks("hr")public boolean hasThematicBreak()
public void setCompact(boolean isCompact)
isCompact
- true if the api should have a compact representationpublic boolean isCompact()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence