Class SchemeSpecification

All Implemented Interfaces:
IRIComponents, ViolationCodes

public class SchemeSpecification extends Specification implements ViolationCodes, IRIComponents
  • Constructor Details

  • Method Details

    • applies

      public boolean applies(String scheme)
      Overrides:
      applies in class Specification
    • addDefinition

      public void addDefinition(String uri, String defn, String defnHtml)
      Overrides:
      addDefinition in class Specification
    • setDNS

      public void setDNS(boolean b)
      Overrides:
      setDNS in class Specification
    • port

      public void port(int i)
      Overrides:
      port in class Specification
    • setPattern

      public void setPattern(int component, String string)
      Overrides:
      setPattern in class Specification
    • setReserved

      public void setReserved(int component, String subDelims)
      The given subDelims have syntactic use within this component in this scheme, and must be %-escaped for non-syntactic purposes. For the other subDelims the percent-escaped form, and the normal form are equivalent.
      Overrides:
      setReserved in class Specification
    • analyse

      public void analyse(Parser parser, int range)