com.enonic.xp.lib.schema.mapper.MixinMapper Maven / Gradle / Ivy
package com.enonic.xp.lib.schema.mapper;
import com.enonic.xp.resource.DynamicSchemaResult;
import com.enonic.xp.schema.mixin.Mixin;
import com.enonic.xp.script.serializer.MapGenerator;
public final class MixinMapper
extends SchemaMapper
{
public MixinMapper( final DynamicSchemaResult schema )
{
super( schema );
}
public void serialize( final MapGenerator gen )
{
super.serialize( gen );
DynamicSchemaSerializer.serializeForm( gen, descriptor.getForm() );
}
@Override
protected String getType()
{
return "MIXIN";
}
}