public class ValidationSet extends Object
Constructor and Description |
---|
ValidationSet() |
Modifier and Type | Method and Description |
---|---|
File |
getDir()
Returns a directory, which is scanned for files to validate.
|
String[] |
getExcludes()
Returns patterns of files, which are being excluded from the validation set.
|
String[] |
getIncludes()
Returns patterns of files, which are being included into the validation set.
|
String |
getPublicId()
Returns the schemas public ID.
|
String |
getSchemaLanguage()
Returns the schema language.
|
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(File pDir)
Sets a directory, which is scanned for files to validate.
|
void |
setExcludes(String[] pExcludes)
Sets patterns of files, which are being excluded from the validation set.
|
void |
setIncludes(String[] pIncludes)
Sets patterns of files, which are being included into the validation set.
|
void |
setPublicId(String pPublicId)
Sets the schemas public ID.
|
void |
setSchemaLanguage(String pSchemaLanguage)
Sets the schema language.
|
void |
setSkipDefaultExcludes(boolean pSkipDefaultExcludes)
Sets, whether Maven's default excludes are being ignored.
|
void |
setSystemId(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.
|
public File getDir()
public String[] getExcludes()
public String[] getIncludes()
public String getPublicId()
public String getSchemaLanguage()
public String getSystemId()
public boolean isSkipDefaultExcludes()
public boolean isValidating()
public void setDir(File pDir)
pDir
- The directory to scan.public void setExcludes(String[] pExcludes)
pExcludes
- Patters of excluded files.public void setIncludes(String[] pIncludes)
pIncludes
- Patters of excluded files.public void setPublicId(String pPublicId)
pPublicId
- The schemas public Id, if available, or null.public void setSchemaLanguage(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(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).Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.