Class TransformableDefinition

    • Constructor Detail

      • TransformableDefinition

        public TransformableDefinition​(Definition delegate)
    • Method Detail

      • getAnnotation

        public <A> A getAnnotation​(QName qname)
        Description copied from interface: Definition
        Returns generic definition annotation. Annotations are a method to extend schema definitions. This may be annotation stored in the schema definition file (e.g. XSD) or it may be a dynamic annotation determined at run-time. Annotation value should be a prism-supported object. E.g. a prims "bean" (JAXB annotated class), prism item, prism value or something like that. EXPERIMENTAL. Hic sunt leones. This may change at any moment. Note: annotations are only partially supported now (3.8). They are somehow transient. E.g. they are not serialized to XSD schema definitions (yet).
        Specified by:
        getAnnotation in interface Definition
        Specified by:
        getAnnotation in interface DefinitionDelegator
      • annotationsOverrides

        protected Map<QName,​Object> annotationsOverrides()