Class CloseElementTag

    • Field Detail

      • trailingWhiteSpace

        final java.lang.String trailingWhiteSpace
      • unmatched

        final boolean unmatched
    • Constructor Detail

      • CloseElementTag

        CloseElementTag​(TemplateMode templateMode,
                        ElementDefinition elementDefinition,
                        java.lang.String elementCompleteName,
                        java.lang.String trailingWhiteSpace,
                        boolean synthetic,
                        boolean unmatched)
      • CloseElementTag

        CloseElementTag​(TemplateMode templateMode,
                        ElementDefinition elementDefinition,
                        java.lang.String elementCompleteName,
                        java.lang.String trailingWhiteSpace,
                        boolean synthetic,
                        boolean unmatched,
                        java.lang.String templateName,
                        int line,
                        int col)
    • Method Detail

      • isUnmatched

        public boolean isUnmatched()
        Description copied from interface: ICloseElementTag

        Returns whether this close tag is unmatched, i.e. there is no corresponding previous open tag for it.

        Specified by:
        isUnmatched in interface ICloseElementTag
        Returns:
        true if the tag is unmatched, false if not.
      • write

        public void write​(java.io.Writer writer)
                   throws java.io.IOException
        Description copied from interface: ITemplateEvent

        Writes this event to the specified Writer.

        Template output performed at OutputTemplateHandler is done by calling these methods at each of the events resulting from template processing.

        Specified by:
        write in interface ITemplateEvent
        Parameters:
        writer - the writer this event should be written to.
        Throws:
        java.io.IOException - if an input/output exception occurs.