public class MainHandler extends BaseHandler<MainHandler> implements IDoxygen
elementMapper, m_curString, m_delegateHandler, m_fallBackHandler, m_skipCount, m_skipUntil, s_theLocator
Constructor and Description |
---|
MainHandler() |
Modifier and Type | Method and Description |
---|---|
ICompound |
compoundById(java.lang.String id)
Returns a compound given its unique \a id.
|
ICompound |
compoundByName(java.lang.String name)
Returns a compound given its name (including the scope).
|
java.util.ListIterator<ICompound> |
compounds()
Returns an iterator that can be used to iterate over the list
of compounds found in the project.
|
static IDoxygen |
createObjectModel() |
void |
dump() |
void |
endMember() |
void |
endName() |
ICompound |
memberById(java.lang.String id)
Returns an public interface to a compound containing a member given it the
member's id.
|
java.util.ListIterator<ICompound> |
memberByName(java.lang.String name)
Returns a list of all compounds containing at least one members
with a certain name.
|
void |
readXMLDir(java.io.File xmlDir)
Reads an XML directory produced by doxygen and builds up a data
structure representing the contents of the XML files in the directory.
|
void |
release()
Releases the memory for the object hierarchy obtained by
createdObjecModelFromXML().
|
void |
setDebugLevel(int level)
Sets the debug level.
|
void |
startCompound(org.xml.sax.Attributes attrib) |
void |
startMember(org.xml.sax.Attributes attrib) |
void |
startName(org.xml.sax.Attributes attrib) |
void |
unloadCompound(CompoundHandler ch) |
addEndHandler, addEndHandler, addStartHandler, addStartHandler, characters, delegate, endElement, fallBackHandler, setDelegate, setDocumentLocator, setFallBackHandler, skippedEntity, startDocument, startElement
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, startPrefixMapping, unparsedEntityDecl, warning
public void startCompound(org.xml.sax.Attributes attrib)
public void startName(org.xml.sax.Attributes attrib)
public void endName()
public void startMember(org.xml.sax.Attributes attrib)
public void endMember()
public void setDebugLevel(int level)
IDoxygen
setDebugLevel
in interface IDoxygen
public void dump()
public void readXMLDir(java.io.File xmlDir) throws org.xml.sax.SAXException, java.io.IOException
IDoxygen
readXMLDir
in interface IDoxygen
org.xml.sax.SAXException
java.io.IOException
public java.util.ListIterator<ICompound> compounds()
IDoxygen
public ICompound compoundById(java.lang.String id)
IDoxygen
compoundById
in interface IDoxygen
public void unloadCompound(CompoundHandler ch)
public ICompound compoundByName(java.lang.String name)
IDoxygen
compoundByName
in interface IDoxygen
public ICompound memberById(java.lang.String id)
IDoxygen
memberById
in interface IDoxygen
id
- The member id.public java.util.ListIterator<ICompound> memberByName(java.lang.String name)
IDoxygen
memberByName
in interface IDoxygen
name
- The name of the member.public static IDoxygen createObjectModel()