|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.ispsoft.jaxme.generator.parselets.ParseletDecoratorImpl
Default implementation of a ParseletDecorator, for deriving subclasses.
| Constructor Summary | |
ParseletDecoratorImpl()
Creates a new instance of ParseletDecoratorImpl |
|
| 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, without any package. |
java.lang.String |
getParseletPackageName()
Returns the Parselets package name. |
java.lang.String |
getParseletQName()
Returns the generated parselets fully qualified name, including the package name. |
void |
init(SchemaAnnotationOwner pParent,
SchemaElement pElement,
ParserData pParserData,
org.w3c.dom.Element pNode)
Initializes the ParseletDecorator with the settings being read from the various arguments. |
void |
parseAppInfoNode(SchemaAnnotationOwner pParent,
SchemaElement pSchemaElement,
ParserData pParserData,
org.w3c.dom.Element pNode)
Does nothing. |
void |
setParseletClassName(java.lang.String pParseletClassName)
Sets the generated parselets class name. |
void |
setParseletPackageName(java.lang.String pParseletPackageName)
Sets the generated parselets package name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParseletDecoratorImpl()
| Method Detail |
public void parseAppInfoNode(SchemaAnnotationOwner pParent,
SchemaElement pSchemaElement,
ParserData pParserData,
org.w3c.dom.Element pNode)
throws SchemaException
Does nothing.
parseAppInfoNode in interface ElementDecoratorpParent - The elements or attributes parent. An instance
of Schema, if this is a root element or attribute. Otherwise
an instance of SchemaElement.pSchemaElement - The SchemaElement created by the XsdSchemaReader.pParserData - The ParserData element created by the
XsdSchemaReader; the decorator may use
pParserData.getDecoratorData(this);
to obtain its decorator specific detail object.pNode - The element being parsed.
SchemaExceptionElementDecorator.parseAppInfoNode(de.ispsoft.jaxme.generator.SchemaAnnotationOwner, de.ispsoft.jaxme.generator.SchemaElement, de.ispsoft.jaxme.generator.parserdata.ParserData, org.w3c.dom.Element)public void setParseletClassName(java.lang.String pParseletClassName)
Sets the generated parselets class name.
public void setParseletPackageName(java.lang.String pParseletPackageName)
Sets the generated parselets package name.
public java.lang.String getParseletQName()
Returns the generated parselets fully qualified name, including the package name.
public java.lang.String getNewParseletForParse()
Returns code that generates a new Parselet instance for parsing.
getNewParseletForParse in interface ParseletDecoratorpublic java.lang.String getNewParseletForSerialize()
Returns code that generates a new Parselet instance for serialization.
getNewParseletForSerialize in interface ParseletDecoratorpublic java.lang.String getParseletClassName()
Returns the Parselets class name, without any package.
getParseletClassName in interface ParseletDecoratorpublic java.lang.String getParseletPackageName()
Returns the Parselets package name.
getParseletPackageName in interface ParseletDecorator
public void init(SchemaAnnotationOwner pParent,
SchemaElement pElement,
ParserData pParserData,
org.w3c.dom.Element pNode)
throws SchemaException
Initializes the ParseletDecorator with the settings being read from the various arguments.
init in interface ParseletDecoratorSchemaException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||