Package gnu.kawa.xml

Class MakeElement

    • Field Detail

      • makeElementS

        public static final MakeElement makeElementS
      • tag

        public Symbol tag
        Optional tag. If non-null, the element tag is this value, rather than the first parameter.
    • Constructor Detail

      • MakeElement

        public MakeElement()
    • Method Detail

      • numArgs

        public int numArgs()
        Description copied from class: Procedure
        Return minArgs()|(maxArgs<<12). We use a single virtual function to reduce the number of methods in the system, as well as the number of virtual method table entries. We shift by 12 so the number can normally be represented using a sipush instruction, without requiring a constant pool entry.
        Overrides:
        numArgs in class Procedure
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Procedure
      • getCopyNamespacesMode

        public int getCopyNamespacesMode()
      • setCopyNamespacesMode

        public void setCopyNamespacesMode​(int val)
      • isHandlingKeywordParameters

        public boolean isHandlingKeywordParameters()
        Should KEYWORD: EXPRESSION be mapped to an attribute constructor?
      • setHandlingKeywordParameters

        public void setHandlingKeywordParameters​(boolean value)
      • setNamespaceNodes

        public void setNamespaceNodes​(NamespaceBinding bindings)
      • startElement

        public static void startElement​(Consumer out,
                                        Symbol qname,
                                        int copyNamespacesMode)
      • endElement

        public static void endElement​(Consumer out,
                                      java.lang.Object type)
      • applyToConsumerME

        public static java.lang.Object applyToConsumerME​(Procedure proc,
                                                         CallContext ctx)
                                                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException