/** * Copies this instance and returns the copy. * @return The copy. */ @Override public CustomPropertyCesiumWriter clone() { return new CustomPropertyCesiumWriter(this); }
/** * Gets a new writer for a {@code CustomProperty} property. The returned instance must be opened by calling the {@link CesiumElementWriter#open} method before it can be used for writing. A {@code CustomProperty} property defines a custom property. */ public final CustomPropertyCesiumWriter getCustomPropertyWriter(String name) { return new CustomPropertyCesiumWriter(name); }
/** * Opens and returns a new writer for a {@code CustomProperty} property. A {@code CustomProperty} property defines a custom property. * @param name The name of the new property writer. */ public final CustomPropertyCesiumWriter openCustomPropertyProperty(String name) { openIntervalIfNecessary(); return this.<CustomPropertyCesiumWriter> openAndReturn(new CustomPropertyCesiumWriter(name)); } }