Class AnnotatedBase

    • Field Detail

      • s_allowedAttributes

        public static final StringArray s_allowedAttributes
        Enumeration of allowed attribute names
      • m_annotation

        private AnnotationElement m_annotation
        Annotation for this element (null if none).
      • m_id

        private java.lang.String m_id
        "id" attribute value.
    • Constructor Detail

      • AnnotatedBase

        protected AnnotatedBase​(int type)
        Constructor.
        Parameters:
        type - element type
    • Method Detail

      • getAnnotation

        public final AnnotationElement getAnnotation()
        Get annotation.
        Returns:
        annotation element (null if none)
      • setAnnotation

        public final void setAnnotation​(AnnotationElement ann)
        Set annotation.
        Parameters:
        ann - annotation element (null if none)
      • getId

        public java.lang.String getId()
        Get "id" attribute value.
        Returns:
        id attribute value
      • setId

        public void setId​(java.lang.String id)
        Set "id" value for element.
        Parameters:
        id - id attribute value
      • prevalidate

        public void prevalidate​(ValidationContext vctx)
        Description copied from class: SchemaBase
        Prevalidate component information. The prevalidation step is used to check isolated aspects of a component, such as the settings for enumerated values. This empty base class implementation should be overridden by each subclass that requires prevalidation handling.
        Specified by:
        prevalidate in interface IComponent
        Overrides:
        prevalidate in class SchemaBase
        Parameters:
        vctx - validation context