public class CityGMLSourceContext extends Object implements SourceContextProvider, CityGMLConstants
CITY_MODEL_ELEMENT, CITY_OBJECT_MEMBER_ELEMENT, CITYGML_NAMESPACE_CORE
Constructor and Description |
---|
CityGMLSourceContext(XmlElement cityModel)
Create a CityGML source context.
|
Modifier and Type | Method and Description |
---|---|
String |
getSourceContext(TypeDefinition type,
NamespaceContext namespaceContext)
Get the context from which source instances of the given type should be
retrieved.
|
static boolean |
isCityGMLType(TypeDefinition type,
String baseTypeName)
Determine if a given type is or inherits from a specific CityGML base
type.
|
public CityGMLSourceContext(XmlElement cityModel)
cityModel
- the city model elementpublic String getSourceContext(TypeDefinition type, NamespaceContext namespaceContext)
SourceContextProvider
getSourceContext
in interface SourceContextProvider
type
- the type definitionnamespaceContext
- the namespace context for determining namespace
prefixespublic static boolean isCityGMLType(TypeDefinition type, String baseTypeName)
type
- the type definitionbaseTypeName
- the local name of the base typeBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a