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.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 java.lang.StringindexClassForSystem(SchemaTypeSystem system)static java.lang.StringjavaStringEscape(java.lang.String str)voidprintLoader(java.io.Writer writer, SchemaTypeSystem system)Deprecated.static voidprintLoader(java.io.Writer writer, SchemaTypeSystem system, XmlOptions opt)Deprecated.voidprintType(java.io.Writer writer, SchemaType sType)static voidprintType(java.io.Writer writer, SchemaType sType, XmlOptions opt)voidprintTypeImpl(java.io.Writer writer, SchemaType sType)static voidprintTypeImpl(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.IOExceptionDeprecated.- Throws:
java.io.IOException
-
printType
public void printType(java.io.Writer writer, SchemaType sType) throws java.io.IOException- Specified by:
printTypein interfaceSchemaCodePrinter- Throws:
java.io.IOException
-
printTypeImpl
public void printTypeImpl(java.io.Writer writer, SchemaType sType) throws java.io.IOException- Specified by:
printTypeImplin 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.IOExceptionDeprecated.- Specified by:
printLoaderin interfaceSchemaCodePrinter- Throws:
java.io.IOException
-
javaStringEscape
public static java.lang.String javaStringEscape(java.lang.String str)
-
-