Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- absolute() - Method in class com.blackrook.archetext.ArcheTextValue
-
Returns the absolute value of this value, returning a new one.
- add(ArcheTextObject) - Method in class com.blackrook.archetext.ArcheTextRoot
-
Adds an object.
- add(K, V) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Adds a value to the end of a deque.
- ADD - Enum constant in enum com.blackrook.archetext.Combinator
- addCaseInsensitiveKeyword(String, int) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Adds a keyword to the Lexer, case-insensitive.
- addCommentDelimiter(String, String) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Adds a comment-starting (and ending) delimiter to this lexer.
- addCommentLineDelimiter(String) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Adds a line comment delimiter to this lexer.
- addDefine(String, PreprocessorLexer.StringProvider) - Method in class com.blackrook.archetext.struct.PreprocessorLexer
-
Adds a define macro to this lexer.
- addDefine(String, String) - Method in class com.blackrook.archetext.struct.PreprocessorLexer
-
Adds a define macro to this lexer.
- addDelimiter(String, int) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Adds a delimiter to this lexer.
- addFirst(K, V) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Adds a value to the beginning of a deque.
- addKeyword(String, int) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Adds a keyword to the Lexer, case-sensitive.
- addLast(K, V) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Adds a value to the end of a deque.
- addParent(ArcheTextObject) - Method in class com.blackrook.archetext.ArcheTextObject
-
Adds a parent to this object.
- addRawStringDelimiter(char, char) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Adds a raw string delimiter to this lexer along with its ending character.
- addStringDelimiter(char, char) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Adds a string delimiter to this lexer along with its ending character.
- apply(File, ArcheTextRoot) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Applies the ArcheText objects read to an already existing root.
- apply(File, PreprocessorLexer.Includer, ArcheTextRoot) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Applies the ArcheText objects read to an already existing root.
- apply(String, ArcheTextRoot) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Applies the ArcheText objects read to an already existing root.
- apply(String, PreprocessorLexer.Includer, ArcheTextRoot) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Applies the ArcheText objects read to an already existing root.
- apply(String, InputStream, ArcheTextRoot) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Applies the ArcheText objects read to an already existing root.
- apply(String, InputStream, PreprocessorLexer.Includer, ArcheTextRoot) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Applies the ArcheText objects read to an already existing root.
- apply(String, Reader, ArcheTextRoot) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Applies the ArcheText objects read to an already existing root.
- apply(String, Reader, PreprocessorLexer.Includer, ArcheTextRoot) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Applies the ArcheText objects read to an already existing root.
- applyToObject(ArcheTextObject, T) - Static method in class com.blackrook.archetext.struct.Utils
-
Applies this object to an object bean / plain ol' Java object.
- applyToObject(T) - Method in class com.blackrook.archetext.ArcheTextObject
-
Applies this object to an object bean / plain ol' Java object.
- ArcheTextConversionException - Exception Class in com.blackrook.archetext.exception
-
Exception thrown on bad ArcheText object type conversion.
- ArcheTextConversionException() - Constructor for exception class com.blackrook.archetext.exception.ArcheTextConversionException
- ArcheTextConversionException(String) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextConversionException
- ArcheTextConversionException(String, Throwable) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextConversionException
- ArcheTextConversionException(Throwable) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextConversionException
- ArcheTextExportException - Exception Class in com.blackrook.archetext.exception
-
Exception thrown on bad ArcheText conversion.
- ArcheTextExportException() - Constructor for exception class com.blackrook.archetext.exception.ArcheTextExportException
- ArcheTextExportException(String) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextExportException
- ArcheTextExportException(String, Throwable) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextExportException
- ArcheTextExportException(Throwable) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextExportException
- ArcheTextFactory - Class in com.blackrook.archetext
-
Factory class for generating
ArcheTextObjects. - ArcheTextFactory() - Constructor for class com.blackrook.archetext.ArcheTextFactory
- ArcheTextObject - Class in com.blackrook.archetext
-
The object representation for all ArcheText objects and values.
- ArcheTextObject() - Constructor for class com.blackrook.archetext.ArcheTextObject
-
Creates a new anonymous ArcheTextObject.
- ArcheTextObject(String) - Constructor for class com.blackrook.archetext.ArcheTextObject
-
Creates a new default ArcheTextObject with a type.
- ArcheTextObject(String, String) - Constructor for class com.blackrook.archetext.ArcheTextObject
-
Creates a new ArcheTextObject with a type and identity.
- ArcheTextOperationException - Exception Class in com.blackrook.archetext.exception
-
Exception thrown on bad ArcheText parse.
- ArcheTextOperationException() - Constructor for exception class com.blackrook.archetext.exception.ArcheTextOperationException
- ArcheTextOperationException(String) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextOperationException
- ArcheTextOperationException(String, Throwable) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextOperationException
- ArcheTextOperationException(Throwable) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextOperationException
- ArcheTextParseException - Exception Class in com.blackrook.archetext.exception
-
Exception thrown on bad ArcheText parse.
- ArcheTextParseException() - Constructor for exception class com.blackrook.archetext.exception.ArcheTextParseException
- ArcheTextParseException(String) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextParseException
- ArcheTextParseException(String, Throwable) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextParseException
- ArcheTextParseException(Throwable) - Constructor for exception class com.blackrook.archetext.exception.ArcheTextParseException
- ArcheTextReader - Class in com.blackrook.archetext
-
A reader class for reading in ArcheText data and creating objects from it.
- ArcheTextRoot - Class in com.blackrook.archetext
-
The root of an ArcheText Hierarchy.
- ArcheTextRoot() - Constructor for class com.blackrook.archetext.ArcheTextRoot
-
Creates a new root.
- ArcheTextValue - Class in com.blackrook.archetext
-
The values stored in an
ArcheTextObject. - ArcheTextValue.Type - Enum in com.blackrook.archetext
-
ArcheText value internal types.
- ATIdentity - Annotation Type in com.blackrook.archetext.annotation
-
An annotation that signifies that this field or getter/setter method should be used for this structure's identity.
- ATIgnore - Annotation Type in com.blackrook.archetext.annotation
-
An annotation for telling
ArcheTextFactorythat this field or method should not be serialized from an ArcheTextObject of any kind. - ATName - Annotation Type in com.blackrook.archetext.annotation
-
An annotation to signify that a field/getter/setter is imported/exported with this field name.
B
- BITWISEAND - Enum constant in enum com.blackrook.archetext.Combinator
- bitwiseNot() - Method in class com.blackrook.archetext.ArcheTextValue
-
Returns the bitwise "not" value of this value, returning a new one.
- BITWISEOR - Enum constant in enum com.blackrook.archetext.Combinator
- BITWISEXOR - Enum constant in enum com.blackrook.archetext.Combinator
- BOOLEAN - Enum constant in enum com.blackrook.archetext.ArcheTextValue.Type
-
Boolean type.
C
- cascade(ArcheTextObject) - Method in class com.blackrook.archetext.ArcheTextObject
-
Adds the fields and lineage from another object to this object.
- changeTokenType(int) - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Changes the current token's type to a different type.
- clear(String) - Method in class com.blackrook.archetext.ArcheTextObject
-
Clears the value of a field.
- clearCurrentLexeme() - Method in class com.blackrook.archetext.struct.Lexer
-
Clears the current token lexeme buffer.
- close() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack.Stream
- com.blackrook.archetext - package com.blackrook.archetext
-
Contains the main classes for ArcheText object generation.
- com.blackrook.archetext.annotation - package com.blackrook.archetext.annotation
-
Contains annotations related to ArcheText object generations.
- com.blackrook.archetext.exception - package com.blackrook.archetext.exception
-
Contains exceptions for ArcheText generation or export.
- com.blackrook.archetext.struct - package com.blackrook.archetext.struct
-
Additional helper data structures and methods.
- Combinator - Enum in com.blackrook.archetext
-
ArcheText object internal accumulation types.
- combine(ArcheTextValue, ArcheTextValue) - Method in enum com.blackrook.archetext.Combinator
-
Combines two values.
- combineWith(Combinator, ArcheTextValue) - Method in class com.blackrook.archetext.ArcheTextValue
-
Combines this value with another and returns the result.
- construct(Constructor, Object...) - Static method in class com.blackrook.archetext.struct.Utils
-
Creates a new instance of a class from a class type.
- containsLocal(String) - Method in class com.blackrook.archetext.ArcheTextObject
-
Returns true if this object (and only this object) contains a field.
- copy() - Method in class com.blackrook.archetext.ArcheTextValue
- create() - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Called to create a new Deque implementation that gets stored in the table.
- create(Class) - Static method in class com.blackrook.archetext.struct.Utils
-
Creates a new instance of a class from a class type.
- create(String, String, T) - Static method in class com.blackrook.archetext.ArcheTextFactory
-
Creates a new ArcheTextObject using a POJO (Plain Ol' Java Object) or Map type.
- create(String, T) - Static method in class com.blackrook.archetext.ArcheTextFactory
-
Creates a new default ArcheTextObject using a POJO (Plain Ol' Java Object) or Map type.
- create(T) - Static method in class com.blackrook.archetext.ArcheTextFactory
-
Creates a new anonymous ArcheTextObject using a POJO (Plain Ol' Java Object) or Map type.
- create(T) - Static method in class com.blackrook.archetext.ArcheTextValue
-
Creates a new value.
- createForType(Object, Class) - Static method in class com.blackrook.archetext.struct.Utils
-
Reflect.creates a new instance of an object for placement in a POJO or elsewhere.
- createForType(String, Class) - Method in class com.blackrook.archetext.ArcheTextValue
-
Converts this value to another Java object type.
- currentLexeme() - Method in class com.blackrook.archetext.struct.Lexer.Parser
- currentToken() - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Gets the token read from the last
Lexer.Parser.nextToken()call. - currentType(int) - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Attempts to match the type of the current token.
- currentType(int...) - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Attempts to match the type of the current token.
- currentType(int, int) - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Attempts to match the type of the current token.
- currentType(int, int, int) - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Attempts to match the type of the current token.
D
- DEBUG - Static variable in class com.blackrook.archetext.struct.Lexer
- DEFAULT_INCLUDER - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
The singular instance for the default includer.
- difference(S, S) - Static method in class com.blackrook.archetext.struct.Utils
-
Returns a new Set that is the difference of the objects in two sets, i.e. the objects in the first set minus the objects in the second.
- DIRECTIVE_BANG - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
Preprocessor directive - Bang.
- DIRECTIVE_DEFINE - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
Preprocessor directive - Define.
- DIRECTIVE_ELSE - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
Preprocessor directive - Else.
- DIRECTIVE_ENDIF - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
Preprocessor directive - End If.
- DIRECTIVE_IFDEF - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
Preprocessor directive - If Defined.
- DIRECTIVE_IFNDEF - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
Preprocessor directive - If Undefined.
- DIRECTIVE_INCLUDE - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
Preprocessor directive - Include.
- DIRECTIVE_UNDEFINE - Static variable in class com.blackrook.archetext.struct.PreprocessorLexer
-
Preprocessor directive - Undefine.
- DIVISION - Enum constant in enum com.blackrook.archetext.Combinator
E
- END_OF_LEXER - Static variable in class com.blackrook.archetext.struct.Lexer
-
Lexer end-of-stream char.
- END_OF_STREAM - Static variable in class com.blackrook.archetext.struct.Lexer
-
Lexer end-of-stream char.
- equals(ArcheTextValue) - Method in class com.blackrook.archetext.ArcheTextValue
-
Equality test.
- equals(Object) - Method in class com.blackrook.archetext.ArcheTextValue
- Exception() - Constructor for exception class com.blackrook.archetext.struct.Lexer.Parser.Exception
- Exception(String) - Constructor for exception class com.blackrook.archetext.struct.Lexer.Parser.Exception
- Exception(String, Throwable) - Constructor for exception class com.blackrook.archetext.struct.Lexer.Parser.Exception
- exportByType(String, Class) - Method in class com.blackrook.archetext.ArcheTextRoot
-
Returns all ArcheTextObjects of a particular type exported as POJOs.
- exportTo(T, ArcheTextObject) - Static method in class com.blackrook.archetext.struct.Utils
-
Exports the values of an object to an ArcheTextObject.
F
- fieldNameIterator() - Method in class com.blackrook.archetext.ArcheTextObject
- flatten() - Method in class com.blackrook.archetext.ArcheTextObject
-
Flattens the hierarchy of this object, such that it has no parent references and its fields are all SET fields with the hierarchically-calculated results.
- FLOAT - Enum constant in enum com.blackrook.archetext.ArcheTextValue.Type
-
Floating-point type.
G
- get() - Method in interface com.blackrook.archetext.struct.PreprocessorLexer.StringProvider
- get(String) - Method in class com.blackrook.archetext.ArcheTextObject
-
Gets the value of a field, searching through its lineage if it doesn't exist in this one, combining values as necessary.
- get(String) - Method in class com.blackrook.archetext.ArcheTextRoot
-
Gets a default object by type.
- get(String, Class) - Method in class com.blackrook.archetext.ArcheTextObject
-
Gets the value of a field, searching through its lineage if it doesn't exist in this one, combining values as necessary.
- get(String, String) - Method in class com.blackrook.archetext.ArcheTextRoot
-
Gets an object by type and name.
- getAlias() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile.FieldInfo
- getAlias() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile.MethodInfo
- getAlias(Field) - Method in interface com.blackrook.archetext.struct.TypeProfileFactory.MemberPolicy
-
Gets an alias name for the provided field.
- getAlias(Method) - Method in interface com.blackrook.archetext.struct.TypeProfileFactory.MemberPolicy
-
Gets an alias name for the provided method.
- getAllByType(String) - Method in class com.blackrook.archetext.ArcheTextRoot
-
Returns all ArcheTextObjects of a particular type.
- getArrayDimensions(Class) - Static method in class com.blackrook.archetext.struct.Utils
-
Gets how many dimensions that this array, represented by the provided type, has.
- getArrayDimensions(Object) - Static method in class com.blackrook.archetext.struct.Utils
-
Gets how many array dimensions that an object (presumably an array) has.
- getArrayType(Class) - Static method in class com.blackrook.archetext.struct.Utils
-
Gets the class type of this array type, if this is an array type.
- getArrayType(Object) - Static method in class com.blackrook.archetext.struct.Utils
-
Gets the class type of this array, if this is an array.
- getAssignmentOperator() - Method in enum com.blackrook.archetext.Combinator
- getAvailableFieldNames() - Method in class com.blackrook.archetext.ArcheTextObject
-
Returns all possible field names in this object's lineage.
- getCharIndex() - Method in class com.blackrook.archetext.struct.Lexer.Token
- getCurrentLexeme() - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the current token lexeme.
- getCurrentLexemeType() - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the current lexeme type.
- getCurrentLineCharacterIndex() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
- getCurrentLineNumber() - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the lexer's current stream's line number.
- getCurrentLineNumber() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
- getCurrentStream() - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the current stream.
- getCurrentStreamName() - Method in class com.blackrook.archetext.struct.Lexer
- getCurrentStreamName() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
- getDecimalSeparator() - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Gets the current decimal separator character.
- getEncodingForIncludedResource(String) - Method in interface com.blackrook.archetext.struct.PreprocessorLexer.Includer
-
Gets the charset encoding to use when a path is fetched successfully with
PreprocessorLexer.Includer.getIncludeResource(String). - getField() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile.FieldInfo
- getFieldValue(Object, Field) - Static method in class com.blackrook.archetext.struct.Utils
-
Gets the value of a field on an object.
- getGetterMethodsByAlias() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's getter methods.
- getGetterMethodsByName() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's getter methods.
- getIdentity() - Method in class com.blackrook.archetext.ArcheTextObject
- getIdentityField() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
- getIdentityFromObject(T) - Static method in class com.blackrook.archetext.struct.Utils
-
Get identity name for object.
- getIdentityGetterMethod() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
- getIdentitySetterMethod() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
- getIncludeResource(String) - Method in class com.blackrook.archetext.struct.PreprocessorLexer.DefaultIncluder
- getIncludeResource(String) - Method in interface com.blackrook.archetext.struct.PreprocessorLexer.Includer
-
Returns an open
InputStreamfor a path when the parser needs a resource. - getIncludeResourcePath(String, String) - Method in class com.blackrook.archetext.struct.PreprocessorLexer.DefaultIncluder
- getIncludeResourcePath(String, String) - Method in interface com.blackrook.archetext.struct.PreprocessorLexer.Includer
-
Returns a full path for a path when the parser needs a resource.
- getInfoLine(String, int, String, String) - Method in class com.blackrook.archetext.struct.PreprocessorLexer
- getKernel() - Method in class com.blackrook.archetext.struct.Lexer
- getLexeme() - Method in class com.blackrook.archetext.struct.Lexer.Token
- getLexer() - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Gets the
Lexerthat this Parser uses. - getLineNumber() - Method in class com.blackrook.archetext.struct.Lexer.Token
- getLocal(String, Class) - Method in class com.blackrook.archetext.ArcheTextObject
-
Gets the value of a local field.
- getMethod() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile.MethodInfo
- getParents() - Method in class com.blackrook.archetext.ArcheTextObject
- getProfile(Class) - Method in class com.blackrook.archetext.struct.TypeProfileFactory
-
Creates a new profile for a provided type.
- getPublicFieldsByAlias() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's public fields.
- getPublicFieldsByName() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's public fields.
- getRawStringEnd(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the character that ends a raw String, using the starting character.
- getRawStringStartAndEnd(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the end character for a multi-line, "raw" string start character.
- getSetterMethodsByAlias() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's setter methods.
- getSetterMethodsByName() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile
-
Returns a reference to the map that contains this profile's setter methods.
- getStreamName() - Method in class com.blackrook.archetext.struct.Lexer.Token
- getStringEnd(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the character that ends a String, using the starting character.
- getStringStartAndEnd(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the end character for a string start character.
- getTokenInfoLine(String) - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Returns a stock error line for when an error/warning or whatever occurs during parse.
- getType() - Method in class com.blackrook.archetext.ArcheTextObject
- getType() - Method in class com.blackrook.archetext.ArcheTextValue
- getType() - Method in class com.blackrook.archetext.struct.Lexer.Token
- getType() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile.FieldInfo
- getType() - Method in class com.blackrook.archetext.struct.TypeProfileFactory.Profile.MethodInfo
- getTypes() - Method in class com.blackrook.archetext.ArcheTextRoot
- getValue() - Method in class com.blackrook.archetext.ArcheTextValue
H
- hashCode() - Method in class com.blackrook.archetext.ArcheTextValue
- HashDequeMap<K,
V> - Class in com.blackrook.archetext.struct -
A hash map that stores deques of a particular type.
- HashDequeMap() - Constructor for class com.blackrook.archetext.struct.HashDequeMap
-
Creates a new HashDequeMap that has default capacity and load factor.
- HashDequeMap(int) - Constructor for class com.blackrook.archetext.struct.HashDequeMap
-
Creates a new HashDequeMap that has a specific capacity and default load factor.
- HashDequeMap(int, float) - Constructor for class com.blackrook.archetext.struct.HashDequeMap
-
Creates a new HashDequeMap that has a specific capacity and default load factor.
I
- INTEGER - Enum constant in enum com.blackrook.archetext.ArcheTextValue.Type
-
Integer type.
- intersection(S, S) - Static method in class com.blackrook.archetext.struct.Utils
-
Returns a new Set that is the intersection of the objects in two sets, i.e. the objects that are present in both sets.
- invokeBlind(Method, Object, Object...) - Static method in class com.blackrook.archetext.struct.Utils
-
Blindly invokes a method, only throwing a
RuntimeExceptionif something goes wrong. - isAnonymous() - Method in class com.blackrook.archetext.ArcheTextObject
- isArray(Class) - Static method in class com.blackrook.archetext.struct.Utils
-
Tests if a class is actually an array type.
- isArray(Object) - Static method in class com.blackrook.archetext.struct.Utils
-
Tests if an object is actually an array type.
- isDefault() - Method in class com.blackrook.archetext.ArcheTextObject
- isDelimiterStart(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if this is a (or the start of a) delimiter character.
- isDigit(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Convenience method for
Character.isDigit(char). - isEmpty() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
- isEmpty(Object) - Static method in class com.blackrook.archetext.struct.Utils
-
Checks if a value is "empty."
- isExponent(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if char is the exponent character in a number.
- isExponentSign(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if char is the exponent sign character in a number.
- isHexDigit(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Returns true if this is a hex digit (0-9, A-F, a-f).
- isIgnored(Field) - Method in interface com.blackrook.archetext.struct.TypeProfileFactory.MemberPolicy
-
Checks if a field is ignored by the profile generator.
- isIgnored(Method) - Method in interface com.blackrook.archetext.struct.TypeProfileFactory.MemberPolicy
-
Checks if a method is ignored by the profile generator.
- isLetter(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Convenience method for
Character.isLetter(char). - isLexerEnd(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if a char equals
Lexer.END_OF_LEXER. - isNewline(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if a char equals
Lexer.NEWLINE. - isNull() - Method in class com.blackrook.archetext.ArcheTextValue
-
Returns if this object is null-valued.
- isNull(T, T) - Static method in class com.blackrook.archetext.struct.Utils
-
Returns the first object if it is not null, otherwise returns the second.
- isPoint(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if a character is a decimal point (depends on locale/kernel).
- isRawStringStart(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if this is a character that starts a multiline String.
- isSpace(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if a char is a space.
- isStreamEnd(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if a char equals
Lexer.END_OF_STREAM. - isStringEscape(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if this is a character that is a String escape character.
- isStringStart(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if this is a character that starts a String.
- isTab(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Checks if a char is a tab.
- isUnderscore(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Convenience method for
c == '_'. - isWhitespace(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Convenience method for
Character.isWhitespace(char). - isWindows() - Static method in class com.blackrook.archetext.struct.Utils
K
- Kernel() - Constructor for class com.blackrook.archetext.struct.Lexer.Kernel
-
Creates a new, blank LexerKernel with default settings.
L
- LEFTSHIFT - Enum constant in enum com.blackrook.archetext.Combinator
- Lexer - Class in com.blackrook.archetext.struct
-
Breaks up a stream of characters into lexicographical tokens.
- Lexer(Lexer.Kernel) - Constructor for class com.blackrook.archetext.struct.Lexer
-
Creates a new lexer with no streams.
- Lexer(Lexer.Kernel, Reader) - Constructor for class com.blackrook.archetext.struct.Lexer
-
Creates a new lexer around a reader.
- Lexer(Lexer.Kernel, String) - Constructor for class com.blackrook.archetext.struct.Lexer
-
Creates a new lexer around a String, that will be wrapped into a StringReader.
- Lexer(Lexer.Kernel, String, Reader) - Constructor for class com.blackrook.archetext.struct.Lexer
-
Creates a new lexer around a reader.
- Lexer(Lexer.Kernel, String, String) - Constructor for class com.blackrook.archetext.struct.Lexer
-
Creates a new lexer around a String, that will be wrapped into a StringReader.
- Lexer.Kernel - Class in com.blackrook.archetext.struct
-
This is a info kernel that tells a
Lexerhow to interpret certain characters and identifiers. - Lexer.Parser - Class in com.blackrook.archetext.struct
-
Abstract parser class.
- Lexer.Parser.Exception - Exception Class in com.blackrook.archetext.struct
-
Thrown when a Parser has a problem.
- Lexer.ReaderStack - Class in com.blackrook.archetext.struct
-
This holds a series of
Readerstreams such that the stream on top is the current active stream. - Lexer.ReaderStack.Stream - Class in com.blackrook.archetext.struct
-
Stream encapsulation of a single named Reader.
- Lexer.Token - Class in com.blackrook.archetext.struct
-
Lexer token object.
- LIST - Enum constant in enum com.blackrook.archetext.ArcheTextValue.Type
-
List type.
M
- matchType(int) - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Matches the current token.
- modifyType(Lexer.Token) - Method in class com.blackrook.archetext.struct.Lexer
-
Called when the lexer wants to create a token, but the lexeme of the token may cause this token to be a different type.
- MODULO - Enum constant in enum com.blackrook.archetext.Combinator
- MULTIPLY - Enum constant in enum com.blackrook.archetext.Combinator
N
- negate() - Method in class com.blackrook.archetext.ArcheTextValue
-
Negates the value of this value, returning a new one.
- NEWLINE - Static variable in class com.blackrook.archetext.struct.Lexer
-
Lexer newline char.
- newObject(Class) - Method in class com.blackrook.archetext.ArcheTextObject
-
Converts the contents of this object to a new instance of an object bean / plain ol' Java object.
- nextToken() - Method in class com.blackrook.archetext.struct.Lexer
-
Gets the next token.
- nextToken() - Method in class com.blackrook.archetext.struct.Lexer.Parser
-
Reads and sets the current token to the next token.
- nextToken() - Method in class com.blackrook.archetext.struct.PreprocessorLexer
- not() - Method in class com.blackrook.archetext.ArcheTextValue
-
Returns the logical "not" value of this value, returning a new one.
- NULL - Enum constant in enum com.blackrook.archetext.ArcheTextValue.Type
-
Object type for null.
- NULL - Static variable in class com.blackrook.archetext.ArcheTextValue
-
Null value.
O
- OBJECT - Enum constant in enum com.blackrook.archetext.ArcheTextValue.Type
-
Object type for objects, or null.
- openResource(String) - Static method in class com.blackrook.archetext.struct.Utils
-
Opens an
InputStreamto a resource using the current thread'sClassLoader.
P
- Parser(Lexer) - Constructor for class com.blackrook.archetext.struct.Lexer.Parser
-
Constructs the parser and binds a Lexer to it.
- peek() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
-
Gets the reference to the topmost (current) stream.
- peekFirst(K) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Returns the value at the beginning of a deque.
- peekLast(K) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Returns the value at the end of a deque.
- poll(K) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Removes a value from the front of a deque.
- pollFirst(K) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Removes a value from the beginning of a deque.
- pollLast(K) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Removes a value from the end of a deque.
- pop() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
-
Pops a
Lexer.ReaderStack.Streamoff of the top of this stack. - pop(K) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Removes a value from the front of a deque.
- POWER - Enum constant in enum com.blackrook.archetext.Combinator
- preprocess() - Method in class com.blackrook.archetext.struct.PreprocessorLexer
- PreprocessorLexer - Class in com.blackrook.archetext.struct
-
A lexer that scans for specific directives and affects the stream.
- PreprocessorLexer(Lexer.Kernel, Reader) - Constructor for class com.blackrook.archetext.struct.PreprocessorLexer
-
Creates a new preprocessor lexer around a reader.
- PreprocessorLexer(Lexer.Kernel, String) - Constructor for class com.blackrook.archetext.struct.PreprocessorLexer
-
Creates a new preprocessor lexer around a String, that will be wrapped into a StringReader.
- PreprocessorLexer(Lexer.Kernel, String, Reader) - Constructor for class com.blackrook.archetext.struct.PreprocessorLexer
-
Creates a new preprocessor lexer around a reader.
- PreprocessorLexer(Lexer.Kernel, String, String) - Constructor for class com.blackrook.archetext.struct.PreprocessorLexer
-
Creates a new preprocessor lexer around a String, that will be wrapped into a StringReader.
- PreprocessorLexer.DefaultIncluder - Class in com.blackrook.archetext.struct
-
Default includer to use when none specified.
- PreprocessorLexer.Includer - Interface in com.blackrook.archetext.struct
-
An interface that allows the user to resolve a resource by path when the PreprocessorLexer parses it.
- PreprocessorLexer.PreprocessorException - Exception Class in com.blackrook.archetext.struct
-
Thrown on preprocessor error.
- PreprocessorLexer.StringProvider - Interface in com.blackrook.archetext.struct
-
Lambda interface that returns a string.
- processDirectiveLine(String, int, String) - Method in class com.blackrook.archetext.struct.PreprocessorLexer
-
Called when a full directive is read and needs to be processed.
- promoteTo(ArcheTextValue.Type) - Method in class com.blackrook.archetext.ArcheTextValue
-
Returns a new ArcheTextValue that is a promoted type from this one.
- push(String, Reader) - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
-
Pushes another reader onto the stack.
- push(K, V) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Adds a value to the front of a deque.
- pushParent(ArcheTextObject) - Method in class com.blackrook.archetext.ArcheTextObject
-
Pushes a parent onto the top of the parent stack.
- pushStream(String, Reader) - Method in class com.blackrook.archetext.struct.Lexer
-
Pushes a stream onto the encapsulated reader stack.
R
- read(File) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects into a new root from a starting text file.
- read(File, PreprocessorLexer.Includer) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects into a new root from a starting text file.
- read(String) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects from a String of text into a new root.
- read(String, PreprocessorLexer.Includer) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects from a String of text into a new root.
- read(String, InputStream) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects into a new root.
- read(String, InputStream, PreprocessorLexer.Includer) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects into a new root.
- read(String, Reader) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects into a new root from a reader stream.
- read(String, Reader, PreprocessorLexer.Includer) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects into a new root from a reader stream.
- readChar() - Method in class com.blackrook.archetext.struct.Lexer
-
Reads a character from the stream.
- readChar() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
-
Reads the next character.
- readChar() - Method in class com.blackrook.archetext.struct.PreprocessorLexer
- ReaderStack() - Constructor for class com.blackrook.archetext.struct.Lexer.ReaderStack
-
Creates a new empty ReaderStack.
- ReaderStack(String, Reader) - Constructor for class com.blackrook.archetext.struct.Lexer.ReaderStack
-
Creates a new ReaderStack.
- readResource(String) - Static method in class com.blackrook.archetext.ArcheTextReader
-
Reads ArcheText objects from a classpath resource.
- remove(ArcheTextObject) - Method in class com.blackrook.archetext.ArcheTextRoot
-
Removes an ArcheText object from this root.
- removeFirst(K) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Removes a value from the beginning of a deque.
- removeLast(K) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Removes a value from the end of a deque.
- removeParent(ArcheTextObject) - Method in class com.blackrook.archetext.ArcheTextObject
-
Removes a parent from the parent stack.
- removeValue(K, V) - Method in class com.blackrook.archetext.struct.HashDequeMap
-
Removes a value from a deque.
- RIGHTPADDINGSHIFT - Enum constant in enum com.blackrook.archetext.Combinator
- RIGHTSHIFT - Enum constant in enum com.blackrook.archetext.Combinator
S
- saveChar(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Saves a character for the next token.
- set(String, Combinator, Object) - Method in class com.blackrook.archetext.ArcheTextObject
-
Sets the value of a field.
- set(String, Object) - Method in class com.blackrook.archetext.ArcheTextObject
-
Sets the value of a field.
- SET - Enum constant in enum com.blackrook.archetext.ArcheTextValue.Type
-
Set type.
- SET - Enum constant in enum com.blackrook.archetext.Combinator
- setDecimalSeparator(char) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Sets the current decimal separator character.
- setDelimBreak(char) - Method in class com.blackrook.archetext.struct.Lexer
-
Sets if we are in a delimiter break.
- setEmitComments(boolean) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Sets if this lexer emits comment tokens.
- setEmitNewlines(boolean) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Sets if this lexer emits newline tokens.
- setEmitSpaces(boolean) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Sets if this lexer emits space tokens?
- setEmitStreamBreak(boolean) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Sets if this lexer emits stream break tokens.
- setEmitTabs(boolean) - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Sets if this lexer emits tab tokens.
- setFieldValue(Object, Field, Object) - Static method in class com.blackrook.archetext.struct.Utils
-
Sets the value of a field on an object.
- setIncluder(PreprocessorLexer.Includer) - Method in class com.blackrook.archetext.struct.PreprocessorLexer
-
Sets the primary includer to use for resolving included streams.
- setLexeme(String) - Method in class com.blackrook.archetext.struct.Lexer.Token
-
Sets this token's lexeme.
- setType(int) - Method in class com.blackrook.archetext.struct.Lexer.Token
-
Sets this token's type.
- size() - Method in class com.blackrook.archetext.struct.Lexer.ReaderStack
- STREAMNAME_TEXT - Static variable in class com.blackrook.archetext.ArcheTextReader
- STRING - Enum constant in enum com.blackrook.archetext.ArcheTextValue.Type
-
String type.
- SUBTRACT - Enum constant in enum com.blackrook.archetext.Combinator
T
- Token(String, int, String, int, int) - Constructor for class com.blackrook.archetext.struct.Lexer.Token
- toString() - Method in class com.blackrook.archetext.ArcheTextObject
- toString() - Method in class com.blackrook.archetext.ArcheTextValue
- toString() - Method in class com.blackrook.archetext.struct.Lexer.Token
- TYPE_COMMENT - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: Comment.
- TYPE_END_OF_LEXER - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: End of lexer.
- TYPE_END_OF_STREAM - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: End of stream.
- TYPE_IDENTIFIER - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: Identifier.
- TYPE_ILLEGAL - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: Illegal token.
- TYPE_LINE_COMMENT - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: Line Comment.
- TYPE_NEWLINE - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: New line character.
- TYPE_NUMBER - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: Number.
- TYPE_SPACE - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: Space.
- TYPE_STRING - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: String.
- TYPE_TAB - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: Tab.
- TYPE_UNKNOWN - Static variable in class com.blackrook.archetext.struct.Lexer.Kernel
-
Reserved token type: Unknown token.
- TypeProfileFactory - Class in com.blackrook.archetext.struct
-
A factory that produces type profiles for POJOs and data objects.
- TypeProfileFactory.MemberPolicy - Interface in com.blackrook.archetext.struct
-
An interface for figuring out whether to ignore certain fields or methods on an object that a profile is being generated for (if they are already going to pass testing for includable fields).
- TypeProfileFactory.Profile<T> - Class in com.blackrook.archetext.struct
-
Type profile for an unknown object that has an ambiguous signature for applying values to POJOs and beans.
- TypeProfileFactory.Profile.FieldInfo - Class in com.blackrook.archetext.struct
-
Field information.
- TypeProfileFactory.Profile.MethodInfo - Class in com.blackrook.archetext.struct
-
Method signature.
U
- union(S, S) - Static method in class com.blackrook.archetext.struct.Utils
-
Returns a new Set that is the union of the objects in two sets, i.e. a set with all objects from both sets.
- Utils - Class in com.blackrook.archetext.struct
- Utils() - Constructor for class com.blackrook.archetext.struct.Utils
V
- value() - Element in annotation type com.blackrook.archetext.annotation.ATName
- valueOf(String) - Static method in enum com.blackrook.archetext.ArcheTextValue.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.blackrook.archetext.Combinator
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.blackrook.archetext.ArcheTextValue.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.blackrook.archetext.Combinator
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- willEmitComments() - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Checks if this lexer emits comment tokens.
- willEmitNewlines() - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Checks if this lexer emits newline tokens.
- willEmitSpaces() - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Checks if this lexer emits space tokens.
- willEmitStreamBreak() - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Checks if this lexer emits stream break tokens.
- willEmitTabs() - Method in class com.blackrook.archetext.struct.Lexer.Kernel
-
Checks if this lexer emits tab tokens.
X
- xor(S, S) - Static method in class com.blackrook.archetext.struct.Utils
-
Returns a new Set that is the union minus the intersection of the objects in two sets.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form