Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractXmlMojo - Class in org.codehaus.mojo.xml
-
Abstract base class for the plugins Mojo's.
- AbstractXmlMojo() - Constructor for class org.codehaus.mojo.xml.AbstractXmlMojo
- AbstractXmlMojo.CatalogHandling - Enum in org.codehaus.mojo.xml
- activateProxy() - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Called to install the plugins proxy settings.
- asAbsoluteFile(File) - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Converts the given file into an file with an absolute path.
- asFiles(File, String[]) - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Converts the given set of file names into a set of
File
instances.
C
- characters(char[], int, int) - Method in class org.codehaus.mojo.xml.format.IndentCheckSaxHandler
-
Stores the passed characters into a character buffer.
- CheckFormatMojo - Class in org.codehaus.mojo.xml
-
An XML indentation check over a set of files.
- CheckFormatMojo() - Constructor for class org.codehaus.mojo.xml.CheckFormatMojo
-
Creates a new
CheckFormatMojo
instance.
D
- DEFAULT_EXCLUDES - Static variable in class org.codehaus.mojo.xml.format.FormatFileSet
E
- endElement(String, String, String) - Method in class org.codehaus.mojo.xml.format.IndentCheckSaxHandler
-
Checks indentation for an end element.
- error(SAXParseException) - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler
- ERROR - Enum constant in enum org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorType
- ErrorRecord(ValidationErrorHandler.ErrorType, SAXParseException, File) - Constructor for class org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorRecord
- execute() - Method in class org.codehaus.mojo.xml_maven_plugin.HelpMojo
- execute() - Method in class org.codehaus.mojo.xml.CheckFormatMojo
-
Called by Maven for executing the Mojo.
- execute() - Method in class org.codehaus.mojo.xml.TransformMojo
-
Called by Maven to run the plugin.
- execute() - Method in class org.codehaus.mojo.xml.ValidateMojo
-
Called by Maven for executing the Mojo.
F
- FATAL - Enum constant in enum org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorType
- fatalError(SAXParseException) - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler
- findLastModified(List<?>, boolean) - Method in class org.codehaus.mojo.xml.TransformMojo
- FormatFileSet - Class in org.codehaus.mojo.xml.format
-
An extension of
FileSet
that addsFormatFileSet.getEncoding()
andFormatFileSet.getIndentSize()
fields. - FormatFileSet() - Constructor for class org.codehaus.mojo.xml.format.FormatFileSet
G
- getAttributes() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns the attributes, which should be set on the transformer factory.
- getBasedir() - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Returns the projects base directory.
- getCatalogHandling() - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
- getColumn() - Method in class org.codehaus.mojo.xml.format.XmlFormatViolation
- getContext() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorRecord
- getDefault(File, String, int) - Static method in class org.codehaus.mojo.xml.format.FormatFileSet
- getDir() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns a directory, which is scanned for files to transform.
- getDir() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Returns a directory, which is scanned for files to validate.
- getEncoding() - Method in class org.codehaus.mojo.xml.format.FormatFileSet
- getErrorCount() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler
- getErrors() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler
- getException() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorRecord
- getExcludes() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns patterns of files, which are being excluded from the transformation set.
- getExcludes() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Returns patterns of files, which are being excluded from the validation set.
- getExcludes(String[], boolean) - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Calculates the exclusions to use when searching files.
- getExternalSubset(String, String) - Method in class org.codehaus.mojo.xml.Resolver
-
Implementation of
EntityResolver2.getExternalSubset(String, String)
- getFatalCount() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler
- getFeatures() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns the features, which should be set on the transformer factory.
- getFile() - Method in class org.codehaus.mojo.xml.format.XmlFormatViolation
- getFileMappers() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns a set of file mappers, which are being used to convert the generated files name.
- getFileNames(File, String[], String[]) - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Scans a directory for files and returns a set of path names.
- getFiles(File, String[], String[]) - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Scans a directory for files and returns a set of
File
instances. - getIncludes() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns patterns of files, which are being included into the transformation set.
- getIncludes() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Returns patterns of files, which are being included into the validation set.
- getIndentSize() - Method in class org.codehaus.mojo.xml.format.FormatFileSet
- getLineNumber() - Method in class org.codehaus.mojo.xml.format.XmlFormatViolation
- getLocator() - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
- getMessage() - Method in class org.codehaus.mojo.xml.format.XmlFormatViolation
- getName() - Method in class org.codehaus.mojo.xml.transformer.NameValuePair
-
Returns the parameter name.
- getOtherDepends() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns patterns of additional files, which are being considered for the uptodate check.
- getOutputDir() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns the output directory, where the generated files are being placed.
- getOutputProperties() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns the transformers output properties.
- getParameters() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns the stylesheet parameters.
- getProject() - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Returns the maven project.
- getPublicId() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Returns the schemas public ID.
- getResolver() - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Creates a new resolver.
- getResource(String) - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
- getSchemaLanguage() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Returns the schema language.
- getStylesheet() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns the XSLT stylesheet, which is being used to control the transformation.
- getSystemId() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Returns the schemas system ID.
- getType() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorRecord
- getValue() - Method in class org.codehaus.mojo.xml.transformer.NameValuePair
-
Returns the parameter value.
- getWarningCount() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler
H
- handle(XmlFormatViolation) - Method in interface org.codehaus.mojo.xml.format.XmlFormatViolationHandler
-
Called when an
XmlFormatViolation
is found. - HelpMojo - Class in org.codehaus.mojo.xml_maven_plugin
-
Display help information on xml-maven-plugin.
Callmvn xml:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class org.codehaus.mojo.xml_maven_plugin.HelpMojo
I
- ignorableWhitespace(char[], int, int) - Method in class org.codehaus.mojo.xml.format.IndentCheckSaxHandler
-
Just delegates to
IndentCheckSaxHandler.characters(char[], int, int)
, since this method is not called in all situations where it could be naively expected. - IndentCheckSaxHandler - Class in org.codehaus.mojo.xml.format
-
A
DefaultHandler
implementation that detects formatting violations and reports them to the suppliedXmlFormatViolationHandler
. - IndentCheckSaxHandler(File, int, XmlFormatViolationHandler) - Constructor for class org.codehaus.mojo.xml.format.IndentCheckSaxHandler
- isAddedToClasspath() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns, whether the output directory is added to the classpath.
- isError() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorRecord
- isFatal() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorRecord
- isSkipDefaultExcludes() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns, whether Maven's default excludes are being ignored.
- isSkipDefaultExcludes() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Returns, whether Maven's default excludes are being ignored.
- isSkipping() - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
- isUpdToDate(List<?>, List<?>) - Method in class org.codehaus.mojo.xml.TransformMojo
- isValidating() - Method in class org.codehaus.mojo.xml.Resolver
-
Returns, whether the Resolver should create validating parsers.
- isValidating() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns, whether the transformer should create validating XML parsers for reading XML documents.
- isValidating() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
If the documents are being validated for wellformedness only: Returns, whether the parser should be validating.
- isWarning() - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorRecord
- isXincludeAware() - Method in class org.codehaus.mojo.xml.Resolver
-
Returns, whether the transformer should create xinclude aware XML parsers for reading XML documents.
- isXincludeAware() - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Returns, whether the transformer should create xinclude aware XML parsers for reading XML documents.
- isXincludeAware() - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Returns, whether the validator should create xinclude aware XML parsers for reading XML documents.
L
- local - Enum constant in enum org.codehaus.mojo.xml.AbstractXmlMojo.CatalogHandling
-
Unmatched entities are resolved through file only URI resolution
N
- NameValuePair - Class in org.codehaus.mojo.xml.transformer
-
An instance of this class is used to specify an output property.
- NameValuePair() - Constructor for class org.codehaus.mojo.xml.transformer.NameValuePair
- newTransformerFactory(String, ClassLoader) - Static method in class org.codehaus.mojo.xml.TransformMojo
O
- org.codehaus.mojo.xml - package org.codehaus.mojo.xml
- org.codehaus.mojo.xml_maven_plugin - package org.codehaus.mojo.xml_maven_plugin
- org.codehaus.mojo.xml.format - package org.codehaus.mojo.xml.format
- org.codehaus.mojo.xml.transformer - package org.codehaus.mojo.xml.transformer
- org.codehaus.mojo.xml.validation - package org.codehaus.mojo.xml.validation
P
- passivateProxy(Object) - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Called to restore the proxy settings, which have been installed when the plugin was invoked.
- passThrough - Enum constant in enum org.codehaus.mojo.xml.AbstractXmlMojo.CatalogHandling
-
Unmatched entities are resolved through URI resolution
R
- resolve(String) - Method in class org.codehaus.mojo.xml.Resolver
-
Attempts to resolve the given URI.
- resolve(String, String) - Method in class org.codehaus.mojo.xml.Resolver
-
Implementation of
URIResolver.resolve(String, String)
. - resolveEntity(String, String) - Method in class org.codehaus.mojo.xml.format.IndentCheckSaxHandler
-
Always returns an empty
InputSource
to avoid loading of any DTDs. - resolveEntity(String, String) - Method in class org.codehaus.mojo.xml.Resolver
-
Implementation of
EntityResolver.resolveEntity(String, String)
. - resolveEntity(String, String, String, String) - Method in class org.codehaus.mojo.xml.Resolver
-
Implementation of
EntityResolver2.resolveEntity(String, String, String, String)
- Resolver - Class in org.codehaus.mojo.xml
-
An implementation of
EntityResolver
,URIResolver
, andLSResourceResolver
, based on the Apache catalog resolver. - resolveResource(String, String, String, String, String) - Method in class org.codehaus.mojo.xml.Resolver
-
Implementation of
LSResourceResolver.resolveResource(String, String, String, String, String)
.
S
- setAddedToClasspath(boolean) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets, whether the output directory is added to the classpath.
- setAttributes(NameValuePair[]) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets the attributes, which should be set on the transformer factory.
- setCatalogs(List<File>, List<URL>) - Method in class org.codehaus.mojo.xml.AbstractXmlMojo
-
Returns the plugins catalog files.
- setContext(File) - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler
- setDir(File) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets the name of a directory, which is scanned for files to transform.
- setDir(File) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Sets a directory, which is scanned for files to validate.
- setDocumentLocator(Locator) - Method in class org.codehaus.mojo.xml.format.IndentCheckSaxHandler
- setEncoding(String) - Method in class org.codehaus.mojo.xml.format.FormatFileSet
- setExcludes(String[]) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets patterns of files, which are being excluded from the transformation set.
- setExcludes(String[]) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Sets patterns of files, which are being excluded from the validation set.
- setFeatures(NameValuePair[]) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets the features, which should be set on the transformer factory.
- setFileMappers(FileMapper[]) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets a set of file mappers, which are being used to convert the generated files name.
- setIncludes(String[]) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets patterns of files, which are being included into the transformation set.
- setIncludes(String[]) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Sets patterns of files, which are being included into the validation set.
- setIndentSize(int) - Method in class org.codehaus.mojo.xml.CheckFormatMojo
-
Sets the number of spaces for indentation.
- setIndentSize(int) - Method in class org.codehaus.mojo.xml.format.FormatFileSet
- setName(String) - Method in class org.codehaus.mojo.xml.transformer.NameValuePair
-
Sets the parameter name.
- setOtherDepends(String[]) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets patterns of additional files, which are being considered for the uptodate check.
- setOutputDir(File) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets the output directory, where the generated files are being placed.
- setOutputProperties(NameValuePair[]) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets the transformers output properties.
- setParameters(NameValuePair[]) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets the stylesheet parameters.
- setPublicId(String) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Sets the schemas public ID.
- setSchemaLanguage(String) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Sets the schema language.
- setSkipDefaultExcludes(boolean) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets, whether Maven's default excludes are being ignored.
- setSkipDefaultExcludes(boolean) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Sets, whether Maven's default excludes are being ignored.
- setStylesheet(String) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets the XSLT stylesheet, which is being used to control the transformation.
- setSystemId(String) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Sets the schemas system ID.
- setValidating(boolean) - Method in class org.codehaus.mojo.xml.Resolver
-
Sets, whether the Resolver should create validating parsers.
- setValidating(boolean) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets, whether the transformer should create validating XML parsers for reading XML documents.
- setValidating(boolean) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
If the documents are being validated for wellformedness only: Sets, whether the parser should be validating.
- setValue(String) - Method in class org.codehaus.mojo.xml.transformer.NameValuePair
-
Sets the parameter value.
- setXincludeAware(boolean) - Method in class org.codehaus.mojo.xml.Resolver
-
Sets, whether the transformer should create xinclude aware XML parsers for reading XML documents.
- setXincludeAware(boolean) - Method in class org.codehaus.mojo.xml.transformer.TransformationSet
-
Sets, whether the transformer should create xinclude aware XML parsers for reading XML documents.
- setXincludeAware(boolean) - Method in class org.codehaus.mojo.xml.validation.ValidationSet
-
Sets, whether the validator should create xinclude aware XML parsers for reading XML documents.
- startElement(String, String, String, Attributes) - Method in class org.codehaus.mojo.xml.format.IndentCheckSaxHandler
-
Checks indentation for a start element.
- strict - Enum constant in enum org.codehaus.mojo.xml.AbstractXmlMojo.CatalogHandling
-
Unmatched entities generate an error
T
- toString() - Method in class org.codehaus.mojo.xml.format.XmlFormatViolation
- TransformationSet - Class in org.codehaus.mojo.xml.transformer
-
An instance of this class is used to specify a set of files, which are transformed by a common XSLT stylesheet.
- TransformationSet() - Constructor for class org.codehaus.mojo.xml.transformer.TransformationSet
- TransformMojo - Class in org.codehaus.mojo.xml
-
The TransformMojo is used for transforming a set of files using a common stylesheet.
- TransformMojo() - Constructor for class org.codehaus.mojo.xml.TransformMojo
V
- ValidateMojo - Class in org.codehaus.mojo.xml
-
The ValidatorMojo's task is the validation of XML files against a given schema.
- ValidateMojo() - Constructor for class org.codehaus.mojo.xml.ValidateMojo
- ValidationErrorHandler - Class in org.codehaus.mojo.xml.validation
- ValidationErrorHandler() - Constructor for class org.codehaus.mojo.xml.validation.ValidationErrorHandler
- ValidationErrorHandler.ErrorRecord - Class in org.codehaus.mojo.xml.validation
- ValidationErrorHandler.ErrorType - Enum in org.codehaus.mojo.xml.validation
- ValidationSet - Class in org.codehaus.mojo.xml.validation
-
An instance of this class is used to specify a set of files, which are validated against a common schema.
- ValidationSet() - Constructor for class org.codehaus.mojo.xml.validation.ValidationSet
- valueOf(String) - Static method in enum org.codehaus.mojo.xml.AbstractXmlMojo.CatalogHandling
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.codehaus.mojo.xml.AbstractXmlMojo.CatalogHandling
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warning(SAXParseException) - Method in class org.codehaus.mojo.xml.validation.ValidationErrorHandler
- WARNING - Enum constant in enum org.codehaus.mojo.xml.validation.ValidationErrorHandler.ErrorType
X
- XmlFormatViolation - Class in org.codehaus.mojo.xml.format
-
A violation of a prescribed XML formatting.
- XmlFormatViolation(File, int, int, String) - Constructor for class org.codehaus.mojo.xml.format.XmlFormatViolation
- XmlFormatViolationHandler - Interface in org.codehaus.mojo.xml.format
-
An interface for reporting
XmlFormatViolation
s.
All Classes and Interfaces|All Packages|Serialized Form