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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.ChildrenAccessor
org.refcodes.mixin.ChildrenAccessor.ChildrenBuilder<T extends Object,
B extends org.refcodes.mixin.ChildrenAccessor.ChildrenBuilder<T, B>>, org.refcodes.mixin.ChildrenAccessor.ChildrenMutator<T extends Object>, org.refcodes.mixin.ChildrenAccessor.ChildrenProperty<T extends Object> Nested classes/interfaces inherited from interface org.refcodes.mixin.DescriptionAccessor
org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<B extends org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<B>>, org.refcodes.mixin.DescriptionAccessor.DescriptionMutator, org.refcodes.mixin.DescriptionAccessor.DescriptionProperty
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,
V extends Object> Nested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,
B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T, B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object> Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,
B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V, B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object> -
Field Summary
Fields inherited from interface org.refcodes.mixin.Schema
ALIAS, DESCRIPTION, KEY, TYPE, VALUE
-
Constructor Summary
ConstructorDescriptionMatcherSchema
(Class<?> aType, String aDescription) MatcherSchema
(Class<?> aType, String aDescription, Object aValue) Instantiates a newMatcherSchema
.MatcherSchema
(Class<?> aType, String aDescription, Object aValue, MatcherSchema... aChildren) Instantiates a newMatcherSchema
.MatcherSchema
(Class<?> aType, String aAlias, String aDescription) MatcherSchema
(Class<?> aType, String aAlias, String aDescription, Object aValue) Instantiates a newMatcherSchema
.MatcherSchema
(Class<?> aType, String aAlias, String aDescription, Object aValue, MatcherSchema... aChildren) Instantiates a newMatcherSchema
.MatcherSchema
(Class<?> aType, String aAlias, String aDescription, MatcherSchema... aChildren) MatcherSchema
(Class<?> aType, String aDescription, MatcherSchema... aChildren) MatcherSchema
(MatcherSchema aSchema) MatcherSchema
(MatcherSchema aSchema, Class<?> aType) Instantiates a newMatcherSchema
.MatcherSchema
(MatcherSchema aSchema, MatcherSchema... aChildren) -
Method Summary
Methods inherited from class org.refcodes.mixin.AbstractSchema
getChildren, getType, toString, toString
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from interface org.refcodes.mixin.ValueAccessor
getValueOr
-
Constructor Details
-
MatcherSchema
-
MatcherSchema
public MatcherSchema(Class<?> aType, String aAlias, String aDescription, MatcherSchema... aChildren) -
MatcherSchema
-
MatcherSchema
-
MatcherSchema
Instantiates a newMatcherSchema
.- Parameters:
aSchema
- the a childrenaType
- the a type
-
MatcherSchema
public MatcherSchema(Class<?> aType, String aDescription, Object aValue, MatcherSchema... aChildren) Instantiates a newMatcherSchema
.- Parameters:
aType
- the a typeaDescription
- the a descriptionaValue
- the a valueaChildren
- the a children
-
MatcherSchema
public MatcherSchema(Class<?> aType, String aAlias, String aDescription, Object aValue, MatcherSchema... aChildren) Instantiates a newMatcherSchema
.- Parameters:
aType
- the a typeaAlias
- the a aliasaDescription
- the a descriptionaValue
- the a valueaChildren
- the a children
-
MatcherSchema
Instantiates a newMatcherSchema
.- Parameters:
aType
- the a typeaAlias
- the a aliasaDescription
- the a descriptionaValue
- the a value
-
MatcherSchema
Instantiates a newMatcherSchema
.- Parameters:
aType
- the a typeaDescription
- the a descriptionaValue
- the a value
-
MatcherSchema
-
MatcherSchema
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceorg.refcodes.mixin.DescriptionAccessor
-
getAlias
- Specified by:
getAlias
in interfaceorg.refcodes.mixin.AliasAccessor
-
getValue
- Specified by:
getValue
in interfaceorg.refcodes.mixin.ValueAccessor<Object>
-