- java.lang.Object
-
- ch.qos.logback.core.joran.spi.ElementPath
-
- Direct Known Subclasses:
ElementSelector
public class ElementPath extends Object
An element path characterizes a traversal path in an XML document.- Since:
- 1.1.0
- Author:
- Ceki Gulcu
-
-
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()protected StringtoStableString()StringtoString()
-
-
-
Constructor Detail
-
ElementPath
public ElementPath()
-
ElementPath
public ElementPath(List<String> list)
-
ElementPath
public ElementPath(String pathStr)
Build an elementPath from a string.Note that "/x" is considered equivalent to "x" and to "x/"
-
-
Method Detail
-
duplicate
public ElementPath duplicate()
-
getCopyOfPartList
public List<String> getCopyOfPartList()
-
pop
public void pop()
-
size
public int size()
-
toStableString
protected String toStableString()
-
-