org.apache.abdera.i18n.iri
Class AbstractScheme
java.lang.Object
org.apache.abdera.i18n.iri.AbstractScheme
- All Implemented Interfaces:
- Scheme
- Direct Known Subclasses:
- DefaultScheme
public abstract class AbstractScheme
- extends Object
- implements Scheme
Base implementation for IRI scheme providers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected final String name
port
protected final int port
AbstractScheme
protected AbstractScheme(String name,
int port)
getDefaultPort
public int getDefaultPort()
- Specified by:
getDefaultPort
in interface Scheme
getName
public String getName()
- Specified by:
getName
in interface Scheme
normalize
public IRI normalize(IRI iri)
- Default return unmodified
- Specified by:
normalize
in interface Scheme
normalizePath
public String normalizePath(String path)
- Default return unmodified
- Specified by:
normalizePath
in interface Scheme
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.