public YogaBuilder enableStarAsAllFields() { setEnableStarAsAllFields( true ); return this; }
public YogaBuilder enableYogaLinks() { setCreateYogaLinks( true ); return this; }
public YogaBuilder registerYogaMetaDataClasses( Class<?> ... classes ) { setYogaMetaDataRegisteredClasses( classes ); return this; }
@Inject public void setYogaBuilderUtil( YogaBuilderViewFactory util ) { util.injectViewDependencies( _view ); }
/** * This is a mechanism of allowing small aliases to be converted into pre-configured set of aliases * for complicated or common selectors. * * @param aliasProperties an Inputstream that contains key/value pairs to be injected into the Propterties */ public void setAliasProperties( InputStream aliasProperties ) { checkFinalized(); this._aliasProperties = aliasProperties; }
public SelectorBuilderMessageBodyWriter( YogaBuilderViewFactory util ) { super( util.createSelectorBuilderView() ); } }
public StreamingJsonSelectorMessageBodyWriter( YogaBuilderViewFactory util ) { super( util.createStreamingJsonSelectorView() ); } }
public JsonSelectorMessageBodyWriter( YogaBuilderViewFactory util ) { super( util.createJsonSelectorView() ); } }
public YogaBuilder withOutputCountLimit( int countLimit ) { setOutputCountLimit( countLimit ); return this; }
public YogaBuilder withClassFinderStrategy( ClassFinderStrategy classFinderStrategy ) { setClassFinderStrategy( classFinderStrategy ); return this; }
public YogaBuilder withRegistryTraverser( RenderingListenerRegistry registry ) { setRegistry( registry ); return this; }
public YogaBuilder withAliasProperties( InputStream propertyFile ) { setAliasProperties( propertyFile ); return this; }
public XhtmlSelectorMessageBodyWriter( YogaBuilderViewFactory util ) { super( util.createXhtmlSelectorView() ); } }
public YogaBuilder registerEntityConfigurations( YogaEntityConfiguration<?>... entityConfigurations ) { setEntityConfigurations( entityConfigurations ); return this; }
public XmlSelectorMessageBodyWriter( YogaBuilderViewFactory util ) { super( util.createXmlSelectorView() ); } }
public YogaBuilder() { init(); }
/** * Should yoga create metadata links as part of client requests? */ public void setCreateYogaLinks( boolean createAllLinks ) { checkFinalized(); this._createAllLinks = createAllLinks; }
/** * Hibernate and other ORMs do some funky things to your pojo classes. A ClassFinderStrategy * will convert the funky class object into the original version of the pojo's class. * * @param classFinderStrategy - a ClassFinderStrategy that knows how to introspect pojos. * * @see ClassFinderStrategy */ public void setClassFinderStrategy( ClassFinderStrategy classFinderStrategy ) { checkFinalized(); this._classFinderStrategy = classFinderStrategy; }
/** * Allows you to create a RenderingListenerRegistry that contains custom event handlers * for yoga events that relate to different sets of data being added to JSon/XML outputs. * * @param registry a fully formed RenderingListenerRegistry object with custom listeners * * @see RenderingListenerRegistry */ public void setRegistry( RenderingListenerRegistry registry ) { checkFinalized(); this._registry = registry; }
/** * Set the root url to use for metadata requests. */ public void setRootMetaDataUrl( String rootMetaDataUrl ) { checkFinalized(); this._metaDataRegistry.setRootMetaDataUrl( rootMetaDataUrl ); }