XCMS Toolkit

schemajic.model
Class ASN1RelativeOID

java.lang.Object
  extended by schemajic.model.ASN1Value
      extended by schemajic.model.ASN1ObjectIdentifier
          extended by schemajic.model.ASN1RelativeOID

public class ASN1RelativeOID
extends ASN1ObjectIdentifier

Models the abstract concept of the value of ASN.1 type RELATIVE-OID.

Type RELATIVE-OID is a relative object identifier, a simple builtin type whose distinguished values are used to identify an object relative to a known, base identifier value. This base value may be a value of ASN.1 type OBJECT IDENTIFIER, or some other basis, such as a cryptographic hash.

Universal class tag assignment is UNIVERSAL 13.

XML ASN.1 type name is RELATIVE_OID.

Version:
1.00 - 2006/02/09
Author:
support@phillipgriffin.com

Constructor Summary
ASN1RelativeOID()
          Constructor for ASN1RelativeOID.
ASN1RelativeOID(int arc)
          Constructor for ASN1RelativeOID with integer initialization value to set array size parameter.
ASN1RelativeOID(int[] arcs)
          Constructor for ASN1RelativeOID with integer array initialization value parameter.
ASN1RelativeOID(java.lang.String value)
          Constructor for ASN1RelativeOID with string initialization value parameter.
 
Method Summary
 java.lang.Object accept(ValueVisitor visitor, java.lang.Object object)
          Accepts a visit from the ValueVisitor
 Type getAsn1Type()
          Returns an ASN.1 RELATIVE-OID type.
 java.lang.String toString()
          Returns a relative information object identifier value as a formatted string.
 
Methods inherited from class schemajic.model.ASN1ObjectIdentifier
equals, getArcs, getCXEREncoding, getLastArc, getName, getStringValue, hashCode, setArcs, setStringValue, startsWith, startsWith
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASN1RelativeOID

public ASN1RelativeOID()
Constructor for ASN1RelativeOID.


ASN1RelativeOID

public ASN1RelativeOID(int arc)
Constructor for ASN1RelativeOID with integer initialization value to set array size parameter.


ASN1RelativeOID

public ASN1RelativeOID(int[] arcs)
Constructor for ASN1RelativeOID with integer array initialization value parameter.


ASN1RelativeOID

public ASN1RelativeOID(java.lang.String value)
                throws java.text.ParseException
Constructor for ASN1RelativeOID with string initialization value parameter.

Throws:
java.text.ParseException
Method Detail

toString

public java.lang.String toString()
Returns a relative information object identifier value as a formatted string.

Overrides:
toString in class ASN1ObjectIdentifier

accept

public java.lang.Object accept(ValueVisitor visitor,
                               java.lang.Object object)
                        throws VisitorException
Accepts a visit from the ValueVisitor

Overrides:
accept in class ASN1ObjectIdentifier
Parameters:
visitor - the function applicator (mapper), which knows how to process the given object type and apply appropriate operations to the elements of this type of object
object - an object to be visited
Returns:
a visit to the provided object
Throws:
VisitorException

getAsn1Type

public Type getAsn1Type()
Returns an ASN.1 RELATIVE-OID type.

Overrides:
getAsn1Type in class ASN1ObjectIdentifier

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.