- EnumBuilder - Class in hu.elte.eserial.builder
-
Builds Enums.
- Enumerated - Annotation Type in hu.elte.eserial.annotation
-
Decides how the annotated enum should be serialized/deserialized.
- EnumeratedFormat - Enum in hu.elte.eserial.annotation.enumeration
-
- EnumMapper - Class in hu.elte.eserial.mapper
-
Maps Enum-like objects.
- equalsForRecursion(Object) - Method in class hu.elte.eserial.model.EserialElement
-
- escape(String) - Static method in class hu.elte.eserial.util.StringUtils
-
Escapes a string.
- Eserial - Class in hu.elte.eserial
-
The main interface for the library.
- EserialAnnotation - Annotation Type in hu.elte.eserial.annotation
-
The parent annotation for all annotations influencing the serialization/deserialization process.
- EserialAnnotationType - Enum in hu.elte.eserial.annotation.enumeration
-
- EserialBuilderMismatchException - Exception in hu.elte.eserial.exception
-
Thrown when object building is interrupted due to a mismatched builder.
- EserialBuilderMismatchException(String, String) - Constructor for exception hu.elte.eserial.exception.EserialBuilderMismatchException
-
Instantiates a new EserialBuilderMismatchException with the given message.
- EserialBuilderMismatchException(String, Throwable) - Constructor for exception hu.elte.eserial.exception.EserialBuilderMismatchException
-
Instantiates a new EserialBuilderMismatchException with the given message and cause.
- EserialContext - Class in hu.elte.eserial.model
-
Stores information about an element: its corresponding field, getter, containing class.
- EserialElement - Class in hu.elte.eserial.model
-
An element is defined by its accessor method (getter or setter) and the corresponding value.
This is a convenience class wrapping these two with interfaces for accessing the containing class and
the corresponding field.
- EserialException - Exception in hu.elte.eserial.exception
-
EserialException is the superclass of those exceptions that can be thrown during
serialization or deserialization with Eserial.
- EserialException(String) - Constructor for exception hu.elte.eserial.exception.EserialException
-
Instantiates a new EserialException with the given message.
- EserialException(String, Throwable) - Constructor for exception hu.elte.eserial.exception.EserialException
-
Instantiates a new EserialException with the given message and cause.
- EserialInputTypeMismatchException - Exception in hu.elte.eserial.exception
-
Thrown when object building is interrupted due to input type mismatch.
- EserialInputTypeMismatchException(String, String) - Constructor for exception hu.elte.eserial.exception.EserialInputTypeMismatchException
-
Instantiates a new EserialInputTypeMismatchException with the given message.
- EserialInputTypeMismatchException(String) - Constructor for exception hu.elte.eserial.exception.EserialInputTypeMismatchException
-
Instantiates a new EserialInputTypeMismatchException with the given message.
- EserialInputTypeMismatchException(String, Throwable) - Constructor for exception hu.elte.eserial.exception.EserialInputTypeMismatchException
-
Instantiates a new EserialInputTypeMismatchException with the given message and cause.
- EserialInstantiationException - Exception in hu.elte.eserial.exception
-
Thrown when object building is interrupted due to failed instantiation.
- EserialInstantiationException(String, Throwable) - Constructor for exception hu.elte.eserial.exception.EserialInstantiationException
-
Instantiates a new EserialInstantationException with the given message and cause.
- EserialInvalidEnumException - Exception in hu.elte.eserial.exception
-
Thrown when Enum building is interrupted due to invalid Enum ordinal or name.
- EserialInvalidEnumException(EnumeratedFormat) - Constructor for exception hu.elte.eserial.exception.EserialInvalidEnumException
-
Instantiates a new EserialInvalidEnumException with a message generated from the given
EnumeratedFormat
.
- EserialInvalidJsonException - Exception in hu.elte.eserial.exception
-
Thrown when parser is interrupted due to getting an invalid json
- EserialInvalidJsonException(String) - Constructor for exception hu.elte.eserial.exception.EserialInvalidJsonException
-
Instantiates a new EserialInvalidJsonException with the given message.
- EserialInvalidMethodException - Exception in hu.elte.eserial.exception
-
Thrown when serialization or deserialization is interrupted due to an invalid getter or setter method.
- EserialInvalidMethodException(String) - Constructor for exception hu.elte.eserial.exception.EserialInvalidMethodException
-
Instantiates a new EserialInvalidMethodException with the given message.
- EserialInvalidMethodException(String, Throwable) - Constructor for exception hu.elte.eserial.exception.EserialInvalidMethodException
-
Instantiates a new EserialInvalidMethodException with the given message and cause.
- EserialMapperMismatchException - Exception in hu.elte.eserial.exception
-
Thrown when serialization is interrupted due to a mismatched mapper.
- EserialMapperMismatchException(String, String) - Constructor for exception hu.elte.eserial.exception.EserialMapperMismatchException
-
Instantiates a new EserialMapperMismatchException with the given message.
- EserialMissingIncludeMatcherEvaluatorException - Exception in hu.elte.eserial.exception
-
- EserialMissingIncludeMatcherEvaluatorException(String) - Constructor for exception hu.elte.eserial.exception.EserialMissingIncludeMatcherEvaluatorException
-
- EserialMissingInclusionRuleException - Exception in hu.elte.eserial.exception
-
- EserialMissingInclusionRuleException(String) - Constructor for exception hu.elte.eserial.exception.EserialMissingInclusionRuleException
-
- EserialNoDefaultConstructorException - Exception in hu.elte.eserial.exception
-
Thrown when object building is interrupted due to the lack of default constructor.
- EserialNoDefaultConstructorException(Throwable) - Constructor for exception hu.elte.eserial.exception.EserialNoDefaultConstructorException
-
Instantiates a new EserialNoDefaultConstructorException with the given cause.
- EserialNotEserialAnnotationException - Exception in hu.elte.eserial.exception
-
Thrown when annotation processing is interrupted due to getting a non-
EserialAnnotation
where one was expected.
- EserialNotEserialAnnotationException(String) - Constructor for exception hu.elte.eserial.exception.EserialNotEserialAnnotationException
-
- EserialPrimitiveCanNotBeNullException - Exception in hu.elte.eserial.exception
-
Thrown when object building is interrupted due to null value given to a primitive type.
- EserialPrimitiveCanNotBeNullException(String) - Constructor for exception hu.elte.eserial.exception.EserialPrimitiveCanNotBeNullException
-
Instantiates a new EserialPrimitiveCanNotBeNullException with the given message.
- EserialSerializerMismatchException - Exception in hu.elte.eserial.exception
-
Thrown when serialization is interrupted due to a mismatched serializer.
- EserialSerializerMismatchException(String, String) - Constructor for exception hu.elte.eserial.exception.EserialSerializerMismatchException
-
Instantiates a new EserialSerializerMismatchException with the given message.
- evaluate(Object) - Method in interface hu.elte.eserial.annotation.includematcherevaluator.IncludeMatcherEvaluator
-
- evaluate(Object) - Method in class hu.elte.eserial.annotation.includematcherevaluator.NotEmptyIncludeMatcherEvaluator
-
- evaluate(Object) - Method in class hu.elte.eserial.annotation.includematcherevaluator.NotNullIncludeMatcherEvaluator
-
- evaluate(EserialElement) - Method in class hu.elte.eserial.annotation.inclusionrule.AbstractInclusionRule
-
An element of an object which will be evaluated.
- evaluate(EserialElement) - Method in class hu.elte.eserial.annotation.inclusionrule.ExcludeThisInclusionRule
-
For any element having the
ExcludeThis
annotation, the element should be excluded.
- evaluate(EserialElement) - Method in class hu.elte.eserial.annotation.inclusionrule.IncludeElementsInclusionRule
-
The field name is extracted from the element
's accessor method (even if it doesn't exist)
and used to decide whether the value should be included.
- evaluate(EserialElement) - Method in class hu.elte.eserial.annotation.inclusionrule.IncludeMatchingInclusionRule
-
- evaluate() - Method in class hu.elte.eserial.model.Getter
-
Evaluates the getter method and returns its value.
- ExcludeThis - Annotation Type in hu.elte.eserial.annotation
-
Indicates that an element should be excluded from the serialization/deserialization process.
- ExcludeThisInclusionRule - Class in hu.elte.eserial.annotation.inclusionrule
-
- IncludeElements - Annotation Type in hu.elte.eserial.annotation
-
Holds a list of element names which should be included in the serialization/deserialization process.
- IncludeElementsInclusionRule - Class in hu.elte.eserial.annotation.inclusionrule
-
- IncludeMatcher - Enum in hu.elte.eserial.annotation.enumeration
-
- IncludeMatcherEvaluator - Interface in hu.elte.eserial.annotation.includematcherevaluator
-
- IncludeMatcherEvaluatorFactory - Class in hu.elte.eserial.annotation.includematcherevaluator
-
- IncludeMatching - Annotation Type in hu.elte.eserial.annotation
-
Holds a list of constraints which should all be true for an element
to be included in the serialization/deserialization process.
- IncludeMatchingInclusionRule - Class in hu.elte.eserial.annotation.inclusionrule
-
- InclusionRuleFactory - Class in hu.elte.eserial.annotation.inclusionrule
-
- invoke(Object) - Method in class hu.elte.eserial.model.Setter
-
Invokes the setter method with the given parameter.
- isArray(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is an array.
- isAssignableFrom(Class, Class) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given from
class is assignable from the target
class.
- isBoolean(String) - Static method in class hu.elte.eserial.util.StringUtils
-
Check the the param string is a Boolean
- isBoolean(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a boolean.
- isCharacter(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a character.
- isCompound(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is compound (not primitive, not wrapper, not a string).
- isDate(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a date.
- isDecimal(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a decimal number.
- isDouble(String) - Static method in class hu.elte.eserial.util.StringUtils
-
Check the the param string is an Double
- isEnum(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is an enum.
- isEserialAnnotation(Annotation) - Static method in class hu.elte.eserial.util.AnnotationUtils
-
- isGetter(Method) - Static method in class hu.elte.eserial.util.MethodUtils
-
Determines if the method is a getter.
- isIgnored(Method) - Static method in class hu.elte.eserial.util.MethodUtils
-
For practical reasons (e.g preventing stack overflow while serializing recursively) we have to
ignore some of the built-in getters.
- isInclusionRule() - Method in class hu.elte.eserial.annotation.inclusionrule.AbstractInclusionRule
-
- isInclusionRule() - Method in class hu.elte.eserial.annotation.inclusionrule.ExcludeThisInclusionRule
-
- isInclusionRule() - Method in class hu.elte.eserial.annotation.inclusionrule.IncludeElementsInclusionRule
-
- isInclusionRule() - Method in class hu.elte.eserial.annotation.inclusionrule.IncludeMatchingInclusionRule
-
- isInteger(String) - Static method in class hu.elte.eserial.util.StringUtils
-
Check the the param string is an Integer
- isLong(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a long.
- isMatchingEserialAnnotation(Annotation, EserialAnnotationType) - Static method in class hu.elte.eserial.util.AnnotationUtils
-
- isNumber(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a number.
- isNumeric(String) - Static method in class hu.elte.eserial.util.StringUtils
-
Check the the param string is a Numeric
- isPrimitive(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a primitive (excluding void).
- isSetter(Method) - Static method in class hu.elte.eserial.util.MethodUtils
-
Determines if the method is a setter.
- isString(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a string.
- isWrapper(Class<?>) - Static method in class hu.elte.eserial.util.TypeUtils
-
Determines if the given Type
is a wrapper.