cds.simbad.ident
Class IntE

java.lang.Object
  extended bycds.simbad.ident.Instruction
      extended bycds.simbad.ident.IntE
All Implemented Interfaces:
java.io.Serializable

public class IntE
extends Instruction

Signed integer instruction - INT

See Also:
Serialized Form

Field Summary
private  int maximum
           
private  int minimum
           
private  int nbpos
           
private  boolean plus
           
private  int value
           
 
Fields inherited from class cds.simbad.ident.Instruction
ALIG_LEFT, ALIG_RIGHT, alignment, BINARY, binPos, BLANC_RE, CARMAX, CAT, catName, CH, CONST, DE, DECIMAL, DECIMALES, DEFAULT_BINARY, DEFAULT_DECIMAL, DEFAULT_DELIMITOR, DEFAULT_FILLER, DEFAULT_MIN, DEFAULT_OPTIONAL, DELIMITOR, FACULTATIF, filler, FORMAT, IND, instrNames, INT, isBinary, JUSTIFICATION, LET, LGQ, LIST, LONGUEUR, MAJ, MAX_DEFAULT_CARMAX, MAXIMUM, MIN, MIN_DEFAULT_CARMAX, MINIMUM, NO_ALIGNMENT, NO_BIN_POS, NO_FILLER, NOM, optional, PARAM_FINISHED, paramNames, PGM, PLUS, POSITION, RA, regexGen, ROM, SPACE, SPACES_RE, STRICT, TAB, TEXT, TEXTE, UINT, valuelim, VAR, VAR_LENGTH, vec_format_car, ZONE
 
Constructor Summary
IntE(java.lang.String params)
          Constructor
 
Method Summary
 boolean normalize(java.lang.String str, java.lang.StringBuffer norm)
          Methode de normalisation de l'element
 void setAlignment(char alig)
           
 void setFiller(char fil)
           
 byte[] toBin()
          Retourne la forme binaire de l'entier recu en parametre
 java.lang.String toRE()
          Retourne une expression reguliere construite a partir des valeurs contenue dans la classe
 java.lang.String toString()
           
 
Methods inherited from class cds.simbad.ident.Instruction
align, appendBinary, appendCarmax, appendCarmax, appendClose, appendDecimal, appendDelimitor, appendFormat, appendJustification, appendLength, appendList, appendMaximum, appendMinimum, appendMinimum, appendName, appendNom, appendOptional, appendPlus, appendPosition, appendStrict, appendText, displayError, equals, extractParams, format2dbl, format2RE, getBinaryPosition, getCatName, getInstrCode, getInstrName, getInteger, getLong, getNextParam, getRegexGen, isBinary, isOptional, isREKeyword, isREKeyword, normalize, optional, setBinary, setJustification, setRegexGen, toByteArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

maximum

private int maximum

minimum

private int minimum

nbpos

private int nbpos

plus

private boolean plus

value

private int value
Constructor Detail

IntE

public IntE(java.lang.String params)
     throws IdentifierDescriptionException
Constructor

Parameters:
params - parameter list string
Throws:
IdentifierDescriptionException
Method Detail

setAlignment

public void setAlignment(char alig)

setFiller

public void setFiller(char fil)

toString

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

toRE

public java.lang.String toRE()
Retourne une expression reguliere construite a partir des valeurs contenue dans la classe

Overrides:
toRE in class Instruction
Returns:
the regular expression build from the instructions

normalize

public boolean normalize(java.lang.String str,
                         java.lang.StringBuffer norm)
Methode de normalisation de l'element

Overrides:
normalize in class Instruction
Parameters:
str - string to normalize
norm - buffer to complete with the normalized field
Returns:
true if the normalization is ok.

toBin

public byte[] toBin()
Retourne la forme binaire de l'entier recu en parametre

Overrides:
toBin in class Instruction
Returns:
the binary field in a byte array