Class XMPPathSegment


  • public class XMPPathSegment
    extends Object
    A segment of a parsed XMPPath.
    Since:
    23.06.2006
    • Constructor Detail

      • XMPPathSegment

        public XMPPathSegment​(String name)
        Constructor with initial values.
        Parameters:
        name - the name of the segment
      • XMPPathSegment

        public XMPPathSegment​(String name,
                              int kind)
        Constructor with initial values.
        Parameters:
        name - the name of the segment
        kind - the kind of the segment
    • Method Detail

      • getKind

        public int getKind()
        Returns:
        Returns the kind.
      • setKind

        public void setKind​(int kind)
        Parameters:
        kind - The kind to set.
      • getName

        public String getName()
        Returns:
        Returns the name.
      • setName

        public void setName​(String name)
        Parameters:
        name - The name to set.
      • setAlias

        public void setAlias​(boolean alias)
        Parameters:
        alias - the flag to set
      • isAlias

        public boolean isAlias()
        Returns:
        Returns the alias.
      • getAliasForm

        public int getAliasForm()
        Returns:
        Returns the aliasForm if this segment has been created by an alias.
      • setAliasForm

        public void setAliasForm​(int aliasForm)
        Parameters:
        aliasForm - the aliasForm to set