public class ValidationSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.io.File |
dir |
private java.lang.String[] |
excludes |
private java.lang.String[] |
includes |
private java.lang.String |
publicId |
private java.lang.String |
schemaLanguage |
private boolean |
skipDefaultExcludes |
private java.lang.String |
systemId |
private boolean |
validating |
private boolean |
xincludeAware |
Constructor and Description |
---|
ValidationSet() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getDir()
Returns a directory, which is scanned for files to validate.
|
java.lang.String[] |
getExcludes()
Returns patterns of files, which are being excluded from the validation set.
|
java.lang.String[] |
getIncludes()
Returns patterns of files, which are being included into the validation set.
|
java.lang.String |
getPublicId()
Returns the schemas public ID.
|
java.lang.String |
getSchemaLanguage()
Returns the schema language.
|
java.lang.String |
getSystemId()
Returns the schemas system ID.
|
boolean |
isSkipDefaultExcludes()
Returns, whether Maven's default excludes are being ignored.
|
boolean |
isValidating()
If the documents are being validated for wellformedness only: Returns, whether the parser should be validating.
|
boolean |
isXincludeAware()
Returns, whether the validator should create xinclude aware XML parsers for reading XML documents.
|
void |
setDir(java.io.File pDir)
Sets a directory, which is scanned for files to validate.
|
void |
setExcludes(java.lang.String[] pExcludes)
Sets patterns of files, which are being excluded from the validation set.
|
void |
setIncludes(java.lang.String[] pIncludes)
Sets patterns of files, which are being included into the validation set.
|
void |
setPublicId(java.lang.String pPublicId)
Sets the schemas public ID.
|
void |
setSchemaLanguage(java.lang.String pSchemaLanguage)
Sets the schema language.
|
void |
setSkipDefaultExcludes(boolean pSkipDefaultExcludes)
Sets, whether Maven's default excludes are being ignored.
|
void |
setSystemId(java.lang.String pSystemId)
Sets the schemas system ID.
|
void |
setValidating(boolean pValidating)
If the documents are being validated for wellformedness only: Sets, whether the parser should be validating.
|
void |
setXincludeAware(boolean pXIncludeAware)
Sets, whether the validator should create xinclude aware XML parsers for reading XML documents.
|
private java.lang.String publicId
private java.lang.String systemId
private java.lang.String schemaLanguage
private boolean validating
private java.io.File dir
private java.lang.String[] includes
private java.lang.String[] excludes
private boolean skipDefaultExcludes
private boolean xincludeAware
public java.io.File getDir()
public java.lang.String[] getExcludes()
public java.lang.String[] getIncludes()
public java.lang.String getPublicId()
public java.lang.String getSchemaLanguage()
public java.lang.String getSystemId()
public boolean isSkipDefaultExcludes()
public boolean isValidating()
public void setDir(java.io.File pDir)
pDir
- The directory to scan.public void setExcludes(java.lang.String[] pExcludes)
pExcludes
- Patters of excluded files.public void setIncludes(java.lang.String[] pIncludes)
pIncludes
- Patters of excluded files.public void setPublicId(java.lang.String pPublicId)
pPublicId
- The schemas public Id, if available, or null.public void setSchemaLanguage(java.lang.String pSchemaLanguage)
pSchemaLanguage
- The schema language, if available, or null.public void setSkipDefaultExcludes(boolean pSkipDefaultExcludes)
pSkipDefaultExcludes
- Sets, whether to apply Maven's default ecxludes (false, default), or not (true).public void setSystemId(java.lang.String pSystemId)
pSystemId
- The schemas system ID, if available, or null.public void setValidating(boolean pValidating)
pValidating
- Whether documents are being validated (true), or not (false, default).public boolean isXincludeAware()
public void setXincludeAware(boolean pXIncludeAware)
pXIncludeAware
- Whether XML parsers should be xinclude aware (true), or not (false, default).