Package org.apache.kerby.xdr.type
Class XdrStructType
- All Implemented Interfaces:
XdrType
For collection type that may consist of dataTypeged fields
-
Constructor Summary
ConstructorsConstructorDescriptionXdrStructType(XdrDataType xdrDataType) XdrStructType(XdrDataType xdrDataType, XdrFieldInfo[] fieldInfos) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(ByteBuffer content) Decode the content bytes into this type.protected voidencodeBody(ByteBuffer buffer) protected intprotected abstract XdrStructTypefieldsToValues(AbstractXdrType[] fields) protected abstract AbstractXdrType[]protected abstract voidgetStructTypeInstance(XdrType[] fields, XdrFieldInfo[] fieldInfos) Methods inherited from class org.apache.kerby.xdr.type.AbstractXdrType
decode, encode, encode, encodingLength, getDataType, getValue, setValue
-
Constructor Details
-
XdrStructType
-
XdrStructType
-
-
Method Details
-
getStructTypeInstance
-
getXdrFieldInfos
-
encodingBodyLength
- Specified by:
encodingBodyLengthin classAbstractXdrType<XdrStructType>- Throws:
IOException
-
encodeBody
- Specified by:
encodeBodyin classAbstractXdrType<XdrStructType>- Throws:
IOException
-
decode
Description copied from interface:XdrTypeDecode the content bytes into this type.- Specified by:
decodein interfaceXdrType- Overrides:
decodein classAbstractXdrType<XdrStructType>- Parameters:
content- The content bytes- Throws:
IOException- e
-
fieldsToValues
-
getAllFields
-