public class XMPPathSegment extends Object
XMPPath
.
Constructor and Description |
---|
XMPPathSegment(String name)
Constructor with initial values.
|
XMPPathSegment(String name, int kind)
Constructor with initial values.
|
Modifier and Type | Method and Description |
---|---|
int |
getAliasForm() |
int |
getKind() |
String |
getName() |
boolean |
isAlias() |
void |
setAlias(boolean alias) |
void |
setAliasForm(int aliasForm) |
void |
setKind(int kind) |
void |
setName(String name) |
String |
toString() |
public XMPPathSegment(String name)
name
- the name of the segment
public XMPPathSegment(String name, int kind)
name
- the name of the segment
kind
- the kind of the segment
public int getKind()
public void setKind(int kind)
kind
- The kind to set.
public String getName()
public void setName(String name)
name
- The name to set.
public void setAlias(boolean alias)
alias
- the flag to set
public boolean isAlias()
public int getAliasForm()
public void setAliasForm(int aliasForm)
aliasForm
- the aliasForm to set
public String toString()
toString
in class Object
Object.toString()
Copyright © 1998–2022. All rights reserved.