net.java.html.lib.angular.ILocationProvider Maven / Gradle / Ivy
package net.java.html.lib.angular;
public class ILocationProvider extends IServiceProvider {
protected ILocationProvider(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(ILocationProvider.class);
}
@Override
public ILocationProvider create(java.lang.Object obj) {
return obj == null ? null : new ILocationProvider(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static ILocationProvider $as(java.lang.Object obj) {
return $AS.create(obj);
}
public java.lang.String hashPrefix() {
return $Typings$.hashPrefix$260($js(this));
}
public ILocationProvider hashPrefix(java.lang.String prefix) {
return (ILocationProvider)net.java.html.lib.angular.ILocationProvider.$as($Typings$.hashPrefix$261($js(this), prefix));
}
public java.lang.Boolean html5Mode() {
return $Typings$.html5Mode$262($js(this));
}
// Documentation states that parameter is string, but
public ILocationProvider html5Mode(java.lang.Boolean active) {
return (ILocationProvider)net.java.html.lib.angular.ILocationProvider.$as($Typings$.html5Mode$263($js(this), active));
}
public ILocationProvider html5Mode(net.java.html.lib.Objs mode) {
return (ILocationProvider)net.java.html.lib.angular.ILocationProvider.$as($Typings$.html5Mode$264($js(this), /* TypeLiteral*/$js(mode)));
}
}