Package org.apache.jena.iri.impl
Class ViolationCodeInfo
- java.lang.Object
-
- org.apache.jena.iri.impl.IRIExamples
-
- org.apache.jena.iri.impl.ViolationCodeInfo
-
- All Implemented Interfaces:
ViolationCodes
public class ViolationCodeInfo extends IRIExamples implements ViolationCodes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classViolationCodeInfo.FromAlsostatic classViolationCodeInfo.FromSpecstatic classViolationCodeInfo.FromSpec_iristatic classViolationCodeInfo.FromSpec_otherstatic classViolationCodeInfo.FromSpec_schemestatic classViolationCodeInfo.InSpec-
Nested classes/interfaces inherited from interface org.apache.jena.iri.ViolationCodes
ViolationCodes.Initialize
-
-
Field Summary
Fields Modifier and Type Field Description static ViolationCodeInfo[]all-
Fields inherited from interface org.apache.jena.iri.ViolationCodes
ACE_PREFIX, BAD_BIDI_SUBCOMPONENT, BAD_DOT_IN_IDN, BAD_IDN, BAD_IDN_UNASSIGNED_CHARS, BIDI_FORMATTING_CHARACTER, COMPATIBILITY_CHARACTER, CONTROL_CHARACTER, DEFAULT_PORT_SHOULD_BE_OMITTED, DEPRECATED_UNICODE_CHARACTER, DISCOURAGED_IRI_CHARACTER, DISCOURAGED_XML_CHARACTER, DNS_LABEL_DASH_START_OR_END, DNS_LABEL_LENGTH_LIMIT, DNS_LENGTH_LIMIT, DOUBLE_DASH_IN_REG_NAME, DOUBLE_WHITESPACE, EMPTY_SCHEME, HAS_PASSWORD, ILLEGAL_CHARACTER, ILLEGAL_PERCENT_ENCODING, IP_V4_OCTET_RANGE, IP_V6_OR_FUTURE_ADDRESS_SYNTAX, IPv6ADDRESS_SHOULD_BE_LOWERCASE, LONE_SURROGATE, LOWERCASE_PREFERRED, MAYBE_NOT_NFC, MAYBE_NOT_NFKC, NON_INITIAL_DOT_SEGMENT, NON_URI_CHARACTER, NON_XML_CHARACTER, NOT_DNS_NAME, NOT_NFC, NOT_NFKC, NOT_UTF8_ESCAPE, NOT_UTF8_ESCAPE_IN_HOST, NOT_XML_SCHEMA_WHITESPACE, PERCENT, PERCENT_20, PERCENT_ENCODING_SHOULD_BE_UPPERCASE, PORT_SHOULD_NOT_BE_EMPTY, PORT_SHOULD_NOT_BE_WELL_KNOWN, PORT_SHOULD_NOT_START_IN_ZERO, PRIVATE_USE_CHARACTER, PROHIBITED_COMPONENT_PRESENT, QUERY_IN_LEGACY_SCHEME, REQUIRED_COMPONENT_MISSING, SCHEME_INCLUDES_DASH, SCHEME_MUST_START_WITH_LETTER, SCHEME_PATTERN_MATCH_FAILED, SCHEME_PREFERS_LOWERCASE, SCHEME_REQUIRES_LOWERCASE, SUPERFLUOUS_ASCII_PERCENT_ENCODING, SUPERFLUOUS_NON_ASCII_PERCENT_ENCODING, UNASSIGNED_UNICODE_CHARACTER, UNDEFINED_UNICODE_CHARACTER, UNICODE_CONTROL_CHARACTER, UNICODE_WHITESPACE, UNREGISTERED_IANA_SCHEME, UNREGISTERED_NONIETF_SCHEME_TREE, UNWISE_CHARACTER, USE_PUNYCODE_NOT_PERCENTS, WHITESPACE
-
-
Constructor Summary
Constructors Constructor Description ViolationCodeInfo(int code, java.lang.String name, java.lang.String[] badExamples, java.lang.String[] goodExamples, boolean internal)ViolationCodeInfo(int code, java.lang.String name, java.lang.String desc, java.lang.String descHtml, int force, ViolationCodeInfo.InSpec[] specs, java.lang.String[] badExamples, java.lang.String[] goodExamples, boolean unimplemented)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanappliesTo(Specification specification)java.lang.Stringdescription(int slot, AbsIRIImpl iri)intgetCode()java.lang.StringgetCodeName()intgetForce()booleanisImplemented()java.lang.Stringspecs(int slot, IRIFactoryImpl factory, java.lang.String scheme)-
Methods inherited from class org.apache.jena.iri.impl.IRIExamples
getBadExamples, getGoodExamples
-
-
-
-
Field Detail
-
all
public static final ViolationCodeInfo[] all
-
-
Constructor Detail
-
ViolationCodeInfo
public ViolationCodeInfo(int code, java.lang.String name, java.lang.String desc, java.lang.String descHtml, int force, ViolationCodeInfo.InSpec[] specs, java.lang.String[] badExamples, java.lang.String[] goodExamples, boolean unimplemented)
-
ViolationCodeInfo
public ViolationCodeInfo(int code, java.lang.String name, java.lang.String[] badExamples, java.lang.String[] goodExamples, boolean internal)
-
-
Method Detail
-
getCode
public int getCode()
-
getForce
public int getForce()
-
getCodeName
public java.lang.String getCodeName()
-
appliesTo
public boolean appliesTo(Specification specification)
-
isImplemented
public boolean isImplemented()
-
description
public java.lang.String description(int slot, AbsIRIImpl iri)
-
specs
public java.lang.String specs(int slot, IRIFactoryImpl factory, java.lang.String scheme)
-
-