NetKernel APIs


org.ten60.netkernel.layer1.util
Class CompoundURIdentifier

java.lang.Object
  extended byorg.ten60.netkernel.layer1.util.CompoundURIdentifier

public class CompoundURIdentifier
extends 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 String CWU
           
static String OPD
           
static String OPERAND
           
static String OPERATOR
           
static String OPT
          fixed name for one of the name value pairs
static String PARAM
           
 
Constructor Summary
CompoundURIdentifier(String aScheme, String aType)
           
CompoundURIdentifier(URIdentifier aURI)
           
 
Method Summary
 void addArg(String aKey, String aURI)
           
static String decode(String aInput)
           
static String encode(String aInput)
           
 String get(String aKey)
           
 Iterator getArgs()
          Returns an iterator over a set of CompoundURIdentifier.CompoundURIStruct
 String getScheme()
           
 String getType()
           
static boolean isCompound(URIdentifier aURI)
           
 void replaceArg(String aKey, String aURI)
           
 URI toJavaURI()
           
 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 String OPT
fixed name for one of the name value pairs

See Also:
Constant Field Values

OPD

public static final String OPD
See Also:
Constant Field Values

OPERATOR

public static final String OPERATOR
See Also:
Constant Field Values

OPERAND

public static final String OPERAND
See Also:
Constant Field Values

PARAM

public static final String PARAM
See Also:
Constant Field Values

CWU

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

CompoundURIdentifier

public CompoundURIdentifier(String aScheme,
                            String aType)

CompoundURIdentifier

public CompoundURIdentifier(URIdentifier aURI)
Method Detail

isCompound

public static boolean isCompound(URIdentifier aURI)

replaceArg

public void replaceArg(String aKey,
                       String aURI)

addArg

public void addArg(String aKey,
                   String aURI)

getScheme

public String getScheme()

getType

public String getType()

getArgs

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


get

public String get(String aKey)

toString

public String toString()

toURI

public URIdentifier toURI()

toJavaURI

public URI toJavaURI()

decode

public static String decode(String aInput)

encode

public static String encode(String aInput)

NetKernel APIs


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