org.argouml.notation.providers.java
Class AttributeNotationJava

java.lang.Object
  extended by org.argouml.notation.NotationProvider
      extended by org.argouml.notation.providers.AttributeNotation
          extended by org.argouml.notation.providers.java.AttributeNotationJava

public class AttributeNotationJava
extends AttributeNotation


Constructor Summary
protected AttributeNotationJava()
          The constructor.
 
Method Summary
static AttributeNotationJava getInstance()
           
 java.lang.String getParsingHelp()
           
 void parse(java.lang.Object modelElement, java.lang.String text)
          Parses the given text, and adapts the modelElement and maybe related elements accordingly.
 java.lang.String toString(java.lang.Object modelElement, java.util.Map args)
          Generates a string representation for the given model element.
 
Methods inherited from class org.argouml.notation.providers.AttributeNotation
initialiseListener, updateListener
 
Methods inherited from class org.argouml.notation.NotationProvider
addElementListener, addElementListener, addElementListener, cleanListener, isValue, removeAllElementListeners, removeElementListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeNotationJava

protected AttributeNotationJava()
The constructor.

Method Detail

getInstance

public static final AttributeNotationJava getInstance()

getParsingHelp

public java.lang.String getParsingHelp()
Specified by:
getParsingHelp in class NotationProvider
Returns:
a i18 key that represents a help string giving an explanation to the user of the syntax

parse

public void parse(java.lang.Object modelElement,
                  java.lang.String text)
Description copied from class: NotationProvider
Parses the given text, and adapts the modelElement and maybe related elements accordingly.

Specified by:
parse in class NotationProvider
Parameters:
modelElement - the modelelement to adapt
text - the string given by the user to be parsed to adapt the model

toString

public java.lang.String toString(java.lang.Object modelElement,
                                 java.util.Map args)
Description copied from class: NotationProvider
Generates a string representation for the given model element.

Specified by:
toString in class NotationProvider
Parameters:
modelElement - the base UML modelelement
args - arguments that may determine the notation
Returns:
the string written in the correct notation


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook