com.prosysopc.ua
Class StructureSerializer

java.lang.Object
  extended by org.opcfoundation.ua.encoding.utils.AbstractSerializer
      extended by com.prosysopc.ua.StructureSerializer
All Implemented Interfaces:
org.opcfoundation.ua.encoding.binary.IEncodeableSerializer
Direct Known Subclasses:
DynamicStructureSerializer, Serializers.ApplicationRecordDataTypeSerializer, Serializers.FetchResultDataDataTypeSerializer, Serializers.FetchResultErrorDataTypeSerializer, Serializers.ParameterResultDataTypeSerializer

public abstract class StructureSerializer
extends org.opcfoundation.ua.encoding.utils.AbstractSerializer

Base Serializer for all generated Structure types.


Constructor Summary
StructureSerializer(Class<? extends org.opcfoundation.ua.encoding.IEncodeable> clazz, org.opcfoundation.ua.builtintypes.ExpandedNodeId binaryId, org.opcfoundation.ua.builtintypes.ExpandedNodeId xmlId)
           
 
Method Summary
 void calcEncodeable(org.opcfoundation.ua.encoding.IEncodeable encodeable, org.opcfoundation.ua.encoding.IEncoder calculator)
           
 org.opcfoundation.ua.encoding.IEncodeable getEncodeable(org.opcfoundation.ua.encoding.IDecoder decoder)
           
 void getEncodeable(org.opcfoundation.ua.encoding.IDecoder decoder, org.opcfoundation.ua.encoding.IEncodeable result)
           
protected static boolean isBitOn(org.opcfoundation.ua.builtintypes.UnsignedInteger mask, int position)
           
abstract  org.opcfoundation.ua.encoding.IEncodeable newEncodeable()
           
protected static org.opcfoundation.ua.builtintypes.UnsignedInteger putBitOn(org.opcfoundation.ua.builtintypes.UnsignedInteger mask, int position)
           
 void putEncodeable(org.opcfoundation.ua.encoding.IEncodeable encodeable, org.opcfoundation.ua.encoding.IEncoder encoder)
           
 
Methods inherited from class org.opcfoundation.ua.encoding.utils.AbstractSerializer
calcEncodeable, getClass, getEncodeable, getNodeId, getSupportedClasses, getSupportedNodeIds, putEncodeable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructureSerializer

public StructureSerializer(Class<? extends org.opcfoundation.ua.encoding.IEncodeable> clazz,
                           org.opcfoundation.ua.builtintypes.ExpandedNodeId binaryId,
                           org.opcfoundation.ua.builtintypes.ExpandedNodeId xmlId)
Parameters:
clazz -
binaryId -
xmlId -
nodeId -
Method Detail

isBitOn

protected static boolean isBitOn(org.opcfoundation.ua.builtintypes.UnsignedInteger mask,
                                 int position)

putBitOn

protected static org.opcfoundation.ua.builtintypes.UnsignedInteger putBitOn(org.opcfoundation.ua.builtintypes.UnsignedInteger mask,
                                                                            int position)

calcEncodeable

public void calcEncodeable(org.opcfoundation.ua.encoding.IEncodeable encodeable,
                           org.opcfoundation.ua.encoding.IEncoder calculator)
                    throws org.opcfoundation.ua.encoding.EncodingException
Specified by:
calcEncodeable in class org.opcfoundation.ua.encoding.utils.AbstractSerializer
Throws:
org.opcfoundation.ua.encoding.EncodingException

getEncodeable

public org.opcfoundation.ua.encoding.IEncodeable getEncodeable(org.opcfoundation.ua.encoding.IDecoder decoder)
                                                        throws org.opcfoundation.ua.encoding.DecodingException
Specified by:
getEncodeable in class org.opcfoundation.ua.encoding.utils.AbstractSerializer
Throws:
org.opcfoundation.ua.encoding.DecodingException

getEncodeable

public void getEncodeable(org.opcfoundation.ua.encoding.IDecoder decoder,
                          org.opcfoundation.ua.encoding.IEncodeable result)
                   throws org.opcfoundation.ua.encoding.DecodingException
Parameters:
decoder -
result -
Throws:
org.opcfoundation.ua.encoding.DecodingException

newEncodeable

public abstract org.opcfoundation.ua.encoding.IEncodeable newEncodeable()

putEncodeable

public void putEncodeable(org.opcfoundation.ua.encoding.IEncodeable encodeable,
                          org.opcfoundation.ua.encoding.IEncoder encoder)
                   throws org.opcfoundation.ua.encoding.EncodingException
Specified by:
putEncodeable in class org.opcfoundation.ua.encoding.utils.AbstractSerializer
Throws:
org.opcfoundation.ua.encoding.EncodingException


Copyright © 2018. All rights reserved.