Top Description Inners Fields Constructors Methods
net.fortuna.ical4j.model.parameter

public Class Dir

extends Parameter
implements Encodable
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.Encodable
Imports
net.fortuna.ical4j.model.Content, .Encodable, .Parameter, .ParameterFactory, net.fortuna.ical4j.util.Strings, .Uris, java.net.URI, .URISyntaxException

$Id$ [18-Apr-2004]

Defines a Directory Entry Reference parameter.

Author
benfortuna

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private static final long
private final URI
Inherited from net.fortuna.ical4j.model.Parameter:
ABBREVALTREPCNCUTYPEDELEGATED_FROMDELEGATED_TODERIVEDDIRDISPLAYEMAILENCODINGEXPERIMENTAL_PREFIXFBTYPEFEATUREFMTTYPELABELLANGUAGEMEMBERORDERPARTSTATRANGERELATEDRELTYPEROLERSVPSCHEDULE_AGENTSCHEDULE_STATUSSCHEMASENT_BYTYPETZIDVALUEVVENUE

Constructor Summary

AccessConstructor and Description
public
Dir(final String
a string representation of a directory entry reference
aValue
)

public
Dir(final URI
a URI representing a directory entry reference
aUri
)

Method Summary

Modifier and TypeMethod and Description
public final URI

Returns:

Returns the uri.
getUri
()

public final String
Inherited from net.fortuna.ical4j.model.Parameter:
compareToequalsgetNamehashCodetoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.Parameter.serialVersionUID.

uriback to summary
private final URI uri

Constructor Detail

Dirback to summary
public Dir(final String aValue)
Parameters
aValue:String

a string representation of a directory entry reference

Exceptions
IllegalArgumentException:
when the specified string is not a valid (quoted) uri
Dirback to summary
public Dir(final URI aUri)
Parameters
aUri:URI

a URI representing a directory entry reference

Method Detail

getUriback to summary
public final URI getUri()
Returns:URI

Returns the uri.

getValueback to summary
public final String getValue()

Implements abstract net.fortuna.ical4j.model.Content.getValue.

Returns:String

Doc from net.fortuna.ical4j.model.Content.getValue.

the content value

Annotations
@Override
net.fortuna.ical4j.model.parameter back to summary

public Class Dir.Factory

extends Factory
implements ParameterFactory<Dir>
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.ParameterFactory, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Dir
createParameter(final String
a value to assign to the returned parameter
value
)

Implements net.fortuna.ical4j.model.ParameterFactory.createParameter.

Returns a parameter instance of the appropriate type with the specified value.

Inherited from net.fortuna.ical4j.model.Content.Factory:
supports

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

createParameterback to summary
public Dir createParameter(final String value)

Implements net.fortuna.ical4j.model.ParameterFactory.createParameter.

Doc from net.fortuna.ical4j.model.ParameterFactory.createParameter.

Returns a parameter instance of the appropriate type with the specified value.

Parameters
value:String

a value to assign to the returned parameter

Returns:Dir

a parameter instance, or null if this factory is unable to create an appropriate parameter

Annotations
@Override