de.ispsoft.jaxme.generator.parselets
Class NullParseletDecorator

java.lang.Object
  extended byde.ispsoft.jaxme.generator.parselets.ParseletDecoratorImpl
      extended byde.ispsoft.jaxme.generator.parselets.NullParseletDecorator
All Implemented Interfaces:
ElementDecorator, ParseletDecorator

public class NullParseletDecorator
extends ParseletDecoratorImpl

Default implementation of a ParseletDecorator for simple elements. Disables Parselet generation.

Author:
Jochen Wiedmann

Constructor Summary
NullParseletDecorator()
          Creates a new instance of NullParseletDecorator.
 
Method Summary
 java.lang.String getNewParseletForParse()
          Returns code that generates a new Parselet instance for parsing.
 java.lang.String getNewParseletForSerialize()
          Returns code that generates a new Parselet instance for serialization.
 java.lang.String getParseletClassName()
          Returns the Parselets class name.
 java.lang.String getParseletPackageName()
          Returns the Parselets package name.
 
Methods inherited from class de.ispsoft.jaxme.generator.parselets.ParseletDecoratorImpl
getParseletQName, init, parseAppInfoNode, setParseletClassName, setParseletPackageName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullParseletDecorator

public NullParseletDecorator()

Creates a new instance of NullParseletDecorator.

Method Detail

getNewParseletForParse

public java.lang.String getNewParseletForParse()

Returns code that generates a new Parselet instance for parsing.

Specified by:
getNewParseletForParse in interface ParseletDecorator
Overrides:
getNewParseletForParse in class ParseletDecoratorImpl
Returns:
The null value

getNewParseletForSerialize

public java.lang.String getNewParseletForSerialize()

Returns code that generates a new Parselet instance for serialization.

Specified by:
getNewParseletForSerialize in interface ParseletDecorator
Overrides:
getNewParseletForSerialize in class ParseletDecoratorImpl
Returns:
The null value

getParseletPackageName

public java.lang.String getParseletPackageName()

Returns the Parselets package name.

Specified by:
getParseletPackageName in interface ParseletDecorator
Overrides:
getParseletPackageName in class ParseletDecoratorImpl

getParseletClassName

public java.lang.String getParseletClassName()

Returns the Parselets class name.

Specified by:
getParseletClassName in interface ParseletDecorator
Overrides:
getParseletClassName in class ParseletDecoratorImpl