NetKernel APIs


org.ten60.netkernel.layer1.util
Class CompoundURIdentifier

java.lang.Object
  extended by org.ten60.netkernel.layer1.util.CompoundURIdentifier

public class CompoundURIdentifier
extends java.lang.Object

Breaks a compound URI up into its parts for processing. Completely static class with static methods.


Nested Class Summary
static class CompoundURIdentifier.CompoundURIStruct
           
 
Field Summary
static java.lang.String CWU
           
static java.lang.String OPD
           
static java.lang.String OPERAND
           
static java.lang.String OPERATOR
           
static java.lang.String OPT
          fixed name for one of the name value pairs
static java.lang.String PARAM
           
 
Constructor Summary
CompoundURIdentifier(java.lang.String aScheme, java.lang.String aType)
           
CompoundURIdentifier(URIdentifier aURI)
           
 
Method Summary
 void addArg(java.lang.String aKey, java.lang.String aURI)
           
static java.lang.String decode(java.lang.String aInput)
           
static java.lang.String encode(java.lang.String aInput)
           
 java.lang.String get(java.lang.String aKey)
           
 java.util.Iterator getArgs()
          Returns an iterator over a set of CompoundURIdentifier.CompoundURIStruct
 java.lang.String getScheme()
           
 java.lang.String getType()
           
static boolean isCompound(URIdentifier aURI)
           
 void replaceArg(java.lang.String aKey, java.lang.String aURI)
           
 java.net.URI toJavaURI()
           
 java.lang.String toString()
           
 URIdentifier toURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OPT

public static final java.lang.String OPT
fixed name for one of the name value pairs

See Also:
Constant Field Values

OPD

public static final java.lang.String OPD
See Also:
Constant Field Values

OPERATOR

public static final java.lang.String OPERATOR
See Also:
Constant Field Values

OPERAND

public static final java.lang.String OPERAND
See Also:
Constant Field Values

PARAM

public static final java.lang.String PARAM
See Also:
Constant Field Values

CWU

public static final java.lang.String CWU
See Also:
Constant Field Values
Constructor Detail

CompoundURIdentifier

public CompoundURIdentifier(java.lang.String aScheme,
                            java.lang.String aType)

CompoundURIdentifier

public CompoundURIdentifier(URIdentifier aURI)
Method Detail

isCompound

public static boolean isCompound(URIdentifier aURI)

replaceArg

public void replaceArg(java.lang.String aKey,
                       java.lang.String aURI)

addArg

public void addArg(java.lang.String aKey,
                   java.lang.String aURI)

getScheme

public java.lang.String getScheme()

getType

public java.lang.String getType()

getArgs

public java.util.Iterator getArgs()
Returns an iterator over a set of CompoundURIdentifier.CompoundURIStruct


get

public java.lang.String get(java.lang.String aKey)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toURI

public URIdentifier toURI()

toJavaURI

public java.net.URI toJavaURI()

decode

public static java.lang.String decode(java.lang.String aInput)

encode

public static java.lang.String encode(java.lang.String aInput)

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.