Package org.apache.xmlbeans.impl.schema
Class SchemaTypeCodePrinter
- java.lang.Object
-
- org.apache.xmlbeans.impl.schema.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 Summary
Fields Modifier and Type Field Description static java.lang.String
INDEX_CLASSNAME
-
Constructor Summary
Constructors Constructor Description SchemaTypeCodePrinter(XmlOptions opt)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
indexClassForSystem(SchemaTypeSystem system)
static java.lang.String
javaStringEscape(java.lang.String str)
void
printLoader(java.io.Writer writer, SchemaTypeSystem system)
Deprecated.static void
printLoader(java.io.Writer writer, SchemaTypeSystem system, XmlOptions opt)
Deprecated.void
printType(java.io.Writer writer, SchemaType sType)
static void
printType(java.io.Writer writer, SchemaType sType, XmlOptions opt)
void
printTypeImpl(java.io.Writer writer, SchemaType sType)
static void
printTypeImpl(java.io.Writer writer, SchemaType sType, XmlOptions opt)
-
-
-
Field Detail
-
INDEX_CLASSNAME
public static final java.lang.String INDEX_CLASSNAME
- See Also:
- Constant Field Values
-
-
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 interfaceSchemaCodePrinter
- Throws:
java.io.IOException
-
printTypeImpl
public void printTypeImpl(java.io.Writer writer, SchemaType sType) throws java.io.IOException
- Specified by:
printTypeImpl
in interfaceSchemaCodePrinter
- Throws:
java.io.IOException
-
indexClassForSystem
public static java.lang.String indexClassForSystem(SchemaTypeSystem system)
-
printLoader
public void printLoader(java.io.Writer writer, SchemaTypeSystem system) throws java.io.IOException
Deprecated.- Specified by:
printLoader
in interfaceSchemaCodePrinter
- Throws:
java.io.IOException
-
javaStringEscape
public static java.lang.String javaStringEscape(java.lang.String str)
-
-