|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.deployers.spi.deployer.helpers.AbstractDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployer
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput<T>
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer<T>
org.jboss.deployers.vfs.spi.deployer.JAXPDeployer<T>
org.jboss.deployers.vfs.spi.deployer.XSLDeployer<T>
T - the expected typepublic abstract class XSLDeployer<T>
SchemaResolverDeployer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
|---|
org.jboss.deployers.spi.Ordered.OrderedComparator |
| Field Summary | |
|---|---|
protected String |
xslPath
The xsl resource path |
| Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
|---|
log |
| Fields inherited from interface org.jboss.deployers.spi.Ordered |
|---|
COMPARATOR |
| Constructor Summary | |
|---|---|
XSLDeployer(Class<T> deploymentType)
Create a new XSLDeployer. |
|
| Method Summary | |
|---|---|
void |
create()
Create lifecycle |
void |
destroy()
Destroy lifecycle |
Templates |
getTemplates()
Get the templates. |
String |
getXSLPath()
Get the xslPath. |
protected abstract T |
parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
Document document)
Parse a deployment |
protected T |
parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
T root)
Parse a deployment |
protected void |
setParameters(Transformer trans)
Set parameters for the transformation |
void |
setXSLPath(String xslPath)
Set the xslPath. |
| Methods inherited from class org.jboss.deployers.vfs.spi.deployer.JAXPDeployer |
|---|
doParse, getDocumentBuilderFactory, isUseNamespaceAwareParser, isValidateDTDs, setUseNamespaceAwareParser, setValidateDTDs |
| Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer |
|---|
accepts, accepts, init, parse, parse |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput |
|---|
allowsReparse, build, createMetaData, createMetaData, deploy, getMetaData, getName, getOutput, getSuffix, isBuildManagedObject, isIncludeDeploymentFile, setBuildManagedObject, setIncludeDeploymentFile, setName, setSuffix |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
|---|
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutputs, getRelativeOrder, getStage, getType, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setType, setWantComponents, undeploy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String xslPath
| Constructor Detail |
|---|
public XSLDeployer(Class<T> deploymentType)
deploymentType - the deployment type
IllegalArgumentException - for a null deployment type| Method Detail |
|---|
public String getXSLPath()
public void setXSLPath(String xslPath)
xslPath - the xslPath.public Templates getTemplates()
IllegalStateException - if the create method has not been invoked
public void create()
throws Exception
create in class JAXPDeployer<T>Exception - for any problempublic void destroy()
destroy in class JAXPDeployer<T>
protected T parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
T root)
throws Exception
AbstractVFSParsingDeployer
parse in class JAXPDeployer<T>unit - the deployment unitfile - the metadata fileroot - - possibly null pre-existing root
Exception - for any error
protected void setParameters(Transformer trans)
throws Exception
trans - the transformer
Exception - for any problem
protected abstract T parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
Document document)
throws Exception
parse in class JAXPDeployer<T>unit - the deployment unitfile - the metadata filedocument - the document
Exception - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||