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
-
-
Constructor Summary
Constructors Constructor Description SchemaTypeCodePrinter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringindexClassForSystem(SchemaTypeSystem system)static java.lang.StringjavaStringEscape(java.lang.String str)voidprintHolder(java.io.Writer writer, SchemaTypeSystem system, XmlOptions opt, Repackager repackager)voidprintType(java.io.Writer writer, SchemaType sType, XmlOptions opt)voidprintTypeImpl(java.io.Writer writer, SchemaType sType, XmlOptions opt)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.xmlbeans.SchemaCodePrinter
printType, printTypeImpl
-
-
-
-
Method Detail
-
printType
public void printType(java.io.Writer writer, SchemaType sType, XmlOptions opt) throws java.io.IOException- Specified by:
printTypein interfaceSchemaCodePrinter- Throws:
java.io.IOException
-
printTypeImpl
public void printTypeImpl(java.io.Writer writer, SchemaType sType, XmlOptions opt) throws java.io.IOException- Specified by:
printTypeImplin interfaceSchemaCodePrinter- Throws:
java.io.IOException
-
indexClassForSystem
public static java.lang.String indexClassForSystem(SchemaTypeSystem system)
-
javaStringEscape
public static java.lang.String javaStringEscape(java.lang.String str)
-
printHolder
public void printHolder(java.io.Writer writer, SchemaTypeSystem system, XmlOptions opt, Repackager repackager) throws java.io.IOException- Specified by:
printHolderin interfaceSchemaCodePrinter- Throws:
java.io.IOException
-
-