public class ComponentDescriptorIO extends Object
ComponentDescriptorIO
is a helper class to read and write component descriptor files.Modifier and Type | Class and Description |
---|---|
protected static class |
ComponentDescriptorIO.XmlHandler
A content handler for parsing the component descriptions.
|
Modifier and Type | Field and Description |
---|---|
static String |
INNER_NAMESPACE_URI
The inner namespace - used for all inner elements.
|
Constructor and Description |
---|
ComponentDescriptorIO() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
generateDescriptorFiles(DescriptionContainer module,
Options options,
Log logger)
Generate descriptor file(s)
|
static List<ClassDescription> |
read(InputStream file,
ClassLoader classLoader,
IssueLog iLog,
String location) |
public static final String INNER_NAMESPACE_URI
public static List<ClassDescription> read(InputStream file, ClassLoader classLoader, IssueLog iLog, String location) throws SCRDescriptorException
SCRDescriptorException
public static List<String> generateDescriptorFiles(DescriptionContainer module, Options options, Log logger) throws SCRDescriptorException, SCRDescriptorFailureException
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.