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 ElementPath
duplicate()
boolean
equals(Object o)
String
get(int i)
List<String>
getCopyOfPartList()
String
peekLast()
void
pop()
void
push(String s)
int
size()
String
toString()
-
-
-
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()
-
-