com.ochafik.lang.jnaerator.parser
Class SourceFile
java.lang.Object
com.ochafik.lang.jnaerator.parser.Element
com.ochafik.lang.jnaerator.parser.SourceFile
- All Implemented Interfaces:
- DeclarationsHolder
public class SourceFile
- extends Element
- implements DeclarationsHolder
Methods inherited from class com.ochafik.lang.jnaerator.parser.Element |
addNameSpace, addToCommentBefore, addToCommentBefore, changeValue, changeValue, cleanComment, cloneElements, cloneElements, cloneObject, deepClone, findParentOfType, findParentOfTypes, formatComments, formatComments, getCommentAfter, getCommentBefore, getElementFile, getElementLine, getFileOfAscendency, getGettersAndSetters, getId, getNameSpace, getNextSibling, getNextSibling, getParentElement, getPossibleLanguages, getPreviousSibling, getPreviousSibling, implode, importDetails, insertChild, insertSibling, moveAllCommentsBefore, replaceBy, replaceChild, resolvePossibleLanguages, setCommentAfter, setCommentBefore, setElementLine, setNameSpace, setParentElement, setPossibleLanguages, stripDetails, toString, unmodifiableList |
SourceFile
public SourceFile()
clone
public SourceFile clone()
- Overrides:
clone
in class Element
toString
public String toString(CharSequence indent)
- Specified by:
toString
in class Element
getNextChild
public Element getNextChild(Element child)
- Specified by:
getNextChild
in class Element
getPreviousChild
public Element getPreviousChild(Element child)
- Specified by:
getPreviousChild
in class Element
replaceChild
public boolean replaceChild(Element child,
Element by)
- Specified by:
replaceChild
in class Element
setElementFile
public void setElementFile(String file)
- Overrides:
setElementFile
in class Element
guessFramework
public String guessFramework()
getDeclarations
public List<Declaration> getDeclarations()
- Specified by:
getDeclarations
in interface DeclarationsHolder
setDeclarations
public void setDeclarations(List<Declaration> declarations)
addDeclaration
public void addDeclaration(Declaration d)
- Specified by:
addDeclaration
in interface DeclarationsHolder
addDeclarations
public void addDeclarations(Collection<? extends Declaration> ds)
accept
public void accept(Visitor visitor)
- Specified by:
accept
in class Element
setLibrary
public void setLibrary(String library)
getLibrary
public String getLibrary()
Copyright © 2009. All Rights Reserved.