public class XMLAPIDocElement 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 |
---|
XMLAPIDocElement(org.docgene.model.globals.apidocs.APIDoc.Element element)
Create an APIDoc element.
|
XMLAPIDocElement(org.docgene.model.globals.apidocs.APIDoc.Element element,
AbstractXMLAPIDoc parent)
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.
|
AbstractXMLAPIDoc |
getParent()
Return the parent element.
|
boolean |
hasParent()
Return true if this element has a parent.
|
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 XMLAPIDocElement(org.docgene.model.globals.apidocs.APIDoc.Element element, AbstractXMLAPIDoc parent)
element
- the element specificationparent
- the parent apidocpublic XMLAPIDocElement(org.docgene.model.globals.apidocs.APIDoc.Element element)
element
- the element specificationpublic AbstractXMLAPIDoc getParent()
public boolean hasParent()
public java.lang.String getDeclaration()
public java.lang.String getModifiers()
getModifiers
in class AbstractXMLAPIDoc
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence