# eric4.E4XML.ProjectHandler

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

### Global Attributes

None

### 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

### Class Attributes

None

### Class Methods

None

### Methods

ProjectHandler | Constructor
__buildPath | Private method to assemble a path.
endAuthor | Handler method for the "Author" end tag.
endCheckersParams | Handler method for the "CheckersParams" 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.
endDocumentationParams | Handler method for the "DocumentationParams" 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.
endLanguage | Handler method for the "Language" 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.
endOtherToolsParams | Handler method for the "OtherToolsParams" end tag.
endPackagersParams | Handler method for the "PackagersParams" end tag.
endProgLanguage | Handler method for the "ProgLanguage" end tag.
endProjectExcludeList | Handler method for the "ProjectExcludeList" end tag.
endProjectType | Handler method for the "ProjectType" end tag.
endProjectTypeSpecificData | Handler method for the "ProjectTypeSpecificData" end tag.
endProjectWordList | Handler method for the "ProjectWordList" 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.
endTranslationPattern | Handler method for the "TranslationPattern" end tag.
endTranslationPrefix | Handler method for the "TranslationPrefix" end tag.
endTranslationsBinPath | Handler method for the "TranslationsBinPath" 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.
startCheckersParams | Handler method for the "CheckersParams" start tag.
startCxfreezeParams | Handler method for the "CxfreezeParams" start tag.
startDocumentProject | Handler called, when the document parsing is started.
startDocumentationParams | Handler method for the "DocumentationParams" start tag.
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.
startLexerAssociation | Handler method for the "LexerAssociation" start tag.
startMainScript | Handler method for the "MainScript" start tag.
startOther | Handler method for the "Other" start tag.
startOtherToolsParams | Handler method for the "OtherToolsParams" start tag.
startPackagersParams | Handler method for the "PackagersParams" start tag.
startProgLanguage | Handler method for the "Source" start tag.
startProject | Handler method for the "Project" start tag.
startProjectTypeSpecificData | Handler method for the "ProjectTypeSpecificData" 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 "TranslationsBinPath" start tag.
startVcsOptions | Handler method for the "VcsOptions" start tag.
startVcsOtherData | Handler method for the "VcsOtherData" start tag.

### Static Methods

None

#### 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.endCheckersParams

endCheckersParams()

Handler method for the "CheckersParams" 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.endDocumentationParams

endDocumentationParams()

Handler method for the "DocumentationParams" 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.endLanguage

endLanguage()

Handler method for the "Language" 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.endOtherToolsParams

endOtherToolsParams()

Handler method for the "OtherToolsParams" end tag.

#### ProjectHandler.endPackagersParams

endPackagersParams()

Handler method for the "PackagersParams" end tag.

#### ProjectHandler.endProgLanguage

endProgLanguage()

Handler method for the "ProgLanguage" end tag.

#### ProjectHandler.endProjectExcludeList

endProjectExcludeList()

Handler method for the "ProjectExcludeList" end tag.

#### ProjectHandler.endProjectType

endProjectType()

Handler method for the "ProjectType" end tag.

#### ProjectHandler.endProjectTypeSpecificData

endProjectTypeSpecificData()

Handler method for the "ProjectTypeSpecificData" end tag.

#### ProjectHandler.endProjectWordList

endProjectWordList()

Handler method for the "ProjectWordList" 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.endTranslationPattern

endTranslationPattern()

Handler method for the "TranslationPattern" end tag.

#### ProjectHandler.endTranslationPrefix

endTranslationPrefix()

Handler method for the "TranslationPrefix" end tag.

#### ProjectHandler.endTranslationsBinPath

endTranslationsBinPath()

Handler method for the "TranslationsBinPath" 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.startCheckersParams

startCheckersParams(attrs)

Handler method for the "CheckersParams" start tag.

attrs
  list of tag attributes

#### 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.startDocumentationParams

startDocumentationParams(attrs)

Handler method for the "DocumentationParams" start tag.

attrs
  list of tag attributes

#### 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.startLexerAssociation

startLexerAssociation(attrs)

Handler method for the "LexerAssociation" 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.startOtherToolsParams

startOtherToolsParams(attrs)

Handler method for the "OtherToolsParams" start tag.

attrs
  list of tag attributes

#### ProjectHandler.startPackagersParams

startPackagersParams(attrs)

Handler method for the "PackagersParams" 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.startProjectTypeSpecificData

startProjectTypeSpecificData(attrs)

Handler method for the "ProjectTypeSpecificData" 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 "TranslationsBinPath" 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