Class Parser

    • Constructor Detail

      • Parser

        public Parser​(java.io.Reader src)
      • Parser

        public Parser​(java.io.InputStream in)
    • Method Detail

      • tag

        protected void tag​(java.lang.String name,
                           TagProperties atts,
                           boolean endTag,
                           boolean emptyTag)
        Description copied from class: DocumentParser
        This method emits a tag It should be overridden by the subclass
        Specified by:
        tag in class DocumentParser
      • pi

        protected void pi​(java.lang.String target,
                          java.lang.String data)
        Description copied from class: DocumentParser
        This method emits a pi It should be overridden by the subclass
        Specified by:
        pi in class DocumentParser
      • doctype

        protected void doctype​(java.lang.String root,
                               java.lang.String publicId,
                               java.lang.String systemId)
        Description copied from class: DocumentParser
        This method emits a doctype. Internal subset information is discarded It should be overridden by the subclass
        Specified by:
        doctype in class DocumentParser
      • flush

        protected void flush​(char[] buf,
                             int offset,
                             int length)
        Description copied from class: DocumentParser
        This method creates a block of text for a document. It should be overridden by the subclass
        Specified by:
        flush in class DocumentParser
      • comment

        protected void comment​(java.lang.String s)
        Description copied from class: DocumentParser
        This method inserts a comment It should be overridden by the subclass
        Specified by:
        comment in class DocumentParser
      • errorString

        protected void errorString​(java.lang.String s)
        Description copied from class: DocumentParser
        This method inserts a parse error string into the document It should be overridden by the subclass
        Specified by:
        errorString in class DocumentParser
      • documentAttribute

        protected java.lang.String documentAttribute​(java.lang.String name)
        Description copied from class: DocumentParser
        This method looks up a &xxx; sequence in the document properties (this is used for templates). A return of null means the proerty is undefined. It should be overridden by the subclass
        Specified by:
        documentAttribute in class DocumentParser
      • addParserListener

        public void addParserListener​(ParserListener l)
      • removeParserListener

        public void removeParserListener​(ParserListener l)