c

amf.apicontract.internal.spec.raml.parser.context

ExtensionLikeWebApiContext

class ExtensionLikeWebApiContext extends Raml10WebApiContext

Linear Supertypes
Raml10WebApiContext, RamlWebApiContext, RamlSpecAwareContext, WebApiContext, SpecAwareContext, DeclarationContext, ShapeParserContext, IllegalTypeHandler, ParseErrorHandler, JsonSchemaInference, ExtensionsContext, DataNodeParserContext, ParserContext, Serializable, Serializable, Product, Equals, UnresolvedComponents, ErrorHandlingContext, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtensionLikeWebApiContext
  2. Raml10WebApiContext
  3. RamlWebApiContext
  4. RamlSpecAwareContext
  5. WebApiContext
  6. SpecAwareContext
  7. DeclarationContext
  8. ShapeParserContext
  9. IllegalTypeHandler
  10. ParseErrorHandler
  11. JsonSchemaInference
  12. ExtensionsContext
  13. DataNodeParserContext
  14. ParserContext
  15. Serializable
  16. Serializable
  17. Product
  18. Equals
  19. UnresolvedComponents
  20. ErrorHandlingContext
  21. AnyRef
  22. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtensionLikeWebApiContext(loc: String, refs: Seq[ParsedReference], wrapped: ParserContext, ds: Option[RamlWebApiDeclarations] = None, parentDeclarations: RamlWebApiDeclarations, parserCount: Option[Int] = None, contextType: RamlWebApiContextType = RamlWebApiContextType.DEFAULT, options: ParsingOptions = ParsingOptions())

Type Members

  1. case class DefaultSemanticExtensionsFacadeBuilder extends SemanticExtensionsFacadeBuilder with Product with Serializable
    Definition Classes
    ShapeParserContext

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ExtensionLikeWebApiContext to any2stringadd[ExtensionLikeWebApiContext] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ExtensionLikeWebApiContext, B)
    Implicit
    This member is added by an implicit conversion from ExtensionLikeWebApiContext to ArrowAssoc[ExtensionLikeWebApiContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. 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

    Definition Classes
    RamlWebApiContext
  7. def addDeclaredShape(shape: Shape): Unit
    Definition Classes
    ShapeParserContext
  8. def addNodeRefIds(ids: Map[YNode, String]): Unit
    Definition Classes
    ShapeParserContext
  9. def addPromotedFragments(fragments: Seq[Fragment]): Unit
    Definition Classes
    ShapeParserContext
  10. def addSonRef(ref: BaseUnit): ExtensionLikeWebApiContext.this.type
    Definition Classes
    ParserContext
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def autoGeneratedAnnotation(s: Shape): Unit
    Definition Classes
    RamlWebApiContextWebApiContext
  13. def clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
    Attributes
    protected
    Definition Classes
    ExtensionLikeWebApiContextRaml10WebApiContextRamlWebApiContext
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  15. def closedShape(node: AmfObject, ast: YMap, shape: String): Unit
    Definition Classes
    ShapeParserContext
  16. val closedShapeValidator: ClosedShapeValidator
    Attributes
    protected
    Definition Classes
    WebApiContext
  17. def computeExtensions: Map[String, Dialect]
    Attributes
    protected
    Definition Classes
    ExtensionsContext
  18. def computeJsonSchemaVersion(ast: YNode): SchemaVersion
    Definition Classes
    ShapeParserContext
  19. val config: ParseConfiguration
    Definition Classes
    ParserContext
  20. def contextType: RamlWebApiContextType
    Definition Classes
    RamlWebApiContext
  21. def copyForBase(unit: BaseUnit): ShapeParserContext
    Definition Classes
    ShapeParserContext
  22. def copyWithSonsReferences(): ParserContext
    Definition Classes
    ParserContext
  23. val declarations: ExtensionWebApiDeclarations
    Definition Classes
    ExtensionLikeWebApiContextRamlWebApiContextWebApiContext → DeclarationContext → ExtensionsContext
  24. val declarationsOption: Option[ShapeDeclarations]
    Definition Classes
    ExtensionsContext
  25. val defaultSchemaVersion: SchemaVersion
    Definition Classes
    ShapeParserContext → JsonSchemaInference
  26. val ds: Option[RamlWebApiDeclarations]
  27. def eh: AMFErrorHandler
    Definition Classes
    ShapeParserContext → ParserContext → UnresolvedComponents → ErrorHandlingContext
  28. def ensuring(cond: (ExtensionLikeWebApiContext) ⇒ Boolean, msg: ⇒ Any): ExtensionLikeWebApiContext
    Implicit
    This member is added by an implicit conversion from ExtensionLikeWebApiContext to Ensuring[ExtensionLikeWebApiContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: (ExtensionLikeWebApiContext) ⇒ Boolean): ExtensionLikeWebApiContext
    Implicit
    This member is added by an implicit conversion from ExtensionLikeWebApiContext to Ensuring[ExtensionLikeWebApiContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean, msg: ⇒ Any): ExtensionLikeWebApiContext
    Implicit
    This member is added by an implicit conversion from ExtensionLikeWebApiContext to Ensuring[ExtensionLikeWebApiContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. def ensuring(cond: Boolean): ExtensionLikeWebApiContext
    Implicit
    This member is added by an implicit conversion from ExtensionLikeWebApiContext to Ensuring[ExtensionLikeWebApiContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  32. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def extensionsFacadeBuilder: SemanticExtensionsFacadeBuilder
    Definition Classes
    ShapeParserContext
  34. val factory: RamlSpecVersionFactory
  35. def findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  36. def findCachedJsonSchema(url: String): Option[AnyShape]
    Definition Classes
    ShapeParserContext
  37. def findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  38. def findDeclaredTypeInDocFragment(doc: String, name: String): Option[Shape]
    Definition Classes
    ShapeParserContext
  39. def findDocumentations(key: String, scope: Scope, error: Option[(String) ⇒ Unit]): Option[CreativeWork]
    Definition Classes
    ShapeParserContext
  40. def findExample(key: String, scope: Scope): Option[Example]
    Definition Classes
    ShapeParserContext
  41. def findInExternals(url: String): Option[AnyShape]
    Definition Classes
    ShapeParserContext
  42. def findInExternalsLibs(lib: String, name: String): Option[AnyShape]
    Definition Classes
    ShapeParserContext
  43. def findLocalJSONPath(path: String): Option[YMapEntryLike]
    Definition Classes
    ShapeParserContext
  44. def findNamedExample(key: String, error: Option[(String) ⇒ Unit]): Option[Example]
    Definition Classes
    ShapeParserContext
  45. def findNamedExampleOrError(ast: YPart)(key: String): Example
    Definition Classes
    ShapeParserContext
  46. def findType(key: String, scope: Scope, error: Option[(String) ⇒ Unit]): Option[AnyShape]
    Definition Classes
    ShapeParserContext
  47. def forLocation(newLocation: String): ParserContext
    Definition Classes
    ParserContext
  48. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ExtensionLikeWebApiContext to StringFormat[ExtensionLikeWebApiContext] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  49. def fragments: Map[String, FragmentRef]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  50. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext → UnresolvedComponents
  51. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  52. def getEntryKey(entry: YMapEntry): String
    Definition Classes
    WebApiContext
  53. def getInheritedDeclarations: Option[ShapeDeclarations]
    Definition Classes
    ShapeParserContext
  54. def getJsonSchemaRefGuide: JsonSchemaRefGuide
    Definition Classes
    ShapeParserContext
  55. def getLocalJsonSchemaContext: Option[YNode]
    Definition Classes
    ShapeParserContext
  56. def getMaxYamlJsonDepth: Option[Int]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  57. def getMaxYamlReferences: Option[Int]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  58. def getSemanticContext: Option[SemanticContext]
    Definition Classes
    ShapeParserContext
  59. var globalMediatype: Boolean
    Definition Classes
    RamlWebApiContext
  60. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  61. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    ShapeParserContext → ParseErrorHandler
  62. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ShapeParserContext → IllegalTypeHandler
  63. def ignoreCriteria: IgnoreCriteria
    Definition Classes
    ShapeParserContext
  64. var indexCache: Map[String, AstIndex]
    Definition Classes
    ShapeParserContext
  65. def isAsyncContext: Boolean
    Definition Classes
    ShapeParserContext
  66. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  67. def isMainFileContext: Boolean
    Definition Classes
    ShapeParserContext
  68. def isOas2Context: Boolean
    Definition Classes
    ShapeParserContext
  69. def isOas2Syntax: Boolean
    Definition Classes
    ShapeParserContext
  70. def isOas3Context: Boolean
    Definition Classes
    ShapeParserContext
  71. def isOas3Syntax: Boolean
    Definition Classes
    ShapeParserContext
  72. def isOasLikeContext: Boolean
    Definition Classes
    ShapeParserContext
  73. def isRamlContext: Boolean
    Definition Classes
    ShapeParserContext
  74. var jsonSchemaRefGuide: JsonSchemaRefGuide
    Attributes
    protected
    Definition Classes
    ShapeParserContext
  75. def libraries: Map[String, Declarations]
    Definition Classes
    ShapeParserContext
  76. def link(node: YNode): Either[String, YNode]
    Definition Classes
    ShapeParserContext
  77. def linkTypes: Boolean
    Definition Classes
    ShapeParserContext
  78. val loc: String
    Definition Classes
    RamlWebApiContext → ExtensionsContext
  79. def makeJsonSchemaContextForParsing(url: String, document: Root, options: ParsingOptions): ShapeParserContext
    Definition Classes
    ShapeParserContext
  80. def mergeAllOperationContexts(): Unit
    Definition Classes
    RamlWebApiContext
  81. def mergeContext(subContext: RamlWebApiContext): Unit
    Definition Classes
    RamlWebApiContext
  82. def mergeOperationContext(operation: AmfObject): Unit
    Definition Classes
    RamlWebApiContext
  83. def moveToReference(loc: String): ExtensionLikeWebApiContext.this.type
    Attributes
    protected
    Definition Classes
    ShapeParserContext
  84. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  85. val nodeRefIds: Map[YNode, String]
    Definition Classes
    ExtensionsContext
  86. def normalizedJsonPointer(url: String): String
    Attributes
    protected
    Definition Classes
    ShapeParserContext
  87. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  88. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  89. def obtainRemoteYNode(ref: String): Option[YNode]
    Definition Classes
    ShapeParserContext
  90. val operationContexts: Map[AmfObject, RamlWebApiContext]
    Definition Classes
    RamlWebApiContext
  91. val options: ParsingOptions
    Definition Classes
    ExtensionsContext
  92. val parentDeclarations: RamlWebApiDeclarations
  93. def parseSchemaVersion(ast: YNode, errorHandler: AMFErrorHandler): SchemaVersion
    Definition Classes
    JsonSchemaInference
  94. def parsingOptions: ParsingOptions
    Definition Classes
    ParserContext
  95. def promoteExternalToDataTypeFragment(text: String, fullRef: String, shape: Shape): Unit
    Definition Classes
    ShapeParserContext
  96. def promotedFragments: Seq[Fragment]
    Definition Classes
    ShapeParserContext
  97. def ramlContextType: Option[RamlWebApiContextType]
    Definition Classes
    ShapeParserContext
  98. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  99. def registerExternalLib(url: String, content: Map[String, AnyShape]): Unit
    Definition Classes
    ShapeParserContext
  100. def registerExternalRef(external: (String, AnyShape)): Unit
    Definition Classes
    ShapeParserContext
  101. def registerJsonSchema(url: String, shape: AnyShape): Unit
    Definition Classes
    ShapeParserContext
  102. def removeLocalJsonSchemaContext: Unit
    Definition Classes
    ShapeParserContext
  103. val rootContextDocument: String
    Definition Classes
    ParserContext
  104. def setContextType(contextType: RamlWebApiContextType): Unit
    Definition Classes
    RamlWebApiContext
  105. def setJsonSchemaAST(value: YNode): Unit
    Definition Classes
    ShapeParserContext
  106. def setJsonSchemaRefGuide(refGuide: JsonSchemaRefGuide): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  107. def shapes: Map[String, Shape]
    Definition Classes
    ShapeParserContext
  108. def spec: Spec
    Definition Classes
    ShapeParserContext
  109. val specSettings: SpecSettings
    Definition Classes
    RamlWebApiContext
  110. def syamleh: SyamlAMFErrorHandler
    Definition Classes
    ShapeParserContext
  111. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  112. def syntax: SpecSyntax
    Definition Classes
    ShapeParserContext
  113. def toJsonSchema(root: String, refs: Seq[ParsedReference]): ShapeParserContext
    Definition Classes
    ShapeParserContext
  114. def toJsonSchema(): ShapeParserContext
    Definition Classes
    ShapeParserContext
  115. def toOas: ShapeParserContext
    Definition Classes
    ShapeParserContext
  116. def toRaml08: ShapeParserContext
    Definition Classes
    ShapeParserContext
  117. def toRaml10: ShapeParserContext
    Definition Classes
    ShapeParserContext
  118. def validateRefFormatWithError(ref: String): Boolean
    Definition Classes
    ShapeParserContext
  119. def violation(specification: ValidationSpecification, node: String, message: String, loc: SourceLocation): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  120. def violation(violationId: ValidationSpecification, node: AmfObject, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  121. def violation(violationId: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  122. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  123. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  124. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  125. def withSemanticContext(sc: Option[SemanticContext]): Unit
    Definition Classes
    ShapeParserContext
  126. val wrapped: ParserContext
  127. def [B](y: B): (ExtensionLikeWebApiContext, B)
    Implicit
    This member is added by an implicit conversion from ExtensionLikeWebApiContext to ArrowAssoc[ExtensionLikeWebApiContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Raml10WebApiContext

Inherited from RamlWebApiContext

Inherited from RamlSpecAwareContext

Inherited from WebApiContext

Inherited from SpecAwareContext

Inherited from DeclarationContext

Inherited from ShapeParserContext

Inherited from IllegalTypeHandler

Inherited from ParseErrorHandler

Inherited from JsonSchemaInference

Inherited from ExtensionsContext

Inherited from DataNodeParserContext

Inherited from ParserContext

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UnresolvedComponents

Inherited from ErrorHandlingContext

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ExtensionLikeWebApiContext to any2stringadd[ExtensionLikeWebApiContext]

Inherited by implicit conversion StringFormat from ExtensionLikeWebApiContext to StringFormat[ExtensionLikeWebApiContext]

Inherited by implicit conversion Ensuring from ExtensionLikeWebApiContext to Ensuring[ExtensionLikeWebApiContext]

Inherited by implicit conversion ArrowAssoc from ExtensionLikeWebApiContext to ArrowAssoc[ExtensionLikeWebApiContext]

Ungrouped