Class CBORParser.StringRefListStack
- java.lang.Object
-
- com.fasterxml.jackson.dataformat.cbor.CBORParser.StringRefListStack
-
- Enclosing class:
- CBORParser
protected static final class CBORParser.StringRefListStack extends java.lang.Object
Type to keep a stack of string refs based on namespaces within the document.- Since:
- 2.15
-
-
Field Summary
Fields Modifier and Type Field Description private int
_nestedDepth
private java.util.Stack<CBORParser.StringRefList>
_stringRefs
-
Constructor Summary
Constructors Modifier Constructor Description protected
StringRefListStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
empty()
CBORParser.StringRefList
peek()
void
pop()
void
push(boolean hasNamespace)
-
-
-
Field Detail
-
_stringRefs
private java.util.Stack<CBORParser.StringRefList> _stringRefs
-
_nestedDepth
private int _nestedDepth
-
-
Method Detail
-
push
public void push(boolean hasNamespace)
-
pop
public void pop()
-
peek
public CBORParser.StringRefList peek()
-
empty
public boolean empty()
-
-