@FieldsAreNonnullByDefault @ParametersAreNonnullByDefault
Package com.atlassian.adf.util
Utility classes that are common to ADF nodes and marks, but not generally of any interest
outside of the builder implementation.
-
Interface Summary Interface Description Fold2<A,B> Sum type of two other types.Fold3<A,B,C> Sum type of three other types. -
Class Summary Class Description Cast This is a way for us to declare explicitly that we know something that the compiler doesn't and pinky-swear that the value we have really is of the inferred return type.Char Fromeditor-wikimarkup-transformer/src/char.tsoriginally, but there is a lot more in here, now.Colors Fromadf-schema/src/utils/colors.ts.DateUtil Frompackages/editor/editor-common/src/utils/date.tsinatlassian-frontend.EnumParser<E extends Enum<E>> Extracts a lookup map from an enumerated type.Factory<T extends Element> Supporting class for the parser that resolves thetypeof an element to its corresponding node or mark class as well as a sub-parser that can reconstruct the element from its map value.FieldMap A mutableMap<String, Object>with a few helpful additions for constructing the representation of ADF nodes and marks.Functions ParserSupport Utility/support methods common to parsing nodes or marks.Sanitizer Fromsrc/lib/adf/adf-sanitizer.tsinpf-content-service.UrlUtil Utility class for working with URLs in a way that helps keep them from breaking either Java or JavaScript code. -
Enum Summary Enum Description Colors.Named The standard color names, as taken from the W3C CSS/Properties/color/keywords specification.