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