public abstract class AbstractXMLAPIDoc extends java.lang.Object implements ParagraphElement, ParagraphElementParent, org.docgene.model.globals.apidocs.APIDocTypes
| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.String | apiThe API. | 
| protected org.docgene.model.globals.apidocs.APIDoc.Element | elementThe element specification. | 
| protected java.lang.String | modifiersThe modifiers. | 
| protected java.lang.String | pathThe path. | 
TYPE_NONEELEMENT_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 | 
|---|
| AbstractXMLAPIDoc(org.docgene.model.globals.apidocs.APIDoc.Element element) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addElement(ParagraphElement element)Add an element. | 
| int | countDocElements(java.lang.String name)Count the number of elements of a specified name. | 
| org.docgene.model.globals.apidocs.APIDoc | getAPI()Return the associated parent API specification. | 
| java.lang.String | getAPIID()Return the API ID. | 
| java.util.Set<java.lang.String> | getCustomStyles()Return the element custom classes. | 
| java.util.SortedMap<java.lang.String,java.util.List<XMLAPIDocElement>> | getDocElements(java.lang.String name)Return the map of API doc elements of a specified name. | 
| java.util.List<XMLAPIDocElement> | getDocElementsAsList(java.lang.String name)Return the list of API doc elements of a specified name. | 
| java.util.List<org.docgene.model.globals.apidocs.APIDoc.OrderedChild> | getDocElementsList()Return the ordered list of API elements specifications, including only those which are present. | 
| java.util.List<ParagraphElement> | getElements()Return the list of elements. | 
| org.docgene.model.globals.apidocs.APIDoc.Element | getElementSpecification()Return the element specification. | 
| java.lang.String | getElementTypeName()Return the element type name. | 
| abstract java.lang.String | getModifiers()Return the modifiers. | 
| java.lang.String | getName()Return the member name. | 
| short | getParentType()Return the element parent type. | 
| java.lang.String | getPath()Return the path. | 
| short | getType()Return the element type. | 
| boolean | hasDocElement(java.lang.String name)Return true if there are elements declarations of a specified name in the API. | 
| void | setCustomStyles(java.util.Set<java.lang.String> classes)Set the element custom classes. | 
| void | setElements(java.util.List<ParagraphElement> elements)Set the list of elements. | 
| void | setModifiers(java.lang.String modifiers)Set the modifiers. | 
| void | setPath(java.lang.String path)Set the path. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaration, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStylecountElements, getElement, getFirstElement, getLastElement, hasElements, isEmptyprotected final org.docgene.model.globals.apidocs.APIDoc.Element element
protected java.lang.String modifiers
protected java.lang.String path
protected java.lang.String api
public AbstractXMLAPIDoc(org.docgene.model.globals.apidocs.APIDoc.Element element)
public org.docgene.model.globals.apidocs.APIDoc.Element getElementSpecification()
public java.lang.String getName()
public short getParentType()
public short getType()
public java.lang.String getElementTypeName()
public org.docgene.model.globals.apidocs.APIDoc getAPI()
public java.lang.String getAPIID()
public void setModifiers(java.lang.String modifiers)
modifiers - the modifierspublic abstract java.lang.String getModifiers()
public void setPath(java.lang.String path)
path - the pathpublic java.lang.String getPath()
public void setCustomStyles(java.util.Set<java.lang.String> classes)
setCustomStyles in interface StyledElementclasses - the custom element classespublic java.util.Set<java.lang.String> getCustomStyles()
getCustomStyles in interface StyledElementpublic void setElements(java.util.List<ParagraphElement> elements)
setElements in interface ParagraphElementParentelements - the list of elementspublic void addElement(ParagraphElement element)
addElement in interface ParagraphElementParentelement - the elementpublic java.util.List<ParagraphElement> getElements()
getElements in interface ParagraphElementParentpublic int countDocElements(java.lang.String name)
name - public boolean hasDocElement(java.lang.String name)
name - the element namepublic java.util.SortedMap<java.lang.String,java.util.List<XMLAPIDocElement>> getDocElements(java.lang.String name)
name - the element namepublic java.util.List<XMLAPIDocElement> getDocElementsAsList(java.lang.String name)
name - the element namepublic java.util.List<org.docgene.model.globals.apidocs.APIDoc.OrderedChild> getDocElementsList()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence