public class XmlLoader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ComponentBase |
load(org.w3c.dom.Document document,
android.content.Context context)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
static ComponentBase |
load(org.w3c.dom.Document document,
android.content.Context context,
java.lang.Object target)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
static ComponentBase |
load(org.w3c.dom.Document document,
android.content.Context context,
java.lang.Object target,
com.mindfusion.diagramming.components.TypeResolver typeResolver)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
static ComponentBase |
load(java.io.InputStream xmlStream,
android.content.Context context)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
static ComponentBase |
load(java.io.InputStream xmlStream,
android.content.Context context,
java.lang.Object target)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
static ComponentBase |
load(java.io.InputStream xmlStream,
android.content.Context context,
java.lang.Object target,
com.mindfusion.diagramming.components.TypeResolver typeResolver)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
static ComponentBase |
load(java.lang.String xml,
android.content.Context context)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
static ComponentBase |
load(java.lang.String xml,
android.content.Context context,
java.lang.Object target)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
static ComponentBase |
load(java.lang.String xml,
android.content.Context context,
java.lang.Object target,
com.mindfusion.diagramming.components.TypeResolver typeResolver)
Loads the component hierarchy from the specified XML stream and returns the root of this hierarchy.
|
public static ComponentBase load(java.lang.String xml, android.content.Context context)
xml
- A XML representing a component hierarchy.public static ComponentBase load(java.lang.String xml, android.content.Context context, java.lang.Object target)
xml
- A XML representing a component hierarchy.target
- An object that is declaring the handlers for the events in the code and also used to evaluate expressions.public static ComponentBase load(java.lang.String xml, android.content.Context context, java.lang.Object target, com.mindfusion.diagramming.components.TypeResolver typeResolver)
xml
- A XML representing a component hierarchy.target
- An object that is declaring the handlers for the events in the code and also used to evaluate expressions.typeResolver
- An object used to resolve unknown type names.public static ComponentBase load(java.io.InputStream xmlStream, android.content.Context context)
xmlStream
- A XML stream representing a component hierarchy.public static ComponentBase load(java.io.InputStream xmlStream, android.content.Context context, java.lang.Object target)
xmlStream
- A XML stream representing a component hierarchy.target
- An object that is declaring the handlers for the events in the code and also used to evaluate expressions.public static ComponentBase load(java.io.InputStream xmlStream, android.content.Context context, java.lang.Object target, com.mindfusion.diagramming.components.TypeResolver typeResolver)
xmlStream
- A XML stream representing a component hierarchy.target
- An object that is declaring the handlers for the events in the code and also used to evaluate expressions.typeResolver
- An object used to resolve unknown type names.public static ComponentBase load(org.w3c.dom.Document document, android.content.Context context)
document
- The XmlDocument to load from.public static ComponentBase load(org.w3c.dom.Document document, android.content.Context context, java.lang.Object target)
document
- The XmlDocument to load from.target
- An object that is declaring the handlers for the events in the code and also used to evaluate expressions.public static ComponentBase load(org.w3c.dom.Document document, android.content.Context context, java.lang.Object target, com.mindfusion.diagramming.components.TypeResolver typeResolver)
document
- The XmlDocument to load from.target
- An object that is declaring the handlers for the events in the code and also used to evaluate expressions.typeResolver
- An object used to resolve unknown type names.