|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.sun.tools.xjc.XJC2Task
com.sun.tools.xjc.maven2.XJC2TaskAdapter
public class XJC2TaskAdapter
Inherit all the Ant XJC2Task behaviour and compensate for the missing Ant project and Maven logging facility.
Field Summary |
---|
Fields inherited from class com.sun.tools.xjc.XJC2Task |
---|
options |
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
XJC2TaskAdapter(org.apache.maven.plugin.logging.Log log)
Constructor |
Method Summary | |
---|---|
void |
log(java.lang.String message,
int logType)
Overloaded to route logging mesages from XJC2Task to the Maven logger. |
void |
setStrict(boolean strict)
Perform strict validation of the input schema. |
Methods inherited from class com.sun.tools.xjc.XJC2Task |
---|
addConfiguredBinding, addConfiguredDepends, addConfiguredProduces, addConfiguredSchema, addConfiguredXMLCatalog, createArg, createClasspath, execute, setBinding, setCatalog, setClasspath, setClasspathRef, setDestdir, setExtension, setFailonerror, setHeader, setLanguage, setPackage, setReadonly, setRemoveOldOutput, setSchema, setStackSize, setTarget, setXexplicitAnnotation |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XJC2TaskAdapter(org.apache.maven.plugin.logging.Log log)
log
- The logging system to use.Method Detail |
---|
public void log(java.lang.String message, int logType)
log
in class org.apache.tools.ant.Task
message
- message to log.logType
- message log level.public void setStrict(boolean strict)
strict
- true to perform validation of the input schemas.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |