Class EntityJsonParserBuilder
- java.lang.Object
-
- org.symphonyoss.symphony.entityjson.EntityJsonParserBuilder
-
public class EntityJsonParserBuilder extends Object
Builder for EntityJsonParser. Fluent interface.- Author:
- Bruce Skingle
-
-
Constructor Summary
Constructors Constructor Description EntityJsonParserBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUnrestrictedSchemaLoad()EntityJsonParserBuilderwithUnrestrictedSchemaLoad(boolean unrestrictedSchemaLoad)Set schema loading behavior.
-
-
-
Method Detail
-
isUnrestrictedSchemaLoad
public boolean isUnrestrictedSchemaLoad()
- Returns:
- The current value of the UnrestrictedSchemaLoad parameter.
-
withUnrestrictedSchemaLoad
public EntityJsonParserBuilder withUnrestrictedSchemaLoad(boolean unrestrictedSchemaLoad)
Set schema loading behavior. By default referenced schemas will only be loaded from known hosts. Setting this parameter to true allows referenced schemas to be loaded from anywhere.- Parameters:
unrestrictedSchemaLoad- Allow schema loading from unknown hosts.- Returns:
- this (fluent interface)
-
-