public class XMLIncludedAPIMember extends java.lang.Object implements ParagraphElement, ParagraphElementParent
| Modifier and Type | Field and Description |
|---|---|
static short |
CONSTRUCTOR
Constructor members.
|
static short |
FIELD
Field members.
|
static short |
METHOD
Method members.
|
protected java.lang.String |
path
The member path.
|
TYPE_NONE| Constructor and Description |
|---|
XMLIncludedAPIMember(short type)
Create an included API member.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptArguments()
Return true if the member accept arguments declaration.
|
void |
addElement(ParagraphElement element)
Add an element.
|
java.util.List<XMLIncludedAPIArgument> |
getArguments()
Return the list of arguments.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.util.List<ParagraphElement> |
getElements()
Return the list of elements.
|
java.lang.String |
getMemberDeclaration()
Return the member method declaration.
|
java.lang.String |
getModifierAndType()
Return the member modifier and type.
|
java.lang.String |
getModifiers()
Return the modifiers.
|
java.lang.String |
getName()
Return the member name.
|
XMLIncludedAPI |
getParentAPI()
Return the parent API.
|
java.lang.String |
getPath()
Return the path.
|
short |
getType()
Return the element type.
|
boolean |
hasArgumentsDeclaration()
Return true if there are arguments declaration.
|
void |
setElements(java.util.List<ParagraphElement> elements)
Set the list of elements.
|
void |
setModifiers(java.lang.String modifiers)
Set the modifiers.
|
void |
setParentAPI(XMLIncludedAPI api)
Set the parent API.
|
void |
setPath(java.lang.String path)
Set the path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStylecountElements, getElement, getFirstElement, getLastElement, hasElements, isEmptypublic static final short FIELD
public static final short METHOD
public static final short CONSTRUCTOR
protected java.lang.String path
public XMLIncludedAPIMember(short type)
type - the member typepublic void setParentAPI(XMLIncludedAPI api)
api - the parent APIpublic XMLIncludedAPI getParentAPI()
public void setModifiers(java.lang.String modifiers)
modifiers - the modifierspublic java.lang.String getModifiers()
public java.lang.String getModifierAndType()
public java.lang.String getMemberDeclaration()
public java.lang.String getName()
public boolean acceptArguments()
public short getType()
public java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic void setPath(java.lang.String path)
path - the pathpublic java.lang.String getPath()
public 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 java.util.List<XMLIncludedAPIArgument> getArguments()
public boolean hasArgumentsDeclaration()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence