jp.bitmeister.asn1.type
Class ElementSpecification

java.lang.Object
  extended by jp.bitmeister.asn1.type.NamedTypeSpecification
      extended by jp.bitmeister.asn1.type.ElementSpecification
All Implemented Interfaces:
java.lang.Comparable<NamedTypeSpecification>

public class ElementSpecification
extends NamedTypeSpecification

Specification of an element that contained in a ConstructiveType.

An instance of this class contains static information of an element contained in a ConstructiveType.

Author:
WATANABE, Jun.
See Also:
ConstructiveType

Method Summary
 boolean hasDefault()
          Tests if this element has default value.
 boolean optional()
          Tests if this element is optional.
 
Methods inherited from class jp.bitmeister.asn1.type.NamedTypeSpecification
compareTo, identifier, instantiate, isSameType, matches, tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

optional

public boolean optional()
Tests if this element is optional.

Returns:
true when this element is optional.

hasDefault

public boolean hasDefault()
Tests if this element has default value.

Returns:
true when this element has default value.


Copyright © 2012 BitMeister Inc. All Rights Reserved.