Class ProcessingInstruction

    • Field Detail

      • target

        private final java.lang.String target
      • content

        private final java.lang.String content
      • processingInstruction

        private final java.lang.String processingInstruction
    • Constructor Detail

      • ProcessingInstruction

        ProcessingInstruction​(java.lang.String target,
                              java.lang.String content)
      • ProcessingInstruction

        ProcessingInstruction​(java.lang.String processingInstruction,
                              java.lang.String target,
                              java.lang.String content,
                              java.lang.String templateName,
                              int line,
                              int col)
    • Method Detail

      • computeProcessingInstruction

        private java.lang.String computeProcessingInstruction()
      • 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object