Packages

c

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

ExtensionLikeWebApiContext

class ExtensionLikeWebApiContext extends Raml10WebApiContext

Linear Supertypes
Raml10WebApiContext, RamlWebApiContext, RamlSpecAwareContext, WebApiContext, IllegalTypeHandler, ParseErrorHandler, JsonSchemaInference, PlatformSecrets, SpecAwareContext, DeclarationContext, 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. IllegalTypeHandler
  7. ParseErrorHandler
  8. JsonSchemaInference
  9. PlatformSecrets
  10. SpecAwareContext
  11. DeclarationContext
  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())

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 addSonRef(ref: BaseUnit): ExtensionLikeWebApiContext.this.type
    Definition Classes
    ParserContext
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def autoGeneratedAnnotation(s: Shape): Unit
    Definition Classes
    RamlWebApiContextWebApiContext
  10. def clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
    Attributes
    protected
    Definition Classes
    ExtensionLikeWebApiContextRaml10WebApiContextRamlWebApiContext
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def closedRamlTypeShape(shape: Shape, ast: YMap, shapeType: String, typeInfo: TypeInfo): Unit

    raml types nodes are different from other shapes because they can have 'custom facets' essentially, client defined constraints expressed as additional properties syntactically in the type definition.

    raml types nodes are different from other shapes because they can have 'custom facets' essentially, client defined constraints expressed as additional properties syntactically in the type definition. The problem is that they cannot be recognised just looking into the AST as we do with annotations, so we need to first, compute them, and then, add them as additional valid properties to the set of properties that can be defined in the AST node

    Definition Classes
    RamlWebApiContext
  13. def closedShape(node: AmfObject, ast: YMap, shape: String, syntax: SpecSyntax): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  14. def closedShape(node: AmfObject, ast: YMap, shape: String): Unit

    Validate closed shape.

    Validate closed shape.

    Definition Classes
    WebApiContext
  15. def computeJsonSchemaVersion(ast: YNode): SchemaVersion
    Definition Classes
    WebApiContext
  16. val config: ParseConfiguration
    Definition Classes
    ParserContext
  17. var contextType: RamlWebApiContextType
    Definition Classes
    RamlWebApiContext
  18. def copyWithSonsReferences(): ParserContext
    Definition Classes
    ParserContext
  19. val declarations: ExtensionWebApiDeclarations
    Definition Classes
    ExtensionLikeWebApiContextRamlWebApiContext → DeclarationContext → ExtensionsContext
  20. val declarationsOption: Option[WebApiDeclarations]
    Definition Classes
    ExtensionsContext
  21. val defaultSchemaVersion: SchemaVersion
    Definition Classes
    WebApiContext → JsonSchemaInference
  22. val ds: Option[RamlWebApiDeclarations]
  23. implicit val eh: AMFErrorHandler
    Definition Classes
    ErrorHandlingContext
  24. 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
  25. 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
  26. 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
  27. 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
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. val extensionsFacade: SemanticExtensionsFacade
    Definition Classes
    WebApiContext
  30. val factory: RamlSpecVersionFactory
  31. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  33. def findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  34. def findJsonPathIn(index: AstIndex, path: String): Option[YMapEntryLike]
    Definition Classes
    WebApiContext
  35. def findJsonSchema(url: String): Option[AnyShape]
    Definition Classes
    WebApiContext
  36. def findLocalJSONPath(path: String): Option[YMapEntryLike]
    Definition Classes
    WebApiContext
  37. def forLocation(newLocation: String): ParserContext
    Definition Classes
    ParserContext
  38. 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()
  39. def fragments: Map[String, FragmentRef]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  40. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext → UnresolvedComponents
  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def getEntryKey(entry: YMapEntry): String
    Definition Classes
    WebApiContext
  43. def getMaxYamlReferences: Option[Int]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  44. var globalMediatype: Boolean
    Definition Classes
    RamlWebApiContext
  45. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  46. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    WebApiContext → ParseErrorHandler
  47. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    WebApiContext → IllegalTypeHandler
  48. def ignore(shape: String, property: String): Boolean
    Definition Classes
    RamlWebApiContextWebApiContext
  49. var indexCache: Map[String, AstIndex]
    Definition Classes
    WebApiContext
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. var jsonSchemaRefGuide: JsonSchemaRefGuide
    Definition Classes
    WebApiContext
  52. def link(node: YNode): Either[String, YNode]
    Definition Classes
    RamlWebApiContextWebApiContext
  53. val loc: String
    Definition Classes
    RamlWebApiContextExtensionsContext
  54. var localJSONSchemaContext: Option[YNode]
    Definition Classes
    WebApiContext
  55. def mergeAllOperationContexts(): Unit
    Definition Classes
    RamlWebApiContext
  56. def mergeContext(subContext: RamlWebApiContext): Unit
    Definition Classes
    RamlWebApiContext
  57. def mergeOperationContext(operation: AmfObject): Unit
    Definition Classes
    RamlWebApiContext
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. def nextValidation(node: AmfObject, shape: String, ast: YMap): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  60. val nodeRefIds: Map[YNode, String]
    Definition Classes
    ExtensionsContext
  61. def normalizedJsonPointer(url: String): String
    Attributes
    protected
    Definition Classes
    WebApiContext
  62. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  63. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  64. def obtainRemoteYNode(ref: String, refAnnotations: Annotations = Annotations())(implicit ctx: WebApiContext): Option[YNode]
    Definition Classes
    WebApiContext
  65. val operationContexts: Map[AmfObject, RamlWebApiContext]
    Definition Classes
    RamlWebApiContext
  66. val options: ParsingOptions
    Definition Classes
    ExtensionsContext
  67. val parentDeclarations: RamlWebApiDeclarations
  68. def parseRemoteOasParameter(fileUrl: String, parentId: String)(implicit ctx: OasWebApiContext): Option[OasParameter]
    Definition Classes
    WebApiContext
  69. def parseSchemaVersion(ast: YNode, errorHandler: AMFErrorHandler): SchemaVersion
    Definition Classes
    JsonSchemaInference
  70. def parsingOptions: ParsingOptions
    Definition Classes
    ParserContext
  71. val platform: Platform
    Definition Classes
    PlatformSecrets
  72. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  73. def registerJsonSchema(url: String, shape: AnyShape): Unit
    Definition Classes
    WebApiContext
  74. val rootContextDocument: String
    Definition Classes
    ParserContext
  75. def setJsonSchemaAST(value: YNode): Unit
    Definition Classes
    WebApiContext
  76. val spec: Spec
    Definition Classes
    Raml10WebApiContextWebApiContext
  77. def supportsAnnotations: Boolean
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  78. val syamleh: SyamlAMFErrorHandler
    Definition Classes
    WebApiContext
  79. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  80. val syntax: SpecSyntax
    Definition Classes
    Raml10WebApiContextWebApiContext
  81. def throwClosedShapeError(node: AmfObject, message: String, entry: YPart, isWarning: Boolean = false): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  82. def validateRefFormatWithError(ref: String): Boolean
    Definition Classes
    WebApiContext
  83. def violation(violationId: ValidationSpecification, node: AmfObject, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  84. def violation(violationId: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  85. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  87. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  88. val wrapped: ParserContext
  89. 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

Inherited from Raml10WebApiContext

Inherited from RamlWebApiContext

Inherited from RamlSpecAwareContext

Inherited from WebApiContext

Inherited from IllegalTypeHandler

Inherited from ParseErrorHandler

Inherited from JsonSchemaInference

Inherited from PlatformSecrets

Inherited from SpecAwareContext

Inherited from DeclarationContext

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