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 Object implements SchemaCodePrinter
Prints the java code for a single schema type
-
-
Field Summary
Fields Modifier and Type Field Description static StringINDEX_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 StringindexClassForSystem(SchemaTypeSystem system)static StringjavaStringEscape(String str)voidprintLoader(Writer writer, SchemaTypeSystem system)Deprecated.static voidprintLoader(Writer writer, SchemaTypeSystem system, XmlOptions opt)Deprecated.voidprintType(Writer writer, SchemaType sType)static voidprintType(Writer writer, SchemaType sType, XmlOptions opt)voidprintTypeImpl(Writer writer, SchemaType sType)static voidprintTypeImpl(Writer writer, SchemaType sType, XmlOptions opt)
-
-
-
Field Detail
-
INDEX_CLASSNAME
public static final String INDEX_CLASSNAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SchemaTypeCodePrinter
public SchemaTypeCodePrinter(XmlOptions opt)
-
-
Method Detail
-
printTypeImpl
public static void printTypeImpl(Writer writer, SchemaType sType, XmlOptions opt) throws IOException
- Throws:
IOException
-
printType
public static void printType(Writer writer, SchemaType sType, XmlOptions opt) throws IOException
- Throws:
IOException
-
printLoader
public static void printLoader(Writer writer, SchemaTypeSystem system, XmlOptions opt) throws IOException
Deprecated.- Throws:
IOException
-
printType
public void printType(Writer writer, SchemaType sType) throws IOException
- Specified by:
printTypein interfaceSchemaCodePrinter- Throws:
IOException
-
printTypeImpl
public void printTypeImpl(Writer writer, SchemaType sType) throws IOException
- Specified by:
printTypeImplin interfaceSchemaCodePrinter- Throws:
IOException
-
indexClassForSystem
public static String indexClassForSystem(SchemaTypeSystem system)
-
printLoader
public void printLoader(Writer writer, SchemaTypeSystem system) throws IOException
Deprecated.- Specified by:
printLoaderin interfaceSchemaCodePrinter- Throws:
IOException
-
-