public class XmlModelFactory extends AbstractWroModelFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS
The alias for this model factory used by spi provider.
|
| Constructor and Description |
|---|
XmlModelFactory()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
WroModel |
create() |
protected String |
getDefaultModelFilename() |
XmlModelFactory |
setValidateXml(boolean validateXml)
Allows disable the xml validation (which is true by default.
|
destroy, getModelResourceAsStreampublic static final String ALIAS
public WroModel create()
protected String getDefaultModelFilename()
getDefaultModelFilename in class AbstractWroModelFactorypublic XmlModelFactory setValidateXml(boolean validateXml)
Copyright © 2008-2014. All Rights Reserved.