class PayloadContext extends RamlWebApiContext

Linear Supertypes
RamlWebApiContext, RamlSpecAwareContext, WebApiContext, SpecAwareContext, ParserContext, Serializable, Serializable, Product, Equals, ErrorHandler, ParseErrorHandler, IllegalTypeHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PayloadContext
  2. RamlWebApiContext
  3. RamlSpecAwareContext
  4. WebApiContext
  5. SpecAwareContext
  6. ParserContext
  7. Serializable
  8. Serializable
  9. Product
  10. Equals
  11. ErrorHandler
  12. ParseErrorHandler
  13. IllegalTypeHandler
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PayloadContext(wrapped: ParserContext, ds: Option[WebApiDeclarations] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def checkDuplicates(node: String, ast: YMap, shape: String, annotation: Boolean): Set[String]
    Definition Classes
    WebApiContext
  7. def clone(declarations: WebApiDeclarations): RamlWebApiContext
    Attributes
    protected
    Definition Classes
    PayloadContextRamlWebApiContext
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def closedRamlTypeShape(shape: Shape, ast: YMap, shapeType: String, annotation: Boolean = false): 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
  10. def closedShape(node: String, ast: YMap, shape: String, annotation: Boolean = false): Unit

    Validate closed shape.

    Validate closed shape.

    Definition Classes
    WebApiContext
  11. val currentFile: String
    Definition Classes
    ParserContext → ErrorHandler
  12. val declarations: WebApiDeclarations
    Definition Classes
    WebApiContext
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. val factory: RamlSpecVersionFactory
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def findDeclarations(path: Seq[String], declarations: WebApiDeclarations): WebApiDeclarations
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  17. def findLocalJSONPath(path: String): Option[(String, YNode)]
    Definition Classes
    WebApiContext
  18. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. var globalMediatype: Boolean
    Definition Classes
    RamlWebApiContext
  21. def handle(node: YPart, e: SyamlException): Unit
    Definition Classes
    ErrorHandler → ParseErrorHandler
  22. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ErrorHandler → IllegalTypeHandler
  23. def ignore(shape: String, property: String): Boolean
    Definition Classes
    RamlWebApiContextWebApiContext
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def link(node: YNode): Either[String, YNode]
    Definition Classes
    RamlWebApiContextWebApiContext
  26. var localJSONSchemaContext: Option[YNode]
    Definition Classes
    WebApiContext
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  30. val parserCount: Int
    Definition Classes
    ParserContext → ErrorHandler
  31. def part(error: YError): YPart
    Attributes
    protected
    Definition Classes
    ErrorHandler
  32. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  33. val rootContextDocument: String
    Definition Classes
    ParserContext
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. val syntax: SpecSyntax
    Definition Classes
    PayloadContextWebApiContext
  36. val vendor: Vendor
    Definition Classes
    PayloadContextWebApiContext
  37. def violation(node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  38. def violation(id: String, node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  39. def violation(id: String, node: String, property: Option[String], message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  40. def violation(message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  41. def violation(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation]): Unit
    Definition Classes
    ErrorHandler
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def warning(node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  46. def warning(id: String, node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  47. def warning(id: String, node: String, property: Option[String], message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  48. def warning(message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  49. def warning(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation]): Unit
    Definition Classes
    ErrorHandler

Inherited from RamlWebApiContext

Inherited from RamlSpecAwareContext

Inherited from WebApiContext

Inherited from SpecAwareContext

Inherited from ParserContext

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ErrorHandler

Inherited from ParseErrorHandler

Inherited from IllegalTypeHandler

Inherited from AnyRef

Inherited from Any

Ungrouped