Package io.urf.surf
Class SURF
- java.lang.Object
-
- io.urf.surf.SURF
-
public class SURF extends java.lang.ObjectDefinitions for the Simple URF (SURF) document format.- Author:
- Garret Wilson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSURF.HandleUtilities for working with SURF handles.static classSURF.NameUtilities for working with SURF names.static classSURF.TagUtilities for working with SURF tags.
-
Field Summary
Fields Modifier and Type Field Description static com.globalmentor.java.CharactersBINARY_BASE64URL_CHARACTERSThe RFC 4648 "base64url" alphabet, without padding characters, used by binary literals.static charBINARY_BEGINThe delimiter that begins binary literal values.static charBOOLEAN_FALSE_BEGINThe beginning delimiter of the lexical form of the Boolean valuefalse.static java.lang.StringBOOLEAN_FALSE_LEXICAL_FORMThe lexical representation of the Boolean valuefalse.static charBOOLEAN_TRUE_BEGINThe beginning delimiter of the lexical form of the Boolean valuetrue.static java.lang.StringBOOLEAN_TRUE_LEXICAL_FORMThe lexical representation of the Booleantrue.static charCHARACTER_DELIMITERThe delimiter that begins and ends character literal representations.static charCHARACTER_ESCAPEThe character used for escaping a character.static com.globalmentor.java.CharactersCHARACTER_OPTIONAL_ESCAPED_CHARACTERSAdditional characters that may be escaped as characters or in strings.static com.globalmentor.java.CharactersCHARACTER_REQUIRED_ESCAPED_CHARACTERSCharacters that must be escaped as characters or in strings.static java.nio.charset.CharsetCHARSETThe SURF charset.static charDESCRIPTION_BEGINThe delimiter that begins an object description.static charDESCRIPTION_ENDThe delimiter that ends a property description.static charEMAIL_ADDRESS_BEGINThe delimiter that begins email address literal values.static charENTRY_KEY_VALUE_DELIMITERThe character that separates keys and values in a map entry.static charESCAPED_BACKSPACEstatic charESCAPED_CARRIAGE_RETURNstatic charESCAPED_FORM_FEEDstatic charESCAPED_LINE_FEEDstatic charESCAPED_TABstatic charESCAPED_UNICODEstatic charESCAPED_VERTICAL_TABstatic java.lang.StringFILENAME_EXTENSIONAn extension for SURF filenames.static charIRI_BEGINThe delimiter that begins IRI literal representations.static charIRI_ENDThe delimiter that ends IRI literal representations.static charLABEL_DELIMITERThe delimiter that begins and ends labels (tags, IDs, and aliases).static charLINE_COMMENT_BEGINThe character indicating the start of a single-line comment.static charLIST_BEGINThe delimiter that begins lists.static charLIST_ENDThe delimiter that ends lists.static charMAP_BEGINThe delimiter that begins maps.static charMAP_ENDThe delimiter that ends maps.static charMAP_KEY_DELIMITERThe delimiter that optionally begins and ends map keys.static com.globalmentor.net.MediaTypeMEDIA_TYPEThe media type for SURF:text/simple-urf.static charMEDIA_TYPE_BEGINThe delimiter that begins media type literal representations.static charMEDIA_TYPE_ENDThe delimiter that ends media type literal representations.static charNUMBER_DECIMAL_BEGINThe delimiter that begins a decimal number.static com.globalmentor.java.CharactersNUMBER_EXPONENT_DELIMITER_CHARACTERSThe symbols that delimits the exponent part of a number.static com.globalmentor.java.CharactersNUMBER_EXPONENT_SIGN_CHARACTERSThe symbols that indicate the sign of the exponent part of a number.static charNUMBER_FRACTION_DELIMITERThe symbol that delimits the fractional part of a number.static charNUMBER_NEGATIVE_SYMBOLThe symbol that indicates a negative number.static charOBJECT_BEGINThe indicator of an object (an anonymous resource instance).static charPROPERTY_VALUE_DELIMITERThe character that separates properties and assigned values.static charREGULAR_EXPRESSION_DELIMITERThe delimiter that begins and ends a regular expressions.static charREGULAR_EXPRESSION_ESCAPEThe character used for escaping characters in a regular expression.static charSEQUENCE_DELIMITERThe character that separates items in a sequence.static com.globalmentor.java.CharactersSEQUENCE_SEPARATOR_CHARACTERSThe sequence separator characters, including theSEQUENCE_DELIMITERand the EOL characters.static charSET_BEGINThe delimiter that begins sets.static charSET_ENDThe delimiter that ends sets.static charSTRING_DELIMITERThe delimiter that begins and ends string literal representations.static charTELEPHONE_NUMBER_BEGINThe delimiter that begins telephone number literal values.static charTEMPORAL_BEGINThe delimiter that begins temporal literal representations.static charTEMPORAL_ZONE_BEGINThe ISO 8601 extension delimiter indicating the start of a time zone designation.static charTEMPORAL_ZONE_ENDThe ISO 8601 extension delimiter indicating the end of a time zone designation.static charUUID_BEGINThe delimiter that begins UUID literal representations.static charUUID_GROUP_DELIMITERThe delimiter that separates internal groups of UUID hexadecimal digits.static com.globalmentor.java.CharactersWHITESPACE_CHARACTERSCharacters recognized as whitespace.
-
Constructor Summary
Constructors Constructor Description SURF()
-
-
-
Field Detail
-
MEDIA_TYPE
public static final com.globalmentor.net.MediaType MEDIA_TYPE
The media type for SURF:text/simple-urf.
-
FILENAME_EXTENSION
public static final java.lang.String FILENAME_EXTENSION
An extension for SURF filenames.- See Also:
- Constant Field Values
-
CHARSET
public static final java.nio.charset.Charset CHARSET
The SURF charset.
-
WHITESPACE_CHARACTERS
public static final com.globalmentor.java.Characters WHITESPACE_CHARACTERS
Characters recognized as whitespace.
-
SEQUENCE_DELIMITER
public static final char SEQUENCE_DELIMITER
The character that separates items in a sequence.- See Also:
- Constant Field Values
-
SEQUENCE_SEPARATOR_CHARACTERS
public static final com.globalmentor.java.Characters SEQUENCE_SEPARATOR_CHARACTERS
The sequence separator characters, including theSEQUENCE_DELIMITERand the EOL characters.
-
LINE_COMMENT_BEGIN
public static final char LINE_COMMENT_BEGIN
The character indicating the start of a single-line comment.- See Also:
- Constant Field Values
-
LABEL_DELIMITER
public static final char LABEL_DELIMITER
The delimiter that begins and ends labels (tags, IDs, and aliases).- See Also:
- Constant Field Values
-
OBJECT_BEGIN
public static final char OBJECT_BEGIN
The indicator of an object (an anonymous resource instance).- See Also:
- Constant Field Values
-
DESCRIPTION_BEGIN
public static final char DESCRIPTION_BEGIN
The delimiter that begins an object description.- See Also:
- Constant Field Values
-
DESCRIPTION_END
public static final char DESCRIPTION_END
The delimiter that ends a property description.- See Also:
- Constant Field Values
-
PROPERTY_VALUE_DELIMITER
public static final char PROPERTY_VALUE_DELIMITER
The character that separates properties and assigned values.- See Also:
- Constant Field Values
-
BINARY_BEGIN
public static final char BINARY_BEGIN
The delimiter that begins binary literal values.- See Also:
- Constant Field Values
-
BINARY_BASE64URL_CHARACTERS
public static final com.globalmentor.java.Characters BINARY_BASE64URL_CHARACTERS
The RFC 4648 "base64url" alphabet, without padding characters, used by binary literals.
-
BOOLEAN_FALSE_LEXICAL_FORM
public static final java.lang.String BOOLEAN_FALSE_LEXICAL_FORM
The lexical representation of the Boolean valuefalse.- See Also:
- Constant Field Values
-
BOOLEAN_TRUE_LEXICAL_FORM
public static final java.lang.String BOOLEAN_TRUE_LEXICAL_FORM
The lexical representation of the Booleantrue.- See Also:
- Constant Field Values
-
BOOLEAN_FALSE_BEGIN
public static final char BOOLEAN_FALSE_BEGIN
The beginning delimiter of the lexical form of the Boolean valuefalse.- See Also:
- Constant Field Values
-
BOOLEAN_TRUE_BEGIN
public static final char BOOLEAN_TRUE_BEGIN
The beginning delimiter of the lexical form of the Boolean valuetrue.- See Also:
- Constant Field Values
-
CHARACTER_DELIMITER
public static final char CHARACTER_DELIMITER
The delimiter that begins and ends character literal representations.- See Also:
- Constant Field Values
-
CHARACTER_ESCAPE
public static final char CHARACTER_ESCAPE
The character used for escaping a character.- See Also:
- Constant Field Values
-
CHARACTER_REQUIRED_ESCAPED_CHARACTERS
public static com.globalmentor.java.Characters CHARACTER_REQUIRED_ESCAPED_CHARACTERS
Characters that must be escaped as characters or in strings.
-
CHARACTER_OPTIONAL_ESCAPED_CHARACTERS
public static com.globalmentor.java.Characters CHARACTER_OPTIONAL_ESCAPED_CHARACTERS
Additional characters that may be escaped as characters or in strings.
-
ESCAPED_BACKSPACE
public static final char ESCAPED_BACKSPACE
- See Also:
- Constant Field Values
-
ESCAPED_FORM_FEED
public static final char ESCAPED_FORM_FEED
- See Also:
- Constant Field Values
-
ESCAPED_LINE_FEED
public static final char ESCAPED_LINE_FEED
- See Also:
- Constant Field Values
-
ESCAPED_CARRIAGE_RETURN
public static final char ESCAPED_CARRIAGE_RETURN
- See Also:
- Constant Field Values
-
ESCAPED_TAB
public static final char ESCAPED_TAB
- See Also:
- Constant Field Values
-
ESCAPED_VERTICAL_TAB
public static final char ESCAPED_VERTICAL_TAB
- See Also:
- Constant Field Values
-
ESCAPED_UNICODE
public static final char ESCAPED_UNICODE
- See Also:
- Constant Field Values
-
EMAIL_ADDRESS_BEGIN
public static final char EMAIL_ADDRESS_BEGIN
The delimiter that begins email address literal values.- See Also:
- Constant Field Values
-
IRI_BEGIN
public static final char IRI_BEGIN
The delimiter that begins IRI literal representations.- See Also:
- Constant Field Values
-
IRI_END
public static final char IRI_END
The delimiter that ends IRI literal representations.- See Also:
- Constant Field Values
-
MEDIA_TYPE_BEGIN
public static final char MEDIA_TYPE_BEGIN
The delimiter that begins media type literal representations.- See Also:
- Constant Field Values
-
MEDIA_TYPE_END
public static final char MEDIA_TYPE_END
The delimiter that ends media type literal representations.- See Also:
- Constant Field Values
-
NUMBER_DECIMAL_BEGIN
public static final char NUMBER_DECIMAL_BEGIN
The delimiter that begins a decimal number.- See Also:
- Constant Field Values
-
NUMBER_FRACTION_DELIMITER
public static final char NUMBER_FRACTION_DELIMITER
The symbol that delimits the fractional part of a number.- See Also:
- Constant Field Values
-
NUMBER_EXPONENT_DELIMITER_CHARACTERS
public static final com.globalmentor.java.Characters NUMBER_EXPONENT_DELIMITER_CHARACTERS
The symbols that delimits the exponent part of a number.
-
NUMBER_EXPONENT_SIGN_CHARACTERS
public static final com.globalmentor.java.Characters NUMBER_EXPONENT_SIGN_CHARACTERS
The symbols that indicate the sign of the exponent part of a number.
-
NUMBER_NEGATIVE_SYMBOL
public static final char NUMBER_NEGATIVE_SYMBOL
The symbol that indicates a negative number.- See Also:
- Constant Field Values
-
REGULAR_EXPRESSION_DELIMITER
public static final char REGULAR_EXPRESSION_DELIMITER
The delimiter that begins and ends a regular expressions.- See Also:
- Constant Field Values
-
REGULAR_EXPRESSION_ESCAPE
public static final char REGULAR_EXPRESSION_ESCAPE
The character used for escaping characters in a regular expression.- See Also:
- Constant Field Values
-
STRING_DELIMITER
public static final char STRING_DELIMITER
The delimiter that begins and ends string literal representations.- See Also:
- Constant Field Values
-
TELEPHONE_NUMBER_BEGIN
public static final char TELEPHONE_NUMBER_BEGIN
The delimiter that begins telephone number literal values.- See Also:
- Constant Field Values
-
TEMPORAL_BEGIN
public static final char TEMPORAL_BEGIN
The delimiter that begins temporal literal representations.- See Also:
- Constant Field Values
-
TEMPORAL_ZONE_BEGIN
public static final char TEMPORAL_ZONE_BEGIN
The ISO 8601 extension delimiter indicating the start of a time zone designation.- See Also:
- Constant Field Values
-
TEMPORAL_ZONE_END
public static final char TEMPORAL_ZONE_END
The ISO 8601 extension delimiter indicating the end of a time zone designation.- See Also:
- Constant Field Values
-
UUID_BEGIN
public static final char UUID_BEGIN
The delimiter that begins UUID literal representations.- See Also:
- Constant Field Values
-
UUID_GROUP_DELIMITER
public static final char UUID_GROUP_DELIMITER
The delimiter that separates internal groups of UUID hexadecimal digits.- See Also:
- Constant Field Values
-
LIST_BEGIN
public static final char LIST_BEGIN
The delimiter that begins lists.- See Also:
- Constant Field Values
-
LIST_END
public static final char LIST_END
The delimiter that ends lists.- See Also:
- Constant Field Values
-
MAP_BEGIN
public static final char MAP_BEGIN
The delimiter that begins maps.- See Also:
- Constant Field Values
-
MAP_END
public static final char MAP_END
The delimiter that ends maps.- See Also:
- Constant Field Values
-
MAP_KEY_DELIMITER
public static final char MAP_KEY_DELIMITER
The delimiter that optionally begins and ends map keys.- See Also:
- Constant Field Values
-
ENTRY_KEY_VALUE_DELIMITER
public static final char ENTRY_KEY_VALUE_DELIMITER
The character that separates keys and values in a map entry.- See Also:
- Constant Field Values
-
SET_BEGIN
public static final char SET_BEGIN
The delimiter that begins sets.- See Also:
- Constant Field Values
-
SET_END
public static final char SET_END
The delimiter that ends sets.- See Also:
- Constant Field Values
-
-