Package org.apache.juneau.marshall
Class MarshallingTraverseSession.Builder<SELF extends MarshallingTraverseSession.Builder<SELF>>
java.lang.Object
org.apache.juneau.marshall.ContextSession.Builder<SELF>
org.apache.juneau.marshall.MarshallingSession.Builder<SELF>
org.apache.juneau.marshall.MarshallingTraverseSession.Builder<SELF>
- Direct Known Subclasses:
JsonSchemaGeneratorSession.Builder,SerializerSession.Builder
- Enclosing class:
- MarshallingTraverseSession
public abstract static class MarshallingTraverseSession.Builder<SELF extends MarshallingTraverseSession.Builder<SELF>>
extends MarshallingSession.Builder<SELF>
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.marshall.MarshallingSession.Builder
activeView, build, 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.
Cannot benull .
-
-
Method Details
-
initialDepth
Initial depth.- Parameters:
value- The new value for this property.- 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 classMarshallingSession.Builder<SELF extends MarshallingTraverseSession.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.
-