Package ch.qos.logback.core.joran.spi
Class ElementPath
- java.lang.Object
-
- ch.qos.logback.core.joran.spi.ElementPath
-
- Direct Known Subclasses:
ElementSelector
public class ElementPath extends Object
A element path characterizes a traversal path in an XML document.- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description ElementPath()ElementPath(String pathStr)Build an elementPath from a string.ElementPath(List<String> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementPathduplicate()booleanequals(Object o)Stringget(int i)List<String>getCopyOfPartList()StringpeekLast()voidpop()voidpush(String s)intsize()StringtoString()
-
-
-
Method Detail
-
duplicate
public ElementPath duplicate()
-
push
public void push(String s)
-
get
public String get(int i)
-
pop
public void pop()
-
peekLast
public String peekLast()
-
size
public int size()
-
-