public class DocumentDescriptorReader extends Object
Constructor and Description |
---|
DocumentDescriptorReader()
Constructor.
|
DocumentDescriptorReader(MavenProject project)
Constructor.
|
DocumentDescriptorReader(MavenProject project,
Log log,
Locale locale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.maven.doxia.document.DocumentModel |
readAndFilterDocumentDescriptor(File docDescriptor)
Read and filter the
docDescriptor file. |
public DocumentDescriptorReader()
public DocumentDescriptorReader(MavenProject project)
project
- may be null.public DocumentDescriptorReader(MavenProject project, Log log, Locale locale)
project
- may be null.log
- may be null.public org.apache.maven.doxia.document.DocumentModel readAndFilterDocumentDescriptor(File docDescriptor) throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOException
docDescriptor
file.docDescriptor
- not null, corresponding to non-localized descriptor file.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- if an error occurs during parsing.IOException
- if an error occurs during reading.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.