Interface SchemaFunction

    • Method Detail

      • parse

        <T extends SchemaElement> T parse​(Class<? extends T> type,
                                          String definition)
                                   throws SchemaParseException
        Parses the supplied string representation of a schema element.
        Type Parameters:
        T - type of schema element
        Parameters:
        type - class type of schema element
        definition - to parse
        Returns:
        parsed schema element
        Throws:
        SchemaParseException - if the supplied schema definition is invalid