eric4.XML.ProjectHandler

Module implementing the handler class for reading an XML project file.

Classes

ProjectHandler Class implementing a sax handler to read an XML project file.

Functions

None


ProjectHandler

Class implementing a sax handler to read an XML project file.

Derived from

XMLHandlerBase

Methods

ProjectHandler Constructor
__buildPath Private method to assemble a path.
endAuthor Handler method for the "Author" end tag.
endCxfreezeParams Handler method for the "CxfreezeParams" end tag.
endDescription Handler method for the "Description" end tag.
endDir Handler method for the "Dir" end tag.
endEmail Handler method for the "Email" end tag.
endEric3ApiParams Handler method for the "Eric3ApiParams" end tag.
endEric3DocParams Handler method for the "Eric3DocParams" end tag.
endEric4ApiParams Handler method for the "Eric4ApiParams" end tag.
endEric4DocParams Handler method for the "Eric4DocParams" end tag.
endForm Handler method for the "Form" end tag.
endInterface Handler method for the "Interface" end tag.
endMainScript Handler method for the "MainScript" end tag.
endName Handler method for the "Name" end tag.
endOther Handler method for the "Other" end tag.
endProgLanguage Handler method for the "ProgLanguage" end tag.
endPyLintParams Handler method for the "PyLintParams" end tag.
endResource Handler method for the "Resource" end tag.
endSource Handler method for the "Source" end tag.
endTranslation Handler method for the "Translation" end tag.
endTranslationException Handler method for the "TranslationException" end tag.
endTranslationPrefix Handler method for the "TranslationPrefix" end tag.
endTranslationsBinPath Handler method for the "TranslationPrefix" end tag.
endUIType Handler method for the "UIType" end tag.
endVcsOptions Handler method for the "VcsOptions" end tag.
endVcsOtherData Handler method for the "VcsOtherData" end tag.
endVcsType Handler method for the "VcsType" end tag.
endVersion Handler method for the "Version" end tag.
getVersion Public method to retrieve the version of the project.
startCxfreezeParams Handler method for the "CxfreezeParams" start tag.
startDocumentProject Handler called, when the document parsing is started.
startEric4ApiParams Handler method for the "Eric4ApiParams" start tag.
startEric4DocParams Handler method for the "Eric4DocParams" start tag.
startFiletypeAssociation Handler method for the "FiletypeAssociation" start tag.
startForm Handler method for the "Form" start tag.
startInterface Handler method for the "Interface" start tag.
startMainScript Handler method for the "MainScript" start tag.
startOther Handler method for the "Other" start tag.
startProgLanguage Handler method for the "Source" start tag.
startProject Handler method for the "Project" start tag.
startPyLintParams Handler method for the "PyLintParams" start tag.
startResource Handler method for the "Resource" start tag.
startSource Handler method for the "Source" start tag.
startTranslation Handler method for the "Translation" start tag.
startTranslationException Handler method for the "TranslationException" start tag.
startTranslationPrefix Handler method for the "TranslationPrefix" start tag.
startTranslationsBinPath Handler method for the "TranslationPrefix" start tag.
startVcsOptions Handler method for the "VcsOptions" start tag.
startVcsOtherData Handler method for the "VcsOtherData" start tag.

ProjectHandler (Constructor)

ProjectHandler(project)

Constructor

project
Reference to the project object to store the information into.

ProjectHandler.__buildPath

__buildPath()

Private method to assemble a path.

Returns:
The ready assembled path. (string)

ProjectHandler.endAuthor

endAuthor()

Handler method for the "Author" end tag.

ProjectHandler.endCxfreezeParams

endCxfreezeParams()

Handler method for the "CxfreezeParams" end tag.

ProjectHandler.endDescription

endDescription()

Handler method for the "Description" end tag.

ProjectHandler.endDir

endDir()

Handler method for the "Dir" end tag.

ProjectHandler.endEmail

endEmail()

Handler method for the "Email" end tag.

ProjectHandler.endEric3ApiParams

endEric3ApiParams()

Handler method for the "Eric3ApiParams" end tag.

ProjectHandler.endEric3DocParams

endEric3DocParams()

Handler method for the "Eric3DocParams" end tag.

ProjectHandler.endEric4ApiParams

endEric4ApiParams()

Handler method for the "Eric4ApiParams" end tag.

ProjectHandler.endEric4DocParams

endEric4DocParams()

Handler method for the "Eric4DocParams" end tag.

ProjectHandler.endForm

endForm()

Handler method for the "Form" end tag.

ProjectHandler.endInterface

endInterface()

Handler method for the "Interface" end tag.

ProjectHandler.endMainScript

endMainScript()

Handler method for the "MainScript" end tag.

ProjectHandler.endName

endName()

Handler method for the "Name" end tag.

ProjectHandler.endOther

endOther()

Handler method for the "Other" end tag.

ProjectHandler.endProgLanguage

endProgLanguage()

Handler method for the "ProgLanguage" end tag.

ProjectHandler.endPyLintParams

endPyLintParams()

Handler method for the "PyLintParams" end tag.

ProjectHandler.endResource

endResource()

Handler method for the "Resource" end tag.

ProjectHandler.endSource

endSource()

Handler method for the "Source" end tag.

ProjectHandler.endTranslation

endTranslation()

Handler method for the "Translation" end tag.

ProjectHandler.endTranslationException

endTranslationException()

Handler method for the "TranslationException" end tag.

ProjectHandler.endTranslationPrefix

endTranslationPrefix()

Handler method for the "TranslationPrefix" end tag.

ProjectHandler.endTranslationsBinPath

endTranslationsBinPath()

Handler method for the "TranslationPrefix" end tag.

ProjectHandler.endUIType

endUIType()

Handler method for the "UIType" end tag.

ProjectHandler.endVcsOptions

endVcsOptions()

Handler method for the "VcsOptions" end tag.

ProjectHandler.endVcsOtherData

endVcsOtherData()

Handler method for the "VcsOtherData" end tag.

ProjectHandler.endVcsType

endVcsType()

Handler method for the "VcsType" end tag.

ProjectHandler.endVersion

endVersion()

Handler method for the "Version" end tag.

ProjectHandler.getVersion

getVersion()

Public method to retrieve the version of the project.

Returns:
String containing the version number.

ProjectHandler.startCxfreezeParams

startCxfreezeParams(attrs)

Handler method for the "CxfreezeParams" start tag.

attrs
list of tag attributes

ProjectHandler.startDocumentProject

startDocumentProject()

Handler called, when the document parsing is started.

ProjectHandler.startEric4ApiParams

startEric4ApiParams(attrs)

Handler method for the "Eric4ApiParams" start tag.

attrs
list of tag attributes

ProjectHandler.startEric4DocParams

startEric4DocParams(attrs)

Handler method for the "Eric4DocParams" start tag.

attrs
list of tag attributes

ProjectHandler.startFiletypeAssociation

startFiletypeAssociation(attrs)

Handler method for the "FiletypeAssociation" start tag.

attrs
list of tag attributes

ProjectHandler.startForm

startForm(attrs)

Handler method for the "Form" start tag.

attrs
list of tag attributes

ProjectHandler.startInterface

startInterface(attrs)

Handler method for the "Interface" start tag.

attrs
list of tag attributes

ProjectHandler.startMainScript

startMainScript(attrs)

Handler method for the "MainScript" start tag.

attrs
list of tag attributes

ProjectHandler.startOther

startOther(attrs)

Handler method for the "Other" start tag.

attrs
list of tag attributes

ProjectHandler.startProgLanguage

startProgLanguage(attrs)

Handler method for the "Source" start tag.

attrs
list of tag attributes

ProjectHandler.startProject

startProject(attrs)

Handler method for the "Project" start tag.

attrs
list of tag attributes

ProjectHandler.startPyLintParams

startPyLintParams(attrs)

Handler method for the "PyLintParams" start tag.

attrs
list of tag attributes

ProjectHandler.startResource

startResource(attrs)

Handler method for the "Resource" start tag.

attrs
list of tag attributes

ProjectHandler.startSource

startSource(attrs)

Handler method for the "Source" start tag.

attrs
list of tag attributes

ProjectHandler.startTranslation

startTranslation(attrs)

Handler method for the "Translation" start tag.

attrs
list of tag attributes

ProjectHandler.startTranslationException

startTranslationException(attrs)

Handler method for the "TranslationException" start tag.

attrs
list of tag attributes

ProjectHandler.startTranslationPrefix

startTranslationPrefix(attrs)

Handler method for the "TranslationPrefix" start tag.

attrs
list of tag attributes

ProjectHandler.startTranslationsBinPath

startTranslationsBinPath(attrs)

Handler method for the "TranslationPrefix" start tag.

attrs
list of tag attributes

ProjectHandler.startVcsOptions

startVcsOptions(attrs)

Handler method for the "VcsOptions" start tag.

attrs
list of tag attributes

ProjectHandler.startVcsOtherData

startVcsOtherData(attrs)

Handler method for the "VcsOtherData" start tag.

attrs
list of tag attributes

Up