Class AnnotationItem

    • Field Detail

      • m_source

        private java.lang.String m_source
        Annotation item source.
      • m_content

        private java.util.List m_content
        Content of annotation item.
    • 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
      • getChildIterator

        public java.util.Iterator getChildIterator()
        Description copied from class: SchemaBase
        Get read-only iterator for child elements.
        Specified by:
        getChildIterator in class SchemaBase
        Returns:
        iterator
      • getSource

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

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

        public final java.util.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​(org.w3c.dom.Node node)
        Add annotation item content node.
        Parameters:
        node - annotation item content node