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

com.enonic.xp.page.PageRegions Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.page;


import com.enonic.xp.annotation.PublicApi;
import com.enonic.xp.region.AbstractRegions;

@PublicApi
public final class PageRegions
    extends AbstractRegions
{
    private PageRegions( final Builder builder )
    {
        super( builder );
    }

    public static Builder create()
    {
        return new Builder();
    }

    public static Builder create( final PageRegions source )
    {
        return new Builder( source );
    }

    @Override
    public PageRegions copy()
    {
        return PageRegions.create( this ).build();
    }

    public static class Builder
        extends AbstractRegions.Builder
    {
        private Builder( final PageRegions source )
        {
            super( source );
        }

        private Builder()
        {
            // Default
        }

        public PageRegions build()
        {
            return new PageRegions( this );
        }
    }
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy