com.fasterxml.jackson.dataformat.xml.util
Class XmlRootNameLookup
java.lang.Object
com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup
- All Implemented Interfaces:
- Serializable
public class XmlRootNameLookup
- extends Object
- implements Serializable
Helper class used for efficiently finding root element name used with
XML serializations.
- See Also:
- Serialized Form
Field Summary |
protected com.fasterxml.jackson.databind.util.LRUMap<com.fasterxml.jackson.databind.type.ClassKey,QName> |
_rootNames
For efficient operation, let's try to minimize number of times we
need to introspect root element name to use. |
Method Summary |
QName |
findRootName(Class<?> rootType,
com.fasterxml.jackson.databind.cfg.MapperConfig<?> config)
|
QName |
findRootName(com.fasterxml.jackson.databind.JavaType rootType,
com.fasterxml.jackson.databind.cfg.MapperConfig<?> config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_rootNames
protected final com.fasterxml.jackson.databind.util.LRUMap<com.fasterxml.jackson.databind.type.ClassKey,QName> _rootNames
- For efficient operation, let's try to minimize number of times we
need to introspect root element name to use.
XmlRootNameLookup
public XmlRootNameLookup()
findRootName
public QName findRootName(com.fasterxml.jackson.databind.JavaType rootType,
com.fasterxml.jackson.databind.cfg.MapperConfig<?> config)
findRootName
public QName findRootName(Class<?> rootType,
com.fasterxml.jackson.databind.cfg.MapperConfig<?> config)
Copyright © 2012 FasterXML. All Rights Reserved.