public class PathSegment extends Object implements Serializable, IExtensible
| Constructor and Description |
|---|
PathSegment(String expression,
String value)
constructor of path segment
|
PathSegment(String expression,
String value,
Axis axis)
constructor of path segment
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtension(IExtension<?> extension)
Append an extension for this pathsegment
|
Axis |
getAxis()
getter for axistype
|
String |
getExpression()
getter for representative string for pathsegment (value and extensions)
|
IExtension<?> |
getExtension(String type)
getter for single extension
|
List<IExtension<?>> |
getExtensionList()
getter for all extensions
|
List<IExtension<?>> |
getExtensionList(String type)
getter for extension list of defined type
|
String |
getValue()
getter for pathsegment value
|
protected void |
setExpression(String expression)
setter for expression string
|
public PathSegment(String expression, String value)
expression - string expressionvalue - segment valueprotected void setExpression(String expression)
expression - public Axis getAxis()
protected void addExtension(IExtension<?> extension)
extension - public IExtension<?> getExtension(String type)
IExtensiblegetExtension in interface IExtensibletype - extensiontypepublic List<IExtension<?>> getExtensionList()
IExtensiblegetExtensionList in interface IExtensiblepublic List<IExtension<?>> getExtensionList(String type)
IExtensiblegetExtensionList in interface IExtensibletype - filterpublic String getExpression()
public String getValue()
Copyright © 2020. All rights reserved.