Package com.github.erosb.jsonsKema
Class EnumSchema
-
- All Implemented Interfaces:
public final class EnumSchema extends Schema
-
-
Field Summary
Fields Modifier and Type Field Description private final Collection<IJsonValue>potentialValuesprivate final SourceLocationlocation
-
Constructor Summary
Constructors Constructor Description EnumSchema(Collection<IJsonValue> potentialValues, SourceLocation location)
-
Method Summary
Modifier and Type Method Description final Collection<IJsonValue>getPotentialValues()SourceLocationgetLocation()<P extends Any> Paccept(SchemaVisitor<P> visitor)-
-
Constructor Detail
-
EnumSchema
EnumSchema(Collection<IJsonValue> potentialValues, SourceLocation location)
-
-
Method Detail
-
getPotentialValues
final Collection<IJsonValue> getPotentialValues()
-
getLocation
SourceLocation getLocation()
-
accept
<P extends Any> P accept(SchemaVisitor<P> visitor)
-
-
-
-