public class MetadataParserConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected MetadataParserCommon |
common
Common settings used for generating the interfaces and implementation classes.
|
protected String[] |
commonImports |
protected MetadataParserCommonRef |
commonRef
Reference to a common descriptor configuration.
|
protected String |
descriptorName
The name of the descriptor.
|
protected String |
elementName
The name of the root element.
|
protected String |
elementType
The type of the root element.
|
protected boolean |
generateClasses
If true, then the classes for this descriptor are generated, otherwise this descriptor is only used for the
import section.
|
protected boolean |
generateCommonClasses
If true, then the for stand-alone descriptors, the common classes are generated as well
import section.
|
protected String |
nameSpace
The namespace for the given XSD.
|
protected Properties |
namespaces
The map declaring the name spaces for the given descriptor.
|
protected String |
packageApi
The package name for the API classes.
|
protected String |
packageImpl
The package name for the Implementation classes.
|
protected String |
pathToPackageInfoApi
Optional file for package.html or package-info.java
|
protected String |
pathToPackageInfoImpl
Optional file for package.html or package-info.java
|
protected String |
pathToXsd
Path to the XSD file to be parsed
|
protected boolean |
verbose
Trace flag
|
Constructor and Description |
---|
MetadataParserConfiguration() |
protected String pathToXsd
protected String nameSpace
protected String packageApi
protected String packageImpl
protected String descriptorName
protected String elementName
protected String elementType
protected boolean generateClasses
protected boolean generateCommonClasses
protected String[] commonImports
protected boolean verbose
protected String pathToPackageInfoApi
protected String pathToPackageInfoImpl
protected MetadataParserCommon common
protected MetadataParserCommonRef commonRef
protected Properties namespaces
public String getNameSpace()
public void setNameSpace(String nameSpace)
public String getPackageApi()
public void setPackageApi(String packageApi)
public String getPackageImpl()
public void setPackageImpl(String packageImpl)
public String getPathToXsd()
public void setPathToXsd(String pathToXsd)
public String getElementName()
public void setElementName(String elementName)
public String getElementType()
public void setElementType(String elementType)
public boolean isVerbose()
public void setVerbose(boolean verbose)
public String getDescriptorName()
public void setDescriptorName(String descriptorName)
public Properties getNamespaces()
public void setNamespaces(Properties namespaces)
public boolean isGenerateClasses()
public void setGenerateClasses(boolean generateClasses)
public String getPathToPackageInfoApi()
public void setPathToPackageInfoApi(String pathToPackageInfoApi)
public String getPathToPackageInfoImpl()
public void setPathToPackageInfoImpl(String pathToPackageInfoImpl)
public MetadataParserCommon getCommon()
public void setCommon(MetadataParserCommon common)
public MetadataParserCommonRef getCommonRef()
public void setCommonRef(MetadataParserCommonRef commonRef)
public boolean isGenerateCommonClasses()
public void setGenerateCommonClasses(boolean generateCommonClasses)
public String[] getCommonImports()
public void setCommonImports(String[] imports)
Copyright © 2019 JBoss by Red Hat. All rights reserved.