at.knowcenter.wag.egov.egiz
Class PdfASID

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.PdfASID
All Implemented Interfaces:
Serializable

public class PdfASID
extends Object
implements Serializable

This class encapsulates the Pdf-AS ID ("Kennzeichnung") urn.

Author:
wprinz
See Also:
Serialized Form

Field Summary
protected static String NAMESPACE
          The namespace of the urn.
protected static String SPLIT_STRING
          The separator between urn blocks.
protected  String type
          The algorithm type.
protected static String URN
          The urn word that leads in the identifier.
protected  String vendor
          The vendor.
protected  String version
          The version of the algorithm.
 
Constructor Summary
PdfASID(PdfASID other)
          Copy Constructor.
PdfASID(String id)
          Parses the given id String and throws an Exception if it is not valid.
PdfASID(String vendor, String type, String version)
          Constructor that fills in the parameters directly.
 
Method Summary
 String getType()
          Returns the type.
 String getVendor()
          Returns the vendor.
 String getVersion()
          Returns the version.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

URN

protected static final String URN
The urn word that leads in the identifier.

See Also:
Constant Field Values

NAMESPACE

protected static final String NAMESPACE
The namespace of the urn.

See Also:
Constant Field Values

SPLIT_STRING

protected static final String SPLIT_STRING
The separator between urn blocks.

See Also:
Constant Field Values

vendor

protected String vendor
The vendor.


type

protected String type
The algorithm type.


version

protected String version
The version of the algorithm.

Constructor Detail

PdfASID

public PdfASID(String vendor,
               String type,
               String version)
Constructor that fills in the parameters directly.

Parameters:
vendor -
type -
version -

PdfASID

public PdfASID(String id)
        throws InvalidIDException
Parses the given id String and throws an Exception if it is not valid.

Parameters:
id - The id String to be parsed.
Throws:
InvalidIDException

PdfASID

public PdfASID(PdfASID other)
Copy Constructor.

Parameters:
other - The other PdfASID to copy the data from.
Method Detail

getType

public String getType()
Returns the type.

Returns:
Returns the type.

getVendor

public String getVendor()
Returns the vendor.

Returns:
Returns the vendor.

getVersion

public String getVersion()
Returns the version.

Returns:
Returns the version.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.