Module net.sourceforge.urin
Package net.sourceforge.urin
Class SchemeWithDefaultPort<SEGMENT,QUERY extends Query<?>,FRAGMENT extends Fragment<?>>
- java.lang.Object
-
- net.sourceforge.urin.Scheme<SEGMENT,QUERY,FRAGMENT>
-
- net.sourceforge.urin.SchemeWithDefaultPort<SEGMENT,QUERY,FRAGMENT>
-
- Type Parameters:
QUERY
- The type ofQuery
used by this scheme.
- Direct Known Subclasses:
HypertextScheme
public class SchemeWithDefaultPort<SEGMENT,QUERY extends Query<?>,FRAGMENT extends Fragment<?>> extends Scheme<SEGMENT,QUERY,FRAGMENT>
A name component of a URI that refers to a scheme that is associated with a default port.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SchemeWithDefaultPort(java.lang.String name, Port defaultPort, MakingDecoder<Segment<SEGMENT>,?,java.lang.String> segmentMakingDecoder, MakingDecoder<QUERY,?,java.lang.String> queryMakingDecoder, MakingDecoder<FRAGMENT,?,java.lang.String> fragmentMakingDecoder)
Constructor for subclasses ofScheme
with default ports.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class net.sourceforge.urin.Scheme
parseRelativeReference, parseRelativeReference, parseUrin, parseUrin, parseUrinReference, parseUrinReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, relativeReference, scheme, scheme, urin, urin, urin, urin, urin, urin, urin, urin, urin, urin, urin, urin, urin, urin, urin, urin
-
-
-
-
Constructor Detail
-
SchemeWithDefaultPort
protected SchemeWithDefaultPort(java.lang.String name, Port defaultPort, MakingDecoder<Segment<SEGMENT>,?,java.lang.String> segmentMakingDecoder, MakingDecoder<QUERY,?,java.lang.String> queryMakingDecoder, MakingDecoder<FRAGMENT,?,java.lang.String> fragmentMakingDecoder)
Constructor for subclasses ofScheme
with default ports.- Parameters:
name
- the name of the scheme.defaultPort
- the default port associated with the scheme.segmentMakingDecoder
- the parser to use for parsing segments of this scheme.queryMakingDecoder
- the parser to use for parsing queries of this scheme.fragmentMakingDecoder
- the parser to use for parsing fragments of this scheme.
-
-