|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=SOURCE) @Target(value=PACKAGE) public @interface NodeTypeDefs
A package annotation that triggers node type generation for any Chromattic classes found in the annotated
package. The node types are generated in a resource named by default nodetypes.xml in the annotated
package. This resource should be available later at runtimpe via the ClassLoader.getResource(String)
mechanism.
Class inclusion can be controlled and extended to sub packages with the deep() parameter.
Namespace can be declared and mapped to qualified name prefix to declare namespacing of the node types. For that matter the {#namespaces} parameter can be used.
| Optional Element Summary | |
|---|---|
boolean |
deep
Controls the inclusion of node types from sub packages of the annotated package. |
NamespaceMapping[] |
namespaces
Defines the set of namespaces mapped in this node type definition declaration. |
public abstract boolean deep
public abstract NamespaceMapping[] namespaces
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||