org.objectweb.jorm.naming.api
Interface PNCStringCoder

All Known Implementing Classes:
BasicStringCoder

public interface PNCStringCoder

Used to encode/decode a composite name to/from a String. For the decode process, there are the typed getter methods (XXX getXXX()). It supposes that the coder knows the String representing the encoded value. For the encode process, there are the setter methods (putXXX(XXX val)) in order to add new sub values to the encoded String. After all putXXX has been done, the encoded value is retrieved using the getStringCode method.

Author:
P. D?chamboux

Method Summary
 byte getByte()
           
 char getChar()
           
 java.util.Date getDate()
           
 int getInt()
           
 long getLong()
           
 java.lang.Byte getObyte()
           
 java.lang.Character getOchar()
           
 java.lang.Integer getOint()
           
 java.lang.Long getOlong()
           
 java.lang.Short getOshort()
           
 short getShort()
           
 java.lang.String getString()
           
 java.lang.String getStringCode()
           
 void putByte(byte val)
           
 void putChar(char val)
           
 void putDate(java.util.Date val)
           
 void putInt(int val)
           
 void putLong(long val)
           
 void putObyte(java.lang.Byte val)
           
 void putOchar(java.lang.Character val)
           
 void putOint(java.lang.Integer val)
           
 void putOlong(java.lang.Long val)
           
 void putOshort(java.lang.Short val)
           
 void putShort(short val)
           
 void putString(java.lang.String val)
           
 

Method Detail

getByte

public byte getByte()
             throws PExceptionCoder

getObyte

public java.lang.Byte getObyte()
                        throws PExceptionCoder

getChar

public char getChar()
             throws PExceptionCoder

getOchar

public java.lang.Character getOchar()
                             throws PExceptionCoder

getShort

public short getShort()
               throws PExceptionCoder

getOshort

public java.lang.Short getOshort()
                          throws PExceptionCoder

getInt

public int getInt()
           throws PExceptionCoder

getOint

public java.lang.Integer getOint()
                          throws PExceptionCoder

getLong

public long getLong()
             throws PExceptionCoder

getOlong

public java.lang.Long getOlong()
                        throws PExceptionCoder

getString

public java.lang.String getString()
                           throws PExceptionCoder

getDate

public java.util.Date getDate()
                       throws PExceptionCoder

putByte

public void putByte(byte val)
             throws PExceptionCoder

putObyte

public void putObyte(java.lang.Byte val)
              throws PExceptionCoder

putChar

public void putChar(char val)
             throws PExceptionCoder

putOchar

public void putOchar(java.lang.Character val)
              throws PExceptionCoder

putShort

public void putShort(short val)
              throws PExceptionCoder

putOshort

public void putOshort(java.lang.Short val)
               throws PExceptionCoder

putInt

public void putInt(int val)
            throws PExceptionCoder

putOint

public void putOint(java.lang.Integer val)
             throws PExceptionCoder

putLong

public void putLong(long val)
             throws PExceptionCoder

putOlong

public void putOlong(java.lang.Long val)
              throws PExceptionCoder

putString

public void putString(java.lang.String val)
               throws PExceptionCoder

putDate

public void putDate(java.util.Date val)
             throws PExceptionCoder

getStringCode

public java.lang.String getStringCode()
                               throws PExceptionCoder