ch.panter.li.bi.asn
Interface AsnDecodingContextInfo

All Known Subinterfaces:
AsnBerDecodingContext, AsnBerDecodingContextInfo
All Known Implementing Classes:
AsnBerDecodingContextImpl

public interface AsnDecodingContextInfo


Method Summary
 String getContextDescriptor()
          Provides convenient (and efficient) access to the current tag context in form of a string.
 ReadOnlyStack<AsnTag> getOpenTags()
           
 AsnSyntax getSyntax()
           
 boolean isPDU()
          Determines whether the current context is decoding a PDU.
 

Method Detail

getSyntax

AsnSyntax getSyntax()

isPDU

boolean isPDU()
Determines whether the current context is decoding a PDU.

Returns:
true if no tags are open, false otherwise

getOpenTags

ReadOnlyStack<AsnTag> getOpenTags()
Returns:
the stack of currently 'open' tags. e.g. the tags whose content is currently in the process of being read. this provides the necessary context to correctly interpret types with custom tags. never null but possibly empty (for PDUs).

getContextDescriptor

String getContextDescriptor()
Provides convenient (and efficient) access to the current tag context in form of a string.

Returns:
a string with the tag numbers of all open tags concatenated, separated by a dot ('.') character. e.g. "0.4.0.2.2.5.1.5" for the li-psDomainId.


Copyright 2007-2007 SourceForge. All Rights Reserved.