|
||||||||||
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.UnmarshallerFactoryDeployer<T,Boolean>
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 |
---|
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 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 |
---|
createUnmarshallerFactory, doParse, fromString, getDocumentBuilderFactory, isUseNamespaceAwareParser, isValidateDTDs, parse, setSchemaLocation, setUseNamespaceAwareParser, setValidateDTDs |
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.UnmarshallerFactoryDeployer |
---|
getFeatures, isUseDefaultFeatures, setFeatures, setUseDefaultFeatures, start |
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer |
---|
accepts, accepts, allowsMultipleFiles, getAltMappings, getMetadataFile, handleMultipleFiles, init, isDeployable, matchFileToClass, mergeFiles, openStreamAndValidate, parse, parse, parse, parse, parseAndInit, setAllowMultipleFiles |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput |
---|
allowsReparse, createMetaData, createMetaData, createMetaData, createMetaData, deploy, getAttachmentKey, getJarExtension, getMetaData, getName, getNames, getOutput, getSuffix, isBuildManagedObject, isIncludeDeploymentFile, setAttachmentKey, setBuildManagedObject, setIncludeDeploymentFile, setJarExtension, setName, setNames, setSuffix |
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
---|
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, 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 typeMethod Detail |
---|
public String getXSLPath()
public void setXSLPath(String xslPath)
xslPath
- the xslPath.public Templates getTemplates()
IllegalStateException
- if the create method has not been invokedpublic 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 errorprotected void setParameters(Transformer trans) throws Exception
trans
- the transformer
Exception
- for any problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |