All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vladsch.flexmark.ext.zzzzzz.internal.ZzzzzzOptions Maven / Gradle / Ivy

There is a newer version: 0.64.8
Show newest version
package com.vladsch.flexmark.ext.zzzzzz.internal;

import com.vladsch.flexmark.ext.zzzzzz.ZzzzzzExtension;
import com.vladsch.flexmark.util.options.DataHolder;
import com.vladsch.flexmark.util.options.MutableDataHolder;
import com.vladsch.flexmark.util.options.MutableDataSetter;

class ZzzzzzOptions implements MutableDataSetter {
    public final boolean zzzzzzOption1;
    public final String zzzzzzOption2;
    public final int zzzzzzOption3;

    public ZzzzzzOptions(DataHolder options) {
        zzzzzzOption1 = ZzzzzzExtension.ZZZZZZ_OPTION1.getFrom(options);
        zzzzzzOption2 = ZzzzzzExtension.ZZZZZZ_OPTION2.getFrom(options);
        zzzzzzOption3 = ZzzzzzExtension.ZZZZZZ_OPTION3.getFrom(options);
    }

    @Override
    public MutableDataHolder setIn(final MutableDataHolder dataHolder) {
        dataHolder.set(ZzzzzzExtension.ZZZZZZ_OPTION1,zzzzzzOption1);
        dataHolder.set(ZzzzzzExtension.ZZZZZZ_OPTION2,zzzzzzOption2);
        dataHolder.set(ZzzzzzExtension.ZZZZZZ_OPTION3,zzzzzzOption3);
        return dataHolder;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy