Class PathHolderSegment


  • public class PathHolderSegment
    extends Object
    Author:
    Radovan Semancik
    • Constructor Detail

      • PathHolderSegment

        public PathHolderSegment​(QName qName)
      • PathHolderSegment

        public PathHolderSegment​(QName qName,
                                 boolean variable)
      • PathHolderSegment

        public PathHolderSegment​(String value)
    • Method Detail

      • isIdValueFilter

        public boolean isIdValueFilter()
      • getQName

        public QName getQName()
        Get the value of qName
        Returns:
        the value of qName
      • setQName

        public void setQName​(QName qName)
        Set the value of qName
        Parameters:
        qName - new value of qName
      • isVariable

        public boolean isVariable()
      • setVariable

        public void setVariable​(boolean variable)
      • getValue

        public String getValue()
      • setValue

        public void setValue​(String value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setQNamePrefix

        public void setQNamePrefix​(String prefix)
        Sets a given prefix to current QName (without changing NS URI). It's a bit of hack. Precondition: there is no prefix set.