c

amf.plugins.document.webapi.contexts

Raml10WebApiContext

class Raml10WebApiContext extends RamlWebApiContext

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

Instance Constructors

  1. new Raml10WebApiContext(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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. 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
  7. def closedShape(node: String, ast: YMap, shape: String, annotation: Boolean = false): Unit

    Validate closed shape.

    Validate closed shape.

    Definition Classes
    WebApiContext
  8. val declarations: WebApiDeclarations
    Definition Classes
    WebApiContext
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val factory: RamlSpecVersionFactory
    Definition Classes
    Raml10WebApiContextRamlWebApiContext
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ErrorHandler → IllegalTypeHandler
  15. def ignore(shape: String, property: String): Boolean
    Definition Classes
    RamlWebApiContextWebApiContext
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def link(node: YNode): Either[String, YNode]
    Definition Classes
    RamlWebApiContextWebApiContext
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  22. val rootContextDocument: String
    Definition Classes
    ParserContext
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. val syntax: SpecSyntax
    Definition Classes
    Raml10WebApiContextWebApiContext
  25. val vendor: Vendor
    Definition Classes
    Raml10WebApiContextWebApiContext
  26. def violation(node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  27. def violation(id: String, node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  28. def violation(id: String, node: String, property: Option[String], message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  29. def violation(message: String, ast: Option[YPart]): Unit
    Definition Classes
    ErrorHandler
  30. def violation(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation]): Unit
    Definition Classes
    ErrorHandler
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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 IllegalTypeHandler

Inherited from AnyRef

Inherited from Any

Ungrouped