Class ProcessingInstruction

    • Field Detail

      • target

        private java.lang.String target
      • whitespace

        private java.lang.String whitespace
      • text

        private java.lang.String text
    • Constructor Detail

      • ProcessingInstruction

        public ProcessingInstruction​(Token token)
      • ProcessingInstruction

        public ProcessingInstruction​(java.lang.String target)
      • ProcessingInstruction

        public ProcessingInstruction​(java.lang.String target,
                                     java.lang.String text)
    • Method Detail

      • updateValue

        protected void updateValue()
      • getTarget

        public java.lang.String getTarget()
      • setTarget

        public void setTarget​(java.lang.String target)
      • getText

        public java.lang.String getText()
        Description copied from interface: TextNode
        Get the text from the node
        Specified by:
        getText in interface TextNode
      • setText

        public ProcessingInstruction setText​(java.lang.String text)
        Description copied from interface: TextNode
        Change the text of the node. When necessary, the text will be escaped before writing it to the output stream.
        Specified by:
        setText in interface TextNode