Package gnu.kawa.xslt

Class XslTranslator

    • Method Detail

      • popMatchingAttribute

        public String popMatchingAttribute​(String ns,
                                           String name,
                                           int start)
      • startAttribute

        public void startAttribute​(Object attrType)
        Description copied from interface: Consumer
        Write a attribute for the current element. This is only allowed immediately after a startElement.
        Specified by:
        startAttribute in interface Consumer
      • endAttribute

        public void endAttribute()
        Description copied from interface: Consumer
        End of an attribute or end of an actual parameter. The former use matches a startAttribute; the latter may not, and can be used to separate parameters in a parameter list. This double duty suggsts the method should at least be re-named.
        Specified by:
        endAttribute in interface Consumer
      • write

        public void write​(int v)
        Specified by:
        write in interface Consumer
      • writeBoolean

        public void writeBoolean​(boolean v)
        Specified by:
        writeBoolean in interface Consumer
      • writeFloat

        public void writeFloat​(float v)
        Specified by:
        writeFloat in interface Consumer
      • writeDouble

        public void writeDouble​(double v)
        Specified by:
        writeDouble in interface Consumer
      • writeInt

        public void writeInt​(int v)
        Specified by:
        writeInt in interface Consumer
      • writeLong

        public void writeLong​(long v)
        Specified by:
        writeLong in interface Consumer
      • startDocument

        public void startDocument​(ModuleExp mexp)
      • write

        public void write​(char[] buf,
                          int off,
                          int len)
        Specified by:
        write in interface Consumer
      • ignoring

        public boolean ignoring()
        Description copied from interface: Consumer
        True if consumer is ignoring rest of element. The producer can use this information to skip ahead.
        Specified by:
        ignoring in interface Consumer
      • getExpression

        public Expression getExpression()
      • error

        public void error​(char kind,
                          String message)
        Overrides:
        error in class Lexer