|
||||||||||
| 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.ObjectModelFactoryDeployer<T>
T - the expected typepublic abstract class ObjectModelFactoryDeployer<T>
ObjectModelFactoryDeployer extends the AbstractParsingDeployer to add an abstract JBossXB ObjectModelFactory accessor that is used from within an overriden parse(DeploymentUnit unit, VirtualFile file) to unmarshall the xml document represented by file into an instance of deploymentType T.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
|---|
org.jboss.deployers.spi.Ordered.OrderedComparator |
| Field Summary |
|---|
| Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
|---|
log |
| Fields inherited from interface org.jboss.deployers.spi.Ordered |
|---|
COMPARATOR |
| Constructor Summary | |
|---|---|
ObjectModelFactoryDeployer(Class<T> output)
Create a new SchemaResolverDeployer. |
|
| Method Summary | |
|---|---|
protected abstract org.jboss.xb.binding.ObjectModelFactory |
getObjectModelFactory(T root)
Get the object model factory |
boolean |
isUseSchemaValidation()
Get the useSchemaValidation. |
boolean |
isUseValidation()
Get the useValidation. |
protected T |
parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
T root)
Parse a deployment |
void |
setUseSchemaValidation(boolean useSchemaValidation)
Set the useSchemaValidation. |
void |
setUseValidation(boolean useValidation)
Set the useValidation. |
| 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 |
| Constructor Detail |
|---|
public ObjectModelFactoryDeployer(Class<T> output)
output - the output
IllegalArgumentException - for a null output| Method Detail |
|---|
public boolean isUseSchemaValidation()
public void setUseSchemaValidation(boolean useSchemaValidation)
useSchemaValidation - the useSchemaValidation.public boolean isUseValidation()
public void setUseValidation(boolean useValidation)
useValidation - the useValidation.
protected T parse(VFSDeploymentUnit unit,
org.jboss.virtual.VirtualFile file,
T root)
throws Exception
AbstractVFSParsingDeployer
parse in class AbstractVFSParsingDeployer<T>unit - the deployment unitfile - the metadata fileroot - - possibly null pre-existing root
Exception - for any errorprotected abstract org.jboss.xb.binding.ObjectModelFactory getObjectModelFactory(T root)
root - - possibly null pre-existing root
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||