|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.argouml.persistence.SAXParserBase
org.argouml.persistence.ArgoParser
| Field Summary |
| Fields inherited from class org.argouml.persistence.SAXParserBase |
DBG |
| Constructor Summary | |
ArgoParser()
The constructor. |
|
| Method Summary | |
List |
getMemberList()
Get the numer of diagram members read. |
Project |
getProject()
Get the project to which the URL is to be parsed. |
protected void |
handleArgo(XMLElement e)
|
protected void |
handleAuthorEmail(XMLElement e)
|
protected void |
handleAuthorName(XMLElement e)
|
protected void |
handleDefaultShadowWidth(XMLElement e)
|
protected void |
handleDescription(XMLElement e)
|
protected void |
handleDocumentation(XMLElement e)
|
void |
handleEndElement(XMLElement e)
Implement in the concrete class to handle reaching the end tag of an element of interest. |
protected void |
handleHistoryfile(XMLElement e)
|
protected void |
handleMember(XMLElement e)
|
protected void |
handleNotationLanguage(XMLElement e)
|
protected void |
handleSearchpath(XMLElement e)
|
protected void |
handleSettings(XMLElement e)
|
protected void |
handleShowInitialValue(XMLElement e)
|
protected void |
handleShowMultiplicity(XMLElement e)
|
protected void |
handleShowProperties(XMLElement e)
|
protected void |
handleShowStereotypes(XMLElement e)
|
protected void |
handleShowTypes(XMLElement e)
|
protected void |
handleShowVisibility(XMLElement e)
|
void |
handleStartElement(XMLElement e)
Implement in the concrete class to handle reaching the start tag of an element of interest. |
protected void |
handleUseGuillemots(XMLElement e)
|
protected void |
handleVersion(XMLElement e)
|
protected boolean |
isElementOfInterest(String name)
Determine if an element of the given name is of interest to the parser. |
void |
readProject(Project theProject,
InputStream is)
|
void |
setProject(Project newProj)
Set the project to which the URL is to be parsed. |
| Methods inherited from class org.argouml.persistence.SAXParserBase |
characters, endElement, getJarResource, getParseTime, getStats, ignoreElement, notImplemented, parse, resolveEntity, setStats, startElement |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ArgoParser()
| Method Detail |
public void readProject(Project theProject,
InputStream is)
throws SAXException
theProject - the project to populateis - the inputStream
SAXException - on error when parsing xmlpublic Project getProject()
public void setProject(Project newProj)
newProj - the project
public void handleStartElement(XMLElement e)
throws SAXException
SAXParserBase
handleStartElement in class SAXParserBasee - the element.
SAXException - on any error parsing the element.SAXParserBase.handleStartElement(
org.argouml.persistence.XMLElement)
public void handleEndElement(XMLElement e)
throws SAXException
SAXParserBase
handleEndElement in class SAXParserBasee - the element.
SAXException - on any error parsing the element.SAXParserBase.handleEndElement(
org.argouml.persistence.XMLElement)protected boolean isElementOfInterest(String name)
SAXParserBase
isElementOfInterest in class SAXParserBasename - the element name.
SAXParserBase.isElementOfInterest(String)protected void handleArgo(XMLElement e)
e - the elementprotected void handleDocumentation(XMLElement e)
e - the elementprotected void handleSettings(XMLElement e)
e - the elementprotected void handleAuthorName(XMLElement e)
e - the elementprotected void handleAuthorEmail(XMLElement e)
e - the elementprotected void handleVersion(XMLElement e)
e - the elementprotected void handleDescription(XMLElement e)
e - the elementprotected void handleSearchpath(XMLElement e)
e - the element
protected void handleMember(XMLElement e)
throws SAXException
e - the element
SAXException - on any error parsing the member XML.protected void handleHistoryfile(XMLElement e)
e - the elementprotected void handleNotationLanguage(XMLElement e)
e - the elementprotected void handleUseGuillemots(XMLElement e)
e - the elementprotected void handleShowVisibility(XMLElement e)
e - the elementprotected void handleShowMultiplicity(XMLElement e)
e - the elementprotected void handleShowInitialValue(XMLElement e)
e - the elementprotected void handleShowProperties(XMLElement e)
e - the elementprotected void handleShowTypes(XMLElement e)
e - the elementprotected void handleShowStereotypes(XMLElement e)
e - the elementprotected void handleDefaultShadowWidth(XMLElement e)
e - the elementpublic List getMemberList()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |