Standard

avrohugger.format.Standard
object Standard extends SourceFormat

Attributes

Graph
Supertypes
trait SourceFormat
class Object
trait Matchable
class Any
Self type
Standard.type

Members list

Value members

Concrete methods

def asCompilationUnits(classStore: ClassStore, ns: Option[String], schemaOrProtocol: Either[Schema, Protocol], schemaStore: SchemaStore, maybeOutDir: Option[String], typeMatcher: TypeMatcher, restrictedFields: Boolean, targetScalaPartialVersion: String): List[CompilationUnit]
def compile(classStore: ClassStore, ns: Option[String], schemaOrProtocol: Either[Schema, Protocol], outDir: String, schemaStore: SchemaStore, typeMatcher: TypeMatcher, restrictedFields: Boolean, targetScalaPartialVersion: String): Unit
def getName(schemaOrProtocol: Either[Schema, Protocol], typeMatcher: TypeMatcher): String

Inherited methods

def fileExt(schemaOrProtocol: Either[Schema, Protocol], typeMatcher: TypeMatcher): String

Attributes

Inherited from:
SourceFormat
def getFilePath(namespace: Option[String], schemaOrProtocol: Either[Schema, Protocol], maybeOutDir: Option[String], typeMatcher: TypeMatcher): Option[Path]

Attributes

Inherited from:
SourceFormat
def getJavaEnumCompilationUnit(classStore: ClassStore, namespace: Option[String], schema: Schema, maybeOutDir: Option[String], typeMatcher: TypeMatcher): CompilationUnit

Attributes

Inherited from:
SourceFormat
def getLocalSubtypes(protocol: Protocol): List[Schema]

Attributes

Inherited from:
SourceFormat
def getScalaCompilationUnit(classStore: ClassStore, namespace: Option[String], schemaOrProtocol: Either[Schema, Protocol], typeMatcher: TypeMatcher, schemaStore: SchemaStore, maybeOutDir: Option[String], restrictedFields: Boolean, targetScalaPartialVersion: String): CompilationUnit

Attributes

Inherited from:
SourceFormat
def isEnum(schema: Schema): Boolean

Attributes

Inherited from:
SourceFormat
def registerTypes(schemaOrProtocol: Either[Schema, Protocol], classStore: ClassStore, typeMatcher: TypeMatcher): Unit

Attributes

Inherited from:
SourceFormat
def renameEnum(schema: Schema, selector: String): String

Attributes

Inherited from:
SourceFormat
def writeToFile(compilationUnit: CompilationUnit): Unit

Attributes

Inherited from:
SourceFormat

Inherited fields

val RESERVED_WORDS: Set[String]

Attributes

Inherited from:
SourceFormat