/** * Writes the value expressed as a {@code reference}, which is the horizontal origin specified as a reference to another property. * @param value The earliest date of the interval. */ public final void writeReference(String value) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), value); }
/** * Writes the value expressed as a {@code reference}, which is the horizontal origin specified as a reference to another property. * @param identifier The identifier of the object which contains the referenced property. * @param propertyName The property on the referenced object. */ public final void writeReference(String identifier, String propertyName) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), identifier, propertyName); }
/** * Writes the value expressed as a {@code reference}, which is the horizontal origin specified as a reference to another property. * @param value The reference. */ public final void writeReference(Reference value) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), value); }
/** * Writes the value expressed as a {@code reference}, which is the horizontal origin specified as a reference to another property. * @param identifier The identifier of the object which contains the referenced property. * @param propertyNames The hierarchy of properties to be indexed on the referenced object. */ public final void writeReference(String identifier, String[] propertyNames) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); }
/** * Writes the value expressed as a {@code horizontalOrigin}, which is the horizontal origin. * @param value The horizontal origin. */ public final void writeHorizontalOrigin(@Nonnull CesiumHorizontalOrigin value) { final String PropertyName = HorizontalOriginPropertyName; if (getForceInterval()) { openIntervalIfNecessary(); } if (getIsInterval()) { getOutput().writePropertyName(PropertyName); } getOutput().writeValue(CesiumFormattingHelper.horizontalOriginToString(value)); }