Class SchemaTypeCodePrinter

  • All Implemented Interfaces:
    SchemaCodePrinter

    public final class SchemaTypeCodePrinter
    extends java.lang.Object
    implements SchemaCodePrinter
    Prints the java code for a single schema type
    • Field Detail

    • Constructor Detail

      • SchemaTypeCodePrinter

        public SchemaTypeCodePrinter​(XmlOptions opt)
    • Method Detail

      • printTypeImpl

        public static void printTypeImpl​(java.io.Writer writer,
                                         SchemaType sType,
                                         XmlOptions opt)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • printType

        public static void printType​(java.io.Writer writer,
                                     SchemaType sType,
                                     XmlOptions opt)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • printLoader

        public static void printLoader​(java.io.Writer writer,
                                       SchemaTypeSystem system,
                                       XmlOptions opt)
                                throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • printType

        public void printType​(java.io.Writer writer,
                              SchemaType sType)
                       throws java.io.IOException
        Specified by:
        printType in interface SchemaCodePrinter
        Throws:
        java.io.IOException
      • printTypeImpl

        public void printTypeImpl​(java.io.Writer writer,
                                  SchemaType sType)
                           throws java.io.IOException
        Specified by:
        printTypeImpl in interface SchemaCodePrinter
        Throws:
        java.io.IOException
      • indexClassForSystem

        public static java.lang.String indexClassForSystem​(SchemaTypeSystem system)
      • javaStringEscape

        public static java.lang.String javaStringEscape​(java.lang.String str)