# eric3.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.
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.
endSource | Handler method for the "Source" end tag.
endTranslation | Handler method for the "Translation" end tag.
endTranslationPrefix | 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.
startDocumentProject | Handler called, when the document parsing is started.
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.
startSource | Handler method for the "Source" start tag.
startTranslation | Handler method for the "Translation" start tag.
startTranslationPrefix | Handler method for the "TranslationPrefix" 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.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.endSource

endSource()

Handler method for the "Source" end tag.

### ProjectHandler.endTranslation

endTranslation()

Handler method for the "Translation" end tag.

### ProjectHandler.endTranslationPrefix

endTranslationPrefix()

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.startDocumentProject

startDocumentProject()

Handler called, when the document parsing is started.

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

startTranslationPrefix(attrs)

Handler method for the "TranslationPrefix" start tag.

attrs
  list of tag attributes

Up