Package org.apache.juneau.marshall.uon
Class UonParserSession.Builder<SELF extends UonParserSession.Builder<SELF>>
java.lang.Object
org.apache.juneau.marshall.ContextSession.Builder<SELF>
org.apache.juneau.marshall.MarshallingSession.Builder<SELF>
org.apache.juneau.marshall.parser.ParserSession.Builder<SELF>
org.apache.juneau.marshall.parser.ReaderParserSession.Builder<SELF>
org.apache.juneau.marshall.uon.UonParserSession.Builder<SELF>
- Direct Known Subclasses:
OpenApiParserSession.Builder,UonParserSession.DefaultBuilder,UrlEncodingParserSession.Builder
- Enclosing class:
- UonParserSession
public abstract static class UonParserSession.Builder<SELF extends UonParserSession.Builder<SELF>>
extends ReaderParserSession.Builder<SELF>
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the object.decoding(boolean value) Overrides the decoding flag on the context for this session.Adds a property to this session.validateEnd(boolean value) Validate end.Methods inherited from class org.apache.juneau.marshall.parser.ReaderParserSession.Builder
streamCharsetMethods inherited from class org.apache.juneau.marshall.parser.ParserSession.Builder
javaMethod, maxParseDepth, nulls, outer, schema, schemaDefault, trimStringsMethods inherited from class org.apache.juneau.marshall.MarshallingSession.Builder
activeView, locale, mediaType, mediaTypeDefault, timeZone, timeZoneDefaultMethods inherited from class org.apache.juneau.marshall.ContextSession.Builder
apply, cvt, debug, properties, self, unmodifiable
-
Constructor Details
-
Builder
Constructor- Parameters:
ctx- The context creating this session.
-
-
Method Details
-
build
Description copied from class:MarshallingSession.BuilderBuild the object.- Overrides:
buildin classReaderParserSession.Builder<SELF extends UonParserSession.Builder<SELF>>- Returns:
- The built object.
-
decoding
Overrides the decoding flag on the context for this session.- Parameters:
value- The new value for this setting.- Returns:
- This object.
-
property
Description copied from class:ContextSession.BuilderAdds a property to this session.If the key matches a known session property (e.g.
"debug" or"ContextSession.debug" ), the value is converted viaBasicConverterand routed to the corresponding typed setter. Unknown keys are stored in the raw session properties map.- Overrides:
propertyin classReaderParserSession.Builder<SELF extends UonParserSession.Builder<SELF>>- Parameters:
key- The property key.
Cannot benull .value- The property value.
Can benull (resets typed properties to their default; removes raw properties).- Returns:
- This object.
-
validateEnd
Validate end.- Parameters:
value- The new value for this setting.- Returns:
- This object.
-