public static final class JXESchemaResolutionMappings.Builder extends Object
JXESchemaResolutionMappings.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method | Description |
|---|---|---|
JXESchemaResolutionMappings |
build() |
Builds a new
JXESchemaResolutionMappings. |
JXESchemaResolutionMappings.Builder |
from(JXESchemaResolutionMappingsType instance) |
Fill a builder with attribute values from the provided
JXESchemaResolutionMappingsType instance. |
JXESchemaResolutionMappings.Builder |
putAllMappings(Map<? extends URI,? extends JXESchemaDefinition> entries) |
Put all mappings from the specified map as entries to
mappings map. |
JXESchemaResolutionMappings.Builder |
putMappings(URI key,
JXESchemaDefinition value) |
Put one entry to the
mappings map. |
JXESchemaResolutionMappings.Builder |
putMappings(Map.Entry<? extends URI,? extends JXESchemaDefinition> entry) |
Put one entry to the
mappings map. |
JXESchemaResolutionMappings.Builder |
setMappings(Map<? extends URI,? extends JXESchemaDefinition> entries) |
Sets or replaces all mappings from the specified map as entries for the
mappings map. |
public final JXESchemaResolutionMappings.Builder from(JXESchemaResolutionMappingsType instance)
JXESchemaResolutionMappingsType instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final JXESchemaResolutionMappings.Builder putMappings(URI key, JXESchemaDefinition value)
mappings map.key - The key in the mappings mapvalue - The associated value in the mappings mapthis builder for use in a chained invocationpublic final JXESchemaResolutionMappings.Builder putMappings(Map.Entry<? extends URI,? extends JXESchemaDefinition> entry)
mappings map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final JXESchemaResolutionMappings.Builder setMappings(Map<? extends URI,? extends JXESchemaDefinition> entries)
mappings map. Nulls are not permittedentries - The entries that will be added to the mappings mapthis builder for use in a chained invocationpublic final JXESchemaResolutionMappings.Builder putAllMappings(Map<? extends URI,? extends JXESchemaDefinition> entries)
mappings map. Nulls are not permittedentries - The entries that will be added to the mappings mapthis builder for use in a chained invocationpublic JXESchemaResolutionMappings build()
JXESchemaResolutionMappings.IllegalStateException - if any required attributes are missingCopyright © 2018 <code@io7m.com> http://io7m.com