public class DOMEntityDefinitionHelper extends Object
Modifier and Type | Method and Description |
---|---|
static PropertyEntityDefinition |
propertyFromDOM(Element fragment,
TypeIndex types,
SchemaSpaceID ssid)
Converts the given element to a property entity definition.
|
static Element |
propertyToDOM(PropertyEntityDefinition property)
Converts the given property entity definition to an element.
|
static TypeEntityDefinition |
typeFromDOM(Element fragment,
TypeIndex types,
SchemaSpaceID ssid)
Converts the given element to a type entity definition.
|
static Element |
typeToDOM(TypeEntityDefinition type)
Converts the given type entity definition to an element.
|
public static TypeEntityDefinition typeFromDOM(Element fragment, TypeIndex types, SchemaSpaceID ssid)
null
is returned.fragment
- the fragment to converttypes
- the type index to use for unmarshallingssid
- the schema space to use for unmarshallingnull
public static PropertyEntityDefinition propertyFromDOM(Element fragment, TypeIndex types, SchemaSpaceID ssid)
null
is returned.fragment
- the fragment to converttypes
- the type index to use for unmarshallingssid
- the schema space to use for unmarshallingnull
public static Element typeToDOM(TypeEntityDefinition type)
type
- the type entity definition to convertnull
in case of an exceptionpublic static Element propertyToDOM(PropertyEntityDefinition property)
property
- the property entity definition to convertnull
in case of an exceptionBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a