Class MatcherSchema

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.refcodes.mixin.AbstractSchema<MatcherSchema>
org.refcodes.matcher.MatcherSchema
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.ChildrenAccessor<org.refcodes.mixin.Schema<MatcherSchema>[]>, org.refcodes.mixin.DescriptionAccessor, org.refcodes.mixin.Schema<MatcherSchema>, org.refcodes.mixin.TypeAccessor, org.refcodes.mixin.ValueAccessor<Object>

public class MatcherSchema extends org.refcodes.mixin.AbstractSchema<MatcherSchema> implements org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.DescriptionAccessor, org.refcodes.mixin.ValueAccessor<Object>
The purpose of a MatcherSchema is automatically generate documentation of Matcher structures.
See Also:
  • Constructor Details

    • MatcherSchema

      public MatcherSchema(Class<?> aType, String aDescription, MatcherSchema... aChildren)
    • MatcherSchema

      public MatcherSchema(Class<?> aType, String aAlias, String aDescription, MatcherSchema... aChildren)
    • MatcherSchema

      public MatcherSchema(Class<?> aType, String aAlias, String aDescription)
    • MatcherSchema

      public MatcherSchema(Class<?> aType, String aDescription)
    • MatcherSchema

      public MatcherSchema(MatcherSchema aSchema, Class<?> aType)
      Instantiates a new MatcherSchema.
      Parameters:
      aSchema - the a children
      aType - the a type
    • MatcherSchema

      public MatcherSchema(Class<?> aType, String aDescription, Object aValue, MatcherSchema... aChildren)
      Instantiates a new MatcherSchema.
      Parameters:
      aType - the a type
      aDescription - the a description
      aValue - the a value
      aChildren - the a children
    • MatcherSchema

      public MatcherSchema(Class<?> aType, String aAlias, String aDescription, Object aValue, MatcherSchema... aChildren)
      Instantiates a new MatcherSchema.
      Parameters:
      aType - the a type
      aAlias - the a alias
      aDescription - the a description
      aValue - the a value
      aChildren - the a children
    • MatcherSchema

      public MatcherSchema(Class<?> aType, String aAlias, String aDescription, Object aValue)
      Instantiates a new MatcherSchema.
      Parameters:
      aType - the a type
      aAlias - the a alias
      aDescription - the a description
      aValue - the a value
    • MatcherSchema

      public MatcherSchema(Class<?> aType, String aDescription, Object aValue)
      Instantiates a new MatcherSchema.
      Parameters:
      aType - the a type
      aDescription - the a description
      aValue - the a value
    • MatcherSchema

      public MatcherSchema(MatcherSchema aSchema, MatcherSchema... aChildren)
    • MatcherSchema

      public MatcherSchema(MatcherSchema aSchema)
  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.refcodes.mixin.DescriptionAccessor
    • getAlias

      public String getAlias()
      Specified by:
      getAlias in interface org.refcodes.mixin.AliasAccessor
    • getValue

      public Object getValue()
      Specified by:
      getValue in interface org.refcodes.mixin.ValueAccessor<Object>