RichFaces Arquillian Test Commons 4.3.3.Final

org.richfaces.shrinkwrap.descriptor
Class FaceletAsset

java.lang.Object
  extended by org.richfaces.shrinkwrap.descriptor.FaceletAsset
All Implemented Interfaces:
org.jboss.shrinkwrap.api.asset.Asset

public class FaceletAsset
extends Object
implements org.jboss.shrinkwrap.api.asset.Asset

Assert simplifying process of creating facelets XHTML definitions out of template.

Author:
Lukas Fryc

Constructor Summary
FaceletAsset()
           
 
Method Summary
 FaceletAsset body(Object... bodies)
          Places content into <h:body>
 FaceletAsset form(Object... forms)
           Adds content enclosed within form: <h:form id='form' prependId='false' />
 FaceletAsset head(Object... heads)
          Places content into <h:head>
 InputStream openStream()
           
 FaceletAsset xmlns(String prefix, String uri)
           Adds XMLNS with given prefix and URI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaceletAsset

public FaceletAsset()
Method Detail

openStream

public InputStream openStream()
Specified by:
openStream in interface org.jboss.shrinkwrap.api.asset.Asset

head

public FaceletAsset head(Object... heads)
Places content into <h:head>


body

public FaceletAsset body(Object... bodies)
Places content into <h:body>


form

public FaceletAsset form(Object... forms)

Adds content enclosed within form: <h:form id='form' prependId='false' />

No form is inserted when this method is not invoked.


xmlns

public FaceletAsset xmlns(String prefix,
                          String uri)

Adds XMLNS with given prefix and URI


RichFaces Arquillian Test Commons 4.3.3.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.