public interface IXamlNameMapper
Modifier and Type | Method and Description |
---|---|
XmlName |
getName(IWriteContext context,
Type type)
Returns the XML tag name that belongs to type .
|
Class |
getType(IParseContext context,
XmlName fqTagName)
Returns a
Class that matches the given fqTagName of an XML element. |
XmlName getName(IWriteContext context, Type type)
type
context
- The current write context.type
- The type for which an XML namespace mapping is searched.type
Class getType(IParseContext context, XmlName fqTagName)
Class
that matches the given fqTagName
of an XML element.
fqTagName
must follow the usual XAML naming rules.
context
- The current parse context.fqTagName
- The fully qualified XML element name that must describe a valid type in this CLR namespace.com.yworks.yfiles.graphml.XmlnsDefinition