public class FaceletAsset extends Object implements org.jboss.shrinkwrap.api.asset.Asset
| Constructor and Description |
|---|
FaceletAsset() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public InputStream openStream()
openStream in interface org.jboss.shrinkwrap.api.asset.Assetpublic FaceletAsset head(Object... heads)
public FaceletAsset body(Object... bodies)
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.
public FaceletAsset xmlns(String prefix, String uri)
Adds XMLNS with given prefix and URI
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.