Class AnnotationItem

    • Constructor Detail

      • AnnotationItem

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

      • getChildCount

        public int getChildCount()
        Description copied from class: SchemaBase
        Get count of child elements.
        Specified by:
        getChildCount in class SchemaBase
        Returns:
        child count
      • getSource

        public String getSource()
        Get annotation item source.
        Returns:
        item source
      • setSource

        public void setSource​(String source)
        Set annotation item source.
        Parameters:
        source - item source
      • getContent

        public final List getContent()
        Get annotation item content list. This is a list consisting of DOM nodes.
        Returns:
        annotation content list
      • clearContent

        public final void clearContent()
        Clear annotation item content.
      • addContent

        public final void addContent​(Node node)
        Add annotation item content node.
        Parameters:
        node - annotation item content node