Top Description Fields Constructors Methods
com.fasterxml.jackson.dataformat.xml.deser

pack-priv Class ElementWrapper

extends Object
Class Inheritance

Helper class needed to keep track of virtual wrapper elements added in the logical XML token stream.

Field Summary

Modifier and TypeField and Description
protected final ElementWrapper
protected final String
protected final String

Constructor Summary

AccessConstructor and Description
private
private
ElementWrapper(ElementWrapper parent, String wrapperLocalName, String wrapperNamespace)

Method Summary

Modifier and TypeMethod and Description
public ElementWrapper
public String
public String
public ElementWrapper
intermediateWrapper()

Factory method used for creating intermediate wrapper level, which is only used for purpose of keeping track of physical element nesting.

public boolean
public boolean
matchesWrapper(String localName, String ns)

public static ElementWrapper
matchingWrapper(ElementWrapper parent, String wrapperLocalName, String wrapperNamespace)

Factory method called to construct a new "matching" wrapper element, at level where virtual wrapping is needed.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

_parentback to summary
protected final ElementWrapper _parent
_wrapperNameback to summary
protected final String _wrapperName
_wrapperNamespaceback to summary
protected final String _wrapperNamespace

Constructor Detail

ElementWrapperback to summary
private ElementWrapper(ElementWrapper parent)
ElementWrapperback to summary
private ElementWrapper(ElementWrapper parent, String wrapperLocalName, String wrapperNamespace)

Method Detail

getParentback to summary
public ElementWrapper getParent()
getWrapperLocalNameback to summary
public String getWrapperLocalName()
getWrapperNamespaceback to summary
public String getWrapperNamespace()
intermediateWrapperback to summary
public ElementWrapper intermediateWrapper()

Factory method used for creating intermediate wrapper level, which is only used for purpose of keeping track of physical element nesting.

isMatchingback to summary
public boolean isMatching()
matchesWrapperback to summary
public boolean matchesWrapper(String localName, String ns)
matchingWrapperback to summary
public static ElementWrapper matchingWrapper(ElementWrapper parent, String wrapperLocalName, String wrapperNamespace)

Factory method called to construct a new "matching" wrapper element, at level where virtual wrapping is needed.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override