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
getByte
public byte getByte()
throws PExceptionNameCoding
PExceptionNameCoding
getObyte
public java.lang.Byte getObyte()
throws PExceptionNameCoding
PExceptionNameCoding
getChar
public char getChar()
throws PExceptionNameCoding
PExceptionNameCoding
getOchar
public java.lang.Character getOchar()
throws PExceptionNameCoding
PExceptionNameCoding
getShort
public short getShort()
throws PExceptionNameCoding
PExceptionNameCoding
getOshort
public java.lang.Short getOshort()
throws PExceptionNameCoding
PExceptionNameCoding
getInt
public int getInt()
throws PExceptionNameCoding
PExceptionNameCoding
getOint
public java.lang.Integer getOint()
throws PExceptionNameCoding
PExceptionNameCoding
getLong
public long getLong()
throws PExceptionNameCoding
PExceptionNameCoding
getOlong
public java.lang.Long getOlong()
throws PExceptionNameCoding
PExceptionNameCoding
getString
public java.lang.String getString()
throws PExceptionNameCoding
PExceptionNameCoding
getDate
public java.util.Date getDate()
throws PExceptionNameCoding
PExceptionNameCoding
getByteArray
public byte[] getByteArray()
throws PExceptionNameCoding
PExceptionNameCoding
getCharArray
public char[] getCharArray()
throws PExceptionNameCoding
PExceptionNameCoding
putByte
public void putByte(byte val)
throws PExceptionNameCoding
PExceptionNameCoding
putObyte
public void putObyte(java.lang.Byte val)
throws PExceptionNameCoding
PExceptionNameCoding
putChar
public void putChar(char val)
throws PExceptionNameCoding
PExceptionNameCoding
putOchar
public void putOchar(java.lang.Character val)
throws PExceptionNameCoding
PExceptionNameCoding
putShort
public void putShort(short val)
throws PExceptionNameCoding
PExceptionNameCoding
putOshort
public void putOshort(java.lang.Short val)
throws PExceptionNameCoding
PExceptionNameCoding
putInt
public void putInt(int val)
throws PExceptionNameCoding
PExceptionNameCoding
putOint
public void putOint(java.lang.Integer val)
throws PExceptionNameCoding
PExceptionNameCoding
putLong
public void putLong(long val)
throws PExceptionNameCoding
PExceptionNameCoding
putOlong
public void putOlong(java.lang.Long val)
throws PExceptionNameCoding
PExceptionNameCoding
putString
public void putString(java.lang.String val)
throws PExceptionNameCoding
PExceptionNameCoding
putDate
public void putDate(java.util.Date val)
throws PExceptionNameCoding
PExceptionNameCoding
putByteArray
public void putByteArray(byte[] val)
throws PExceptionNameCoding
PExceptionNameCoding
putCharArray
public void putCharArray(char[] val)
throws PExceptionNameCoding
PExceptionNameCoding
getStringCode
public java.lang.String getStringCode()
throws PExceptionNameCoding
PExceptionNameCoding