fi.hut.tcm.spki.impl
Class Gte

java.lang.Object
  |
  +--fi.hut.tcm.spki.ByteString
        |
        +--fi.hut.tcm.spki.impl.Gte

public class Gte
extends ByteString

Gte Defines the ranges "greater than or equal" ("ge") and "greater than" ("g" ).


Fields inherited from class fi.hut.tcm.spki.ByteString
bytes, displayType
 
Constructor Summary
Gte()
          Creates a Gte object with the default value "ge", greater than or equal .
Gte(java.lang.String value)
          Creates a Gte object with the String value.
 
Method Summary
 void accept(Visitor visitor)
           
 boolean equals(java.lang.Object other)
           
 void setValue(byte[] string)
           
 void setValue(java.lang.String string)
           
 java.lang.String toString()
           
 
Methods inherited from class fi.hut.tcm.spki.ByteString
getDisplayHintBytes, getDisplayHintString, getValueBytes, getValueString, setDisplayHint, setDisplayHint
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Gte

public Gte()
Creates a Gte object with the default value "ge", greater than or equal .

Gte

public Gte(java.lang.String value)
Creates a Gte object with the String value. Legal values are "ge" and " g".
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class ByteString

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class ByteString

setValue

public void setValue(byte[] string)
              throws SPKIException
Overrides:
setValue in class ByteString

setValue

public void setValue(java.lang.String string)
              throws SPKIException
Overrides:
setValue in class ByteString

accept

public void accept(Visitor visitor)
Overrides:
accept in class ByteString