Package gnu.kawa.xml

Class NodeConstructor

    • Field Detail

      • options

        protected int options
    • Constructor Detail

      • NodeConstructor

        public NodeConstructor()
    • Method Detail

      • getStringIsText

        public boolean getStringIsText()
        If true, top-level strings are treated as text nodes. This means don't separate them with spaces when printing as XML.
      • setStringIsText

        public void setStringIsText​(boolean stringIsText)
      • popNodeConsumer

        public static void popNodeConsumer​(Consumer saved,
                                           Consumer current)
      • compileUsingNodeTree

        public static void compileUsingNodeTree​(Expression exp,
                                                Compilation comp,
                                                Target target)
        Compile an expression using a fresh NodeTree. Compare with ConsumerTarget.compileUsingConsumer, but creates a NodeTree.
      • makeNode

        public static XMLFilter makeNode()
      • isSideEffectFree

        public boolean isSideEffectFree()
        Description copied from class: Procedure
        True if this Procedure (definitely) has no side-effects. Note side-effect-free does not imply idempotent if this allocates an object with "identity".
        Overrides:
        isSideEffectFree in class Procedure
      • writeContentS

        public static void writeContentS​(Object arg,
                                         Consumer out)
      • writeContent

        public static void writeContent​(Object arg,
                                        Consumer out)
      • writeContent1

        protected static void writeContent1​(Object arg,
                                            Consumer out)