Package io.apicurio.registry.resolver
Interface ParsedSchema<T>
-
- All Known Implementing Classes:
ParsedSchemaImpl
public interface ParsedSchema<T>- Author:
- Fabian Martinez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetParsedSchema()byte[]getRawSchema()List<ParsedSchema<T>>getSchemaReferences()booleanhasReferences()StringreferenceName()ParsedSchemaImpl<T>setReferenceName(String referenceName)set the name to be used when referencing this schema
-
-
-
Method Detail
-
getParsedSchema
T getParsedSchema()
- Returns:
- the parsedSchema
-
getRawSchema
byte[] getRawSchema()
- Returns:
- the rawSchema
-
getSchemaReferences
List<ParsedSchema<T>> getSchemaReferences()
- Returns:
- the the schema references (if any)
-
hasReferences
boolean hasReferences()
- Returns:
- true if the schema has references
-
referenceName
String referenceName()
- Returns:
- the name to be used when referencing this schema
-
setReferenceName
ParsedSchemaImpl<T> setReferenceName(String referenceName)
set the name to be used when referencing this schema
-
-