Class ProtocolDefinitionTrait

    • Field Detail

      • ID

        public static final ShapeId ID
    • Method Detail

      • getTraits

        public java.util.List<ShapeId> getTraits()
        Gets the list of shape IDs that protocol implementations must know about in order to successfully utilize the protocol.
        Returns:
        Returns the protocol traits.
      • getNoInlineDocumentSupport

        public boolean getNoInlineDocumentSupport()
        Checks if this protocol does not support inline documents.
        Returns:
        Returns true if inline documents are not supported.
      • createNode

        protected Node createNode()
        Description copied from class: AbstractTrait
        The result of toNode is used for hashCodes and equality. Subclasses must implement createNode to turn the trait into a Node. This is then cached for subsequent retrievals.
        Specified by:
        createNode in class AbstractTrait
        Returns:
        Returns the trait as a node.