com.hp.hpl.jena.iri.impl
Class Specification
java.lang.Object
com.hp.hpl.jena.iri.impl.IRIExamples
com.hp.hpl.jena.iri.impl.Specification
- Direct Known Subclasses:
- SchemeSpecification
public class Specification
- extends IRIExamples
iris
public static final Map<String,Specification> iris
schemes
public static final Map<String,Specification> schemes
all
public static final Map<String,Specification> all
Specification
public Specification(String name,
String type,
String rfc,
String uri,
String title,
String section,
String[] bad,
String[] good)
get
public static Specification get(String name)
getUri
public String getUri()
add
public void add(ViolationCodeInfo.InSpec spec,
ViolationCodeInfo info)
getErrors
public long getErrors(int i)
name
public String name()
addDefinition
public void addDefinition(String string,
String string2,
String string3)
setDNS
public void setDNS(boolean b)
port
public void port(int i)
prohibit
public void prohibit(int component)
require
public void require(int component)
setPattern
public void setPattern(int component,
String string)
setReserved
public void setReserved(int component,
String string)
getProhibited
public int getProhibited()
getRequired
public int getRequired()
isIRISpec
public boolean isIRISpec()
isSchemeSpec
public boolean isSchemeSpec()
applies
public boolean applies(String scheme)
Copyright ? 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP