|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.ispsoft.jaxme.generator.decorators.ElementDecoratorFactoryImpl
de.ispsoft.jaxme.generator.parselets.ParseletDecoratorFactory
Default implementation of ParseletGeneratorFactory.
| Field Summary | |
static java.lang.String |
PARSELET_SCHEMA_URI
The Parselet namespace |
| Constructor Summary | |
ParseletDecoratorFactory()
Creates a new instance of ParseletDecoratorFactory. |
|
| Method Summary | |
ElementDecorator |
getElementDecorator(SchemaAnnotationOwner pParent,
SchemaElement pSchemaElement,
ParserData pParserData,
org.w3c.dom.Element pNode)
Called for creating a new ElementDecorator, which is attached to an element or attribute pSchemaElement.
|
SourceWriter |
getSourceWriter(Schema pSchema,
ParserData pParserData,
org.w3c.dom.Element pSchemaNode)
Called for creating a SourceWriter. |
void |
init(Schema pSchema,
org.w3c.dom.Element pSchemaNode,
ParserData pParserData,
org.w3c.dom.Element pFactoryNode)
Initializes the ParseletDecoratorFactory. |
| Methods inherited from class de.ispsoft.jaxme.generator.decorators.ElementDecoratorFactoryImpl |
getDecoratorDeclaration, getSourceWriterDeclaration, isDecoratorDeclaration, isSourceWriterDeclaration, newDefaultElementDecorator, newElementDecorator, newSourceWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PARSELET_SCHEMA_URI
The Parselet namespace
| Constructor Detail |
public ParseletDecoratorFactory()
Creates a new instance of ParseletDecoratorFactory.
| Method Detail |
public ElementDecorator getElementDecorator(SchemaAnnotationOwner pParent,
SchemaElement pSchemaElement,
ParserData pParserData,
org.w3c.dom.Element pNode)
throws SchemaException
Called for creating a new ElementDecorator, which
is attached to an element or attribute pSchemaElement.
The ElementDecorator may register decorator specific data to the
given pSchemaElement and/or pParserData.
getElementDecorator in interface ElementDecoratorFactorygetElementDecorator in class ElementDecoratorFactoryImplpParent - The elements or attributes parent. An instance
of Schema, if this is a root element or attribute. Otherwise
an instance of SchemaElement.pSchemaElement - The element or attribute being decorated.pParserData - An object for storing data that applies
recursively.pNode - The DOM node defining the element or attribute.
pSchemaElement or null, if no decorator
should be attached.
SchemaException
public SourceWriter getSourceWriter(Schema pSchema,
ParserData pParserData,
org.w3c.dom.Element pSchemaNode)
Called for creating a SourceWriter.
getSourceWriter in interface ElementDecoratorFactorygetSourceWriter in class ElementDecoratorFactoryImpl
public void init(Schema pSchema,
org.w3c.dom.Element pSchemaNode,
ParserData pParserData,
org.w3c.dom.Element pFactoryNode)
throws SchemaException
Initializes the ParseletDecoratorFactory.
init in interface ElementDecoratorFactoryinit in class ElementDecoratorFactoryImplpSchema - The schema being read.pSchemaNode - The schema's DOM nodepParserData - For storing data that applies recursively.pFactoryNode - The factories DOM node
SchemaException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||