abstract class RamlWebApiContext extends WebApiContext with RamlSpecAwareContext
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- RamlWebApiContext
- RamlSpecAwareContext
- WebApiContext
- SpecAwareContext
- DeclarationContext
- ShapeParserContext
- IllegalTypeHandler
- ParseErrorHandler
- JsonSchemaInference
- ExtensionsContext
- DataNodeParserContext
- ParserContext
- Serializable
- Serializable
- Product
- Equals
- UnresolvedComponents
- ErrorHandlingContext
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RamlWebApiContext(loc: String, refs: Seq[ParsedReference], options: ParsingOptions, wrapped: ParserContext, ds: Option[RamlWebApiDeclarations] = None, specSettings: SpecSettings)
Type Members
-
case class
DefaultSemanticExtensionsFacadeBuilder extends SemanticExtensionsFacadeBuilder with Product with Serializable
- Definition Classes
- ShapeParserContext
Abstract Value Members
-
abstract
def
clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
- Attributes
- protected
-
abstract
val
factory: RamlSpecVersionFactory
- Definition Classes
- RamlWebApiContext → SpecAwareContext
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from RamlWebApiContext to any2stringadd[RamlWebApiContext] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (RamlWebApiContext, B)
- Implicit
- This member is added by an implicit conversion from RamlWebApiContext to ArrowAssoc[RamlWebApiContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
adapt[T](path: String)(k: (RamlWebApiContext) ⇒ T): T
Adapt this context for a nested library, used when evaluating resource type / traits Using a path to the library whose context is going to be looked up, e.g.
Adapt this context for a nested library, used when evaluating resource type / traits Using a path to the library whose context is going to be looked up, e.g. lib.TypeA
-
def
addDeclaredShape(shape: Shape): Unit
- Definition Classes
- ShapeParserContext
-
def
addNodeRefIds(ids: Map[YNode, String]): Unit
- Definition Classes
- ShapeParserContext
-
def
addPromotedFragments(fragments: Seq[Fragment]): Unit
- Definition Classes
- ShapeParserContext
-
def
addSonRef(ref: BaseUnit): RamlWebApiContext.this.type
- Definition Classes
- ParserContext
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
autoGeneratedAnnotation(s: Shape): Unit
- Definition Classes
- RamlWebApiContext → WebApiContext
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
closedShape(node: AmfObject, ast: YMap, shape: String): Unit
- Definition Classes
- ShapeParserContext
-
val
closedShapeValidator: ClosedShapeValidator
- Attributes
- protected
- Definition Classes
- WebApiContext
-
def
computeExtensions: Map[String, Dialect]
- Attributes
- protected
- Definition Classes
- ExtensionsContext
-
def
computeJsonSchemaVersion(ast: YNode): SchemaVersion
- Definition Classes
- ShapeParserContext
-
val
config: ParseConfiguration
- Definition Classes
- ParserContext
- def contextType: RamlWebApiContextType
-
def
copyForBase(unit: BaseUnit): ShapeParserContext
- Definition Classes
- ShapeParserContext
-
def
copyWithSonsReferences(): ParserContext
- Definition Classes
- ParserContext
-
val
declarations: RamlWebApiDeclarations
- Definition Classes
- RamlWebApiContext → WebApiContext → DeclarationContext → ExtensionsContext
-
val
declarationsOption: Option[ShapeDeclarations]
- Definition Classes
- ExtensionsContext
-
val
defaultSchemaVersion: SchemaVersion
- Definition Classes
- ShapeParserContext → JsonSchemaInference
-
def
eh: AMFErrorHandler
- Definition Classes
- ShapeParserContext → ParserContext → UnresolvedComponents → ErrorHandlingContext
-
def
ensuring(cond: (RamlWebApiContext) ⇒ Boolean, msg: ⇒ Any): RamlWebApiContext
- Implicit
- This member is added by an implicit conversion from RamlWebApiContext to Ensuring[RamlWebApiContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (RamlWebApiContext) ⇒ Boolean): RamlWebApiContext
- Implicit
- This member is added by an implicit conversion from RamlWebApiContext to Ensuring[RamlWebApiContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): RamlWebApiContext
- Implicit
- This member is added by an implicit conversion from RamlWebApiContext to Ensuring[RamlWebApiContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): RamlWebApiContext
- Implicit
- This member is added by an implicit conversion from RamlWebApiContext to Ensuring[RamlWebApiContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
extensionsFacadeBuilder: SemanticExtensionsFacadeBuilder
- Definition Classes
- ShapeParserContext
-
def
findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
- Definition Classes
- ExtensionsContext → DataNodeParserContext
-
def
findCachedJsonSchema(url: String): Option[AnyShape]
- Definition Classes
- ShapeParserContext
-
def
findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
- Attributes
- protected
-
def
findDeclaredTypeInDocFragment(doc: String, name: String): Option[Shape]
- Definition Classes
- ShapeParserContext
-
def
findDocumentations(key: String, scope: Scope, error: Option[(String) ⇒ Unit]): Option[CreativeWork]
- Definition Classes
- ShapeParserContext
-
def
findExample(key: String, scope: Scope): Option[Example]
- Definition Classes
- ShapeParserContext
-
def
findInExternals(url: String): Option[AnyShape]
- Definition Classes
- ShapeParserContext
-
def
findInExternalsLibs(lib: String, name: String): Option[AnyShape]
- Definition Classes
- ShapeParserContext
-
def
findLocalJSONPath(path: String): Option[YMapEntryLike]
- Definition Classes
- ShapeParserContext
-
def
findNamedExample(key: String, error: Option[(String) ⇒ Unit]): Option[Example]
- Definition Classes
- ShapeParserContext
-
def
findNamedExampleOrError(ast: YPart)(key: String): Example
- Definition Classes
- ShapeParserContext
-
def
findType(key: String, scope: Scope, error: Option[(String) ⇒ Unit]): Option[AnyShape]
- Definition Classes
- ShapeParserContext
-
def
forLocation(newLocation: String): ParserContext
- Definition Classes
- ParserContext
-
def
fragments: Map[String, FragmentRef]
- Definition Classes
- ExtensionsContext → DataNodeParserContext
-
val
futureDeclarations: FutureDeclarations
- Definition Classes
- ParserContext → UnresolvedComponents
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getEntryKey(entry: YMapEntry): String
- Definition Classes
- WebApiContext
-
def
getInheritedDeclarations: Option[ShapeDeclarations]
- Definition Classes
- ShapeParserContext
-
def
getJsonSchemaRefGuide: JsonSchemaRefGuide
- Definition Classes
- ShapeParserContext
-
def
getLocalJsonSchemaContext: Option[YNode]
- Definition Classes
- ShapeParserContext
-
def
getMaxYamlJsonDepth: Option[Int]
- Definition Classes
- ExtensionsContext → DataNodeParserContext
-
def
getMaxYamlReferences: Option[Int]
- Definition Classes
- ExtensionsContext → DataNodeParserContext
-
def
getSchemaVersionFromString(text: String): Option[JSONSchemaVersion]
- Definition Classes
- JsonSchemaInference
-
def
getSemanticContext: Option[SemanticContext]
- Definition Classes
- ShapeParserContext
- var globalMediatype: Boolean
-
var
globalSpace: Map[String, Any]
- Definition Classes
- ParserContext
-
def
handle(location: SourceLocation, e: SyamlException): Unit
- Definition Classes
- ShapeParserContext → ParseErrorHandler
-
def
handle[T](error: YError, defaultValue: T): T
- Definition Classes
- ShapeParserContext → IllegalTypeHandler
-
def
ignoreCriteria: IgnoreCriteria
- Definition Classes
- ShapeParserContext
-
var
indexCache: Map[String, AstIndex]
- Definition Classes
- ShapeParserContext
-
def
isAsyncContext: Boolean
- Definition Classes
- ShapeParserContext
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isMainFileContext: Boolean
- Definition Classes
- ShapeParserContext
-
def
isOas2Context: Boolean
- Definition Classes
- ShapeParserContext
-
def
isOas2Syntax: Boolean
- Definition Classes
- ShapeParserContext
-
def
isOas31Context: Boolean
- Definition Classes
- ShapeParserContext
-
def
isOas31Syntax: Boolean
- Definition Classes
- ShapeParserContext
-
def
isOas3Context: Boolean
- Definition Classes
- ShapeParserContext
-
def
isOas3Syntax: Boolean
- Definition Classes
- ShapeParserContext
-
def
isOasLikeContext: Boolean
- Definition Classes
- ShapeParserContext
-
def
isRamlContext: Boolean
- Definition Classes
- ShapeParserContext
-
var
jsonSchemaRefGuide: JsonSchemaRefGuide
- Attributes
- protected
- Definition Classes
- ShapeParserContext
-
def
libraries: Map[String, Declarations]
- Definition Classes
- ShapeParserContext
-
def
link(node: YNode): Either[String, YNode]
- Definition Classes
- ShapeParserContext
-
def
linkTypes: Boolean
- Definition Classes
- ShapeParserContext
-
val
loc: String
- Definition Classes
- RamlWebApiContext → ExtensionsContext
-
def
makeJsonSchemaContextForParsing(url: String, document: Root, options: ParsingOptions): ShapeParserContext
- Definition Classes
- ShapeParserContext
- def mergeAllOperationContexts(): Unit
- def mergeContext(subContext: RamlWebApiContext): Unit
- def mergeOperationContext(operation: AmfObject): Unit
-
def
moveToReference(loc: String): RamlWebApiContext.this.type
- Attributes
- protected
- Definition Classes
- ShapeParserContext
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
nodeRefIds: Map[YNode, String]
- Definition Classes
- ExtensionsContext
-
def
normalize(text: String): String
- Definition Classes
- JsonSchemaInference
-
def
normalizedJsonPointer(url: String): String
- Attributes
- protected
- Definition Classes
- ShapeParserContext
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
obtainRemoteYNode(ref: String): Option[YNode]
- Definition Classes
- ShapeParserContext
- val operationContexts: Map[AmfObject, RamlWebApiContext]
-
val
options: ParsingOptions
- Definition Classes
- ExtensionsContext
-
def
parseSchemaVersion(ast: YNode, errorHandler: AMFErrorHandler): SchemaVersion
- Definition Classes
- JsonSchemaInference
-
def
parsingOptions: ParsingOptions
- Definition Classes
- ParserContext
-
def
promoteExternalToDataTypeFragment(text: String, fullRef: String, shape: Shape): Unit
- Definition Classes
- ShapeParserContext
-
def
promotedFragments: Seq[Fragment]
- Definition Classes
- ShapeParserContext
-
def
ramlContextType: Option[RamlWebApiContextType]
- Definition Classes
- ShapeParserContext
-
val
refs: Seq[ParsedReference]
- Definition Classes
- ParserContext
-
def
registerExternalLib(url: String, content: Map[String, AnyShape]): Unit
- Definition Classes
- ShapeParserContext
-
def
registerExternalRef(external: (String, AnyShape)): Unit
- Definition Classes
- ShapeParserContext
-
def
registerJsonSchema(url: String, shape: AnyShape): Unit
- Definition Classes
- ShapeParserContext
-
def
removeLocalJsonSchemaContext: Unit
- Definition Classes
- ShapeParserContext
-
val
rootContextDocument: String
- Definition Classes
- ParserContext
- def setContextType(contextType: RamlWebApiContextType): Unit
-
def
setJsonSchemaAST(value: YNode): Unit
- Definition Classes
- ShapeParserContext
-
def
setJsonSchemaRefGuide(refGuide: JsonSchemaRefGuide): Unit
- Attributes
- protected
- Definition Classes
- WebApiContext
-
def
shapes: Map[String, Shape]
- Definition Classes
- ShapeParserContext
-
def
spec: Spec
- Definition Classes
- ShapeParserContext
- val specSettings: SpecSettings
-
def
syamleh: SyamlAMFErrorHandler
- Definition Classes
- ShapeParserContext
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
syntax: SpecSyntax
- Definition Classes
- ShapeParserContext
-
def
toJsonSchema(root: String, refs: Seq[ParsedReference]): ShapeParserContext
- Definition Classes
- ShapeParserContext
-
def
toJsonSchema(): ShapeParserContext
- Definition Classes
- ShapeParserContext
-
def
toOas: ShapeParserContext
- Definition Classes
- ShapeParserContext
-
def
toRaml08: ShapeParserContext
- Definition Classes
- ShapeParserContext
-
def
toRaml10: ShapeParserContext
- Definition Classes
- ShapeParserContext
-
def
validateRefFormatWithError(ref: String): Boolean
- Definition Classes
- ShapeParserContext
-
def
violation(specification: ValidationSpecification, node: String, message: String, loc: SourceLocation): Unit
- Definition Classes
- ParserContext → ErrorHandlingContext
-
def
violation(violationId: ValidationSpecification, node: AmfObject, message: String): Unit
- Definition Classes
- ParserContext → ErrorHandlingContext
-
def
violation(violationId: ValidationSpecification, node: String, message: String): Unit
- Definition Classes
- ParserContext → ErrorHandlingContext
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withSemanticContext(sc: Option[SemanticContext]): Unit
- Definition Classes
- ShapeParserContext
- val wrapped: ParserContext
-
def
→[B](y: B): (RamlWebApiContext, B)
- Implicit
- This member is added by an implicit conversion from RamlWebApiContext to ArrowAssoc[RamlWebApiContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RamlWebApiContext to StringFormat[RamlWebApiContext] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.