public final class FeaturableConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLASS
Class attribute name.
|
static String |
DEFAULT_FILENAME
Default file name.
|
static String |
NODE_FEATURABLE
Featurable node name.
|
static String |
NODE_FEATURE
Feature node.
|
static String |
SETUP
Setup attribute name.
|
Constructor and Description |
---|
FeaturableConfig(String clazz,
String setup)
Create an featurable configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
static Xml |
exportClass(String clazz)
Export the featurable node from class data.
|
static Xml |
exportSetup(String setup)
Export the featurable node from setup data.
|
String |
getClassName()
Get the class name node value.
|
String |
getSetupName()
Get the setup class name node value.
|
int |
hashCode() |
static FeaturableConfig |
imports(Configurer configurer)
Import the featurable data from configurer.
|
static FeaturableConfig |
imports(Xml root)
Import the featurable data from node.
|
String |
toString() |
public static final String DEFAULT_FILENAME
public static final String NODE_FEATURABLE
public static final String CLASS
public static final String SETUP
public static final String NODE_FEATURE
public static FeaturableConfig imports(Configurer configurer)
configurer
- The configurer reference.LionEngineException
- If unable to read node.public static FeaturableConfig imports(Xml root)
root
- The root node reference.LionEngineException
- If unable to read node.public static Xml exportClass(String clazz)
clazz
- The class name.LionEngineException
- If unable to export node.public static Xml exportSetup(String setup)
setup
- The setup name.LionEngineException
- If unable to export node.public String getClassName()
public String getSetupName()
Copyright © 2017 Byron 3D Games Studio. All rights reserved.