A B C D E F G H I L M N P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractTextIterator - Class in net.loomchild.segment
-
Represents abstract text iterator.
- AbstractTextIterator() - Constructor for class net.loomchild.segment.AbstractTextIterator
- AccurateSrxTextIterator - Class in net.loomchild.segment.srx.legacy
-
Reprezentuje splitter dzielący na podstawie reguł zawartych w pliku srx.
- AccurateSrxTextIterator(SrxDocument, String, CharSequence) - Constructor for class net.loomchild.segment.srx.legacy.AccurateSrxTextIterator
-
Creates text iterator that obtains language rules form given document using given language code.
- addLanguageMap(String, LanguageRule) - Method in class net.loomchild.segment.srx.SrxDocument
-
Add language map to this document.
- addRule(Rule) - Method in class net.loomchild.segment.srx.LanguageRule
-
Adds rule to the end of rule list.
- appendReplacement(StringBuffer, String) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- appendTail(StringBuffer) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
B
- Bind - Class in net.loomchild.segment.util
-
Helper class for JAXB binding.
- Bind(JAXBContext, Schema) - Constructor for class net.loomchild.segment.util.Bind
-
Creates Bind.
- Buffer - Class in net.loomchild.segment.srx.legacy
-
Represents character buffer with fixed capacity.
- Buffer(int) - Constructor for class net.loomchild.segment.srx.legacy.Buffer
- BUFFER_LENGTH_PARAMETER - Static variable in class net.loomchild.segment.srx.SrxTextIterator
-
Reader buffer size.
C
- charAt(int) - Method in class net.loomchild.segment.srx.legacy.Buffer
- charAt(int) - Method in class net.loomchild.segment.srx.legacy.ReaderCharSequence
- close() - Method in class net.loomchild.segment.util.NullWriter
- compile(SrxDocument, String) - Static method in class net.loomchild.segment.util.Util
- copyAll(Reader, Writer) - Static method in class net.loomchild.segment.util.Util
-
Copies the whole content of a reader to a writer.
D
- DATE_ATTRIBUTE - Static variable in class net.loomchild.segment.util.Version
- DEFAULT_BUFFER_LENGTH - Static variable in class net.loomchild.segment.srx.legacy.ReaderCharSequence
- DEFAULT_BUFFER_LENGTH - Static variable in class net.loomchild.segment.srx.SrxTextIterator
-
Default size of read buffer when using streaming version of this class.
- DEFAULT_CASCADE - Static variable in class net.loomchild.segment.srx.SrxDocument
-
Default cascade value.
- DEFAULT_LOOKAHEAD - Static variable in class net.loomchild.segment.srx.legacy.ReaderCharSequence
- DEFAULT_MARGIN - Static variable in class net.loomchild.segment.srx.SrxTextIterator
-
Default margin size.
- DEFAULT_MAX_LOOKBEHIND_CONSTRUCT_LENGTH - Static variable in class net.loomchild.segment.srx.SrxTextIterator
-
Default max lookbehind construct length parameter.
- DEFAULT_VALIDATE - Static variable in class net.loomchild.segment.srx.io.Srx2SaxParser
-
Default validate parameter value.
- dequeue() - Method in class net.loomchild.segment.srx.legacy.Buffer
E
- end() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- end(int) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- enqueue(char) - Method in class net.loomchild.segment.srx.legacy.Buffer
- error(TransformerException) - Method in class net.loomchild.segment.util.TransformationErrorListener
F
- FastTextIterator - Class in net.loomchild.segment.srx.legacy
-
Represents fast text iterator that splits text according to SRX rules.
- FastTextIterator(SrxDocument, String, Reader) - Constructor for class net.loomchild.segment.srx.legacy.FastTextIterator
-
Creates streaming text iterator with no additional parameters.
- FastTextIterator(SrxDocument, String, Reader, Map<String, Object>) - Constructor for class net.loomchild.segment.srx.legacy.FastTextIterator
-
Creates streaming text iterator that obtains language rules form given document using given language code.
- FastTextIterator(SrxDocument, String, CharSequence) - Constructor for class net.loomchild.segment.srx.legacy.FastTextIterator
-
Creates text iterator with no additional parameters.
- FastTextIterator(SrxDocument, String, CharSequence, Map<String, Object>) - Constructor for class net.loomchild.segment.srx.legacy.FastTextIterator
-
Creates text iterator that obtains language rules form given document using given language code.
- fatalError(TransformerException) - Method in class net.loomchild.segment.util.TransformationErrorListener
- find() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- find() - Method in class net.loomchild.segment.srx.RuleMatcher
-
Finds next rule match after previously found.
- find(int) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- find(int) - Method in class net.loomchild.segment.srx.RuleMatcher
-
Finds next rule match after given start position.
- finitize(String, int) - Static method in class net.loomchild.segment.util.Util
-
Changes unlimited length pattern to limited length pattern.
- flush() - Method in class net.loomchild.segment.util.NullWriter
- forceEnqueue(char) - Method in class net.loomchild.segment.srx.legacy.Buffer
-
This is the same as: if (buffer.length() * == buffer.getCapacity()) buffer.dequeue(); buffer.enqueue(character);
G
- get(String) - Method in class net.loomchild.segment.srx.SrxDocumentCache
-
Retrieves object from cache.
- getAfterPattern() - Method in class net.loomchild.segment.srx.Rule
- getBeforePattern() - Method in class net.loomchild.segment.srx.Rule
- getBreakingPattern() - Method in class net.loomchild.segment.srx.legacy.MergedPattern
- getBreakPosition() - Method in class net.loomchild.segment.srx.RuleMatcher
- getBreakRuleList() - Method in class net.loomchild.segment.srx.RuleManager
- getBufferLength() - Method in class net.loomchild.segment.srx.TextManager
- getCache() - Method in class net.loomchild.segment.srx.SrxDocument
- getCapacity() - Method in class net.loomchild.segment.srx.legacy.Buffer
- getCascade() - Method in class net.loomchild.segment.srx.SrxDocument
- getContext(Class<?>...) - Static method in class net.loomchild.segment.util.Util
- getContext(String) - Static method in class net.loomchild.segment.util.Util
- getContext(String, ClassLoader) - Static method in class net.loomchild.segment.util.Util
- getDate() - Method in class net.loomchild.segment.util.Version
- getEmptyParameterMap() - Static method in class net.loomchild.segment.util.Util
- getEndPosition() - Method in class net.loomchild.segment.srx.RuleMatcher
- getExceptionPattern(Rule) - Method in class net.loomchild.segment.srx.RuleManager
- getFileInputStream(String) - Static method in class net.loomchild.segment.util.Util
-
Opens a file for reading and returns input stream associated with it.
- getFileOutputStream(String) - Static method in class net.loomchild.segment.util.Util
-
Opens a file for writing and returns output stream associated with it.
- getInstance() - Static method in class net.loomchild.segment.util.Version
- getJarManifest(Class<?>) - Static method in class net.loomchild.segment.util.Util
-
Returns Manifest of a jar containing given class.
- getLanguageMapList() - Method in class net.loomchild.segment.srx.SrxDocument
- getLanguagePattern() - Method in class net.loomchild.segment.srx.LanguageMap
- getLanguageRule() - Method in class net.loomchild.segment.srx.LanguageMap
- getLanguageRuleList(String) - Method in class net.loomchild.segment.srx.SrxDocument
-
If cascade is true then returns all language rules matching given language code.
- getName() - Method in class net.loomchild.segment.srx.LanguageRule
- getNonBreakingPatternList(int) - Method in class net.loomchild.segment.srx.legacy.MergedPattern
-
Returns all applicable non breaking rules when breaking rule with a given number was matched (non breaking rules that occur before given breaking rule in SRX file).
- getParameter(Object, T) - Static method in class net.loomchild.segment.util.Util
-
Returns value if it is not null or default value if it is null.
- getReader(InputStream) - Static method in class net.loomchild.segment.util.Util
- getResourceStream(String) - Static method in class net.loomchild.segment.util.Util
-
Finds a resource using system classloader and returns it as input stream.
- getRule() - Method in class net.loomchild.segment.srx.RuleMatcher
- getRuleList() - Method in class net.loomchild.segment.srx.LanguageRule
- getSchema(Reader) - Static method in class net.loomchild.segment.util.Util
-
Reads a XML schema from given reader.
- getSchema(Reader[]) - Static method in class net.loomchild.segment.util.Util
-
Reads a XML schema from given readers.
- getSource(Reader, Schema) - Static method in class net.loomchild.segment.util.Util
- getStartPosition() - Method in class net.loomchild.segment.srx.RuleMatcher
- getTemplates(Reader) - Static method in class net.loomchild.segment.util.Util
-
Returns XML transform templates from given reader containing XSLT stylesheet.
- getText() - Method in class net.loomchild.segment.srx.TextManager
- getVersion() - Method in class net.loomchild.segment.util.Version
- getWriter(OutputStream) - Static method in class net.loomchild.segment.util.Util
- getXmlReader() - Static method in class net.loomchild.segment.util.Util
- getXmlReader(Schema) - Static method in class net.loomchild.segment.util.Util
-
Returns XMLReader validating against given XML schema.
- group() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- group(int) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- groupCount() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
H
- handleEvent(ValidationEvent) - Method in class net.loomchild.segment.util.LoggingValidationEventHandler
- hasAnchoringBounds() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- hasMoreText() - Method in class net.loomchild.segment.srx.TextManager
- hasNext() - Method in class net.loomchild.segment.srx.legacy.AccurateSrxTextIterator
- hasNext() - Method in class net.loomchild.segment.srx.legacy.FastTextIterator
- hasNext() - Method in class net.loomchild.segment.srx.legacy.ScannerSrxTextIterator
- hasNext() - Method in class net.loomchild.segment.srx.SrxTextIterator
- hasNext() - Method in interface net.loomchild.segment.TextIterator
- hasTransparentBounds() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- hitEnd() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- hitEnd() - Method in class net.loomchild.segment.srx.RuleMatcher
I
- IgnoreDTDEntityResolver - Class in net.loomchild.segment.util
-
This class is used to ignore XML DTD entities.
- IgnoreDTDEntityResolver() - Constructor for class net.loomchild.segment.util.IgnoreDTDEntityResolver
- INFINITE_LENGTH - Static variable in class net.loomchild.segment.srx.legacy.ReaderCharSequence
-
Value to be used as length when it is unknown.
- IORuntimeException - Exception in net.loomchild.segment.util
-
Represents runtime version of
IOException
. - IORuntimeException(IOException) - Constructor for exception net.loomchild.segment.util.IORuntimeException
- isBreak() - Method in class net.loomchild.segment.srx.Rule
L
- LanguageMap - Class in net.loomchild.segment.srx
-
Represents mapping between language code pattern and language rule.
- LanguageMap(String, LanguageRule) - Constructor for class net.loomchild.segment.srx.LanguageMap
-
Creates mapping.
- LanguageRule - Class in net.loomchild.segment.srx
-
Represents rule for segmenting text in some language.
- LanguageRule(String) - Constructor for class net.loomchild.segment.srx.LanguageRule
-
Creates empty language rule.
- LanguageRule(String, List<Rule>) - Constructor for class net.loomchild.segment.srx.LanguageRule
-
Creates language rule.
- length() - Method in class net.loomchild.segment.srx.legacy.Buffer
- length() - Method in class net.loomchild.segment.srx.legacy.ReaderCharSequence
- LoggingValidationEventHandler - Class in net.loomchild.segment.util
-
Handles XML validation errors by writing them to log.
- LoggingValidationEventHandler() - Constructor for class net.loomchild.segment.util.LoggingValidationEventHandler
- lookingAt() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
M
- MANIFEST_PATH - Static variable in class net.loomchild.segment.util.Util
- MAP_RULE_NAME - Static variable in class net.loomchild.segment.srx.io.Srx1Transformer
-
Transformation parameter.
- MARGIN_PARAMETER - Static variable in class net.loomchild.segment.srx.SrxTextIterator
-
Margin size.
- marshal(Writer, Object) - Method in class net.loomchild.segment.util.Bind
-
Writes given object to given writer validating it.
- marshal(String, Object) - Method in class net.loomchild.segment.util.Bind
-
Writes given object to a file with given name validating it.
- matches() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- matches(String) - Method in class net.loomchild.segment.srx.LanguageMap
- MAX_LOOKBEHIND_CONSTRUCT_LENGTH_PARAMETER - Static variable in class net.loomchild.segment.srx.SrxTextIterator
-
Maximum length of a regular expression construct that occurs in lookbehind.
- MergedPattern - Class in net.loomchild.segment.srx.legacy
-
Represents merged splitting pattern.
- MergedPattern(List<LanguageRule>, int) - Constructor for class net.loomchild.segment.srx.legacy.MergedPattern
N
- net.loomchild.segment - package net.loomchild.segment
- net.loomchild.segment.srx - package net.loomchild.segment.srx
- net.loomchild.segment.srx.io - package net.loomchild.segment.srx.io
- net.loomchild.segment.srx.legacy - package net.loomchild.segment.srx.legacy
- net.loomchild.segment.util - package net.loomchild.segment.util
- next() - Method in class net.loomchild.segment.srx.legacy.AccurateSrxTextIterator
-
Wyszukuje następne dopasowanie.
- next() - Method in class net.loomchild.segment.srx.legacy.FastTextIterator
- next() - Method in class net.loomchild.segment.srx.legacy.ScannerSrxTextIterator
- next() - Method in class net.loomchild.segment.srx.SrxTextIterator
-
Finds the next segment in the text and returns it.
- next() - Method in interface net.loomchild.segment.TextIterator
- NullWriter - Class in net.loomchild.segment.util
-
Writer that does not write anywhere.
- NullWriter() - Constructor for class net.loomchild.segment.util.NullWriter
P
- parse(BufferedReader) - Static method in enum net.loomchild.segment.srx.io.SrxVersion
-
Returns SRX document version.
- parse(Reader) - Method in class net.loomchild.segment.srx.io.Srx1Parser
-
Transforms document to SRX 2.0 using
Srx1Transformer
and default transformation parameters and parses it usingSrx2Parser
. - parse(Reader) - Method in class net.loomchild.segment.srx.io.Srx2Parser
-
Parses SRX document from reader.
- parse(Reader) - Method in class net.loomchild.segment.srx.io.Srx2SaxParser
-
Parses SRX document from reader.
- parse(Reader) - Method in class net.loomchild.segment.srx.io.Srx2StaxParser
-
Parses SRX document from reader.
- parse(Reader) - Method in class net.loomchild.segment.srx.io.SrxAnyParser
-
Parses SRX document from reader.
- parse(Reader) - Method in interface net.loomchild.segment.srx.SrxParser
-
Parses SRX document.
- parse(String) - Static method in enum net.loomchild.segment.srx.io.SrxVersion
- pattern() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- put(String, Object) - Method in class net.loomchild.segment.srx.SrxDocumentCache
-
Puts an object in cache.
R
- READ_BUFFER_SIZE - Static variable in class net.loomchild.segment.util.Util
- readAll(Reader) - Static method in class net.loomchild.segment.util.Util
-
Reads whole contents of a reader to a string.
- ReaderCharSequence - Class in net.loomchild.segment.srx.legacy
-
Adapter of reader class to CharSequence interface.
- ReaderCharSequence(Reader) - Constructor for class net.loomchild.segment.srx.legacy.ReaderCharSequence
- ReaderCharSequence(Reader, int) - Constructor for class net.loomchild.segment.srx.legacy.ReaderCharSequence
- ReaderCharSequence(Reader, int, int) - Constructor for class net.loomchild.segment.srx.legacy.ReaderCharSequence
- ReaderCharSequence(Reader, int, int, int) - Constructor for class net.loomchild.segment.srx.legacy.ReaderCharSequence
-
Create.
- ReaderMatcher - Class in net.loomchild.segment.srx.legacy
-
Represents
MatchResult
that usesReaderCharSequence
as a text - it takes care of exceptions that are thrown by it. - ReaderMatcher(Pattern, CharSequence) - Constructor for class net.loomchild.segment.srx.legacy.ReaderMatcher
- readText(int) - Method in class net.loomchild.segment.srx.TextManager
-
Deletes given amount of characters from current character buffer and tries to read up to given amount of new characters and stores them in current character buffer.
- region(int, int) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- regionEnd() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- regionStart() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- remove() - Method in class net.loomchild.segment.AbstractTextIterator
-
Unsupported operation.
- remove() - Method in interface net.loomchild.segment.TextIterator
-
Unsupported operation.
- removeBlockQuotes(String) - Static method in class net.loomchild.segment.util.Util
-
Replaces block quotes in regular expressions with normal quotes.
- removeCapturingGroups(String) - Static method in class net.loomchild.segment.util.Util
-
Replaces capturing groups with non-capturing groups in the given regular expression.
- replaceAll(String) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- replaceFirst(String) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- requireEnd() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- reset() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- reset(CharSequence) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- resolveEntity(String, String) - Method in class net.loomchild.segment.util.IgnoreDTDEntityResolver
- ResourceNotFoundException - Exception in net.loomchild.segment.util
-
Exception that indicates that resource has not been found by Classloader.
- ResourceNotFoundException(String) - Constructor for exception net.loomchild.segment.util.ResourceNotFoundException
- ResourceNotFoundException(String, Throwable) - Constructor for exception net.loomchild.segment.util.ResourceNotFoundException
- rethrow() - Method in exception net.loomchild.segment.util.IORuntimeException
- Rule - Class in net.loomchild.segment.srx
-
Represents break or exception rule.
- Rule(boolean, String, String) - Constructor for class net.loomchild.segment.srx.Rule
-
Creates rule.
- RuleManager - Class in net.loomchild.segment.srx
-
Represents segmentation rules manager.
- RuleManager(SrxDocument, List<LanguageRule>, int) - Constructor for class net.loomchild.segment.srx.RuleManager
-
Constructor.
- RuleMatcher - Class in net.loomchild.segment.srx
-
Represents matcher finding subsequent occurrences of one rule.
- RuleMatcher(SrxDocument, Rule, CharSequence) - Constructor for class net.loomchild.segment.srx.RuleMatcher
-
Creates matcher.
S
- ScannerSrxTextIterator - Class in net.loomchild.segment.srx.legacy
-
Quick and Dirty implementation of
TextIterator
usingScanner
. - ScannerSrxTextIterator(SrxDocument, String, Reader, Map<String, Object>) - Constructor for class net.loomchild.segment.srx.legacy.ScannerSrxTextIterator
- ScannerSrxTextIterator(SrxDocument, String, String, Map<String, Object>) - Constructor for class net.loomchild.segment.srx.legacy.ScannerSrxTextIterator
- setCascade(boolean) - Method in class net.loomchild.segment.srx.SrxDocument
-
Sets if document is cascading or not.
- Srx1Parser - Class in net.loomchild.segment.srx.io
-
Represents SRX 1.0 parser.
- Srx1Parser() - Constructor for class net.loomchild.segment.srx.io.Srx1Parser
- Srx1Transformer - Class in net.loomchild.segment.srx.io
-
Represents SRX document transformer between SRX 1.0 and newest supported version.
- Srx1Transformer() - Constructor for class net.loomchild.segment.srx.io.Srx1Transformer
- Srx2Parser - Class in net.loomchild.segment.srx.io
-
Represents SRX 2.0 document parser.
- Srx2Parser() - Constructor for class net.loomchild.segment.srx.io.Srx2Parser
- Srx2SaxParser - Class in net.loomchild.segment.srx.io
-
Represents SRX 2.0 document parser.
- Srx2SaxParser() - Constructor for class net.loomchild.segment.srx.io.Srx2SaxParser
-
Creates SAX parser with default parameters.
- Srx2SaxParser(Map<String, Object>) - Constructor for class net.loomchild.segment.srx.io.Srx2SaxParser
-
Creates SAX parser with given parameters.
- Srx2StaxParser - Class in net.loomchild.segment.srx.io
-
Represents SRX 2.0 document parser.
- Srx2StaxParser() - Constructor for class net.loomchild.segment.srx.io.Srx2StaxParser
- Srx2Transformer - Class in net.loomchild.segment.srx.io
-
Represents SRX document transformer between SRX 2.0 and newest supported version.
- Srx2Transformer() - Constructor for class net.loomchild.segment.srx.io.Srx2Transformer
- SrxAnyParser - Class in net.loomchild.segment.srx.io
-
Represents any version intelligent SRX document parser.
- SrxAnyParser() - Constructor for class net.loomchild.segment.srx.io.SrxAnyParser
-
Creates SRX any parser using default SRX 2.0 parser.
- SrxAnyParser(SrxParser) - Constructor for class net.loomchild.segment.srx.io.SrxAnyParser
-
Creates SRX any parser using given SRX 2.0 parser.
- SrxAnyTransformer - Class in net.loomchild.segment.srx.io
-
Represents any version intelligent SRX document transformer to newest supported version.
- SrxAnyTransformer() - Constructor for class net.loomchild.segment.srx.io.SrxAnyTransformer
- SrxDocument - Class in net.loomchild.segment.srx
-
Represents SRX document.
- SrxDocument() - Constructor for class net.loomchild.segment.srx.SrxDocument
-
Creates empty document with default cascade.
- SrxDocument(boolean) - Constructor for class net.loomchild.segment.srx.SrxDocument
-
Creates empty document.
- SrxDocumentCache - Class in net.loomchild.segment.srx
-
Represents SRX document cache.
- SrxDocumentCache() - Constructor for class net.loomchild.segment.srx.SrxDocumentCache
- SrxParser - Interface in net.loomchild.segment.srx
-
Represents SRX parser that can parse SRX document from reader.
- SrxTextIterator - Class in net.loomchild.segment.srx
-
Represents text iterator splitting text according to rules in SRX file.
- SrxTextIterator(SrxDocument, String, Reader) - Constructor for class net.loomchild.segment.srx.SrxTextIterator
-
Creates streaming text iterator with no additional parameters.
- SrxTextIterator(SrxDocument, String, Reader, Map<String, Object>) - Constructor for class net.loomchild.segment.srx.SrxTextIterator
-
Creates text iterator that obtains language rules from given document using given language code.
- SrxTextIterator(SrxDocument, String, CharSequence) - Constructor for class net.loomchild.segment.srx.SrxTextIterator
-
Creates text iterator with no additional parameters.
- SrxTextIterator(SrxDocument, String, CharSequence, Map<String, Object>) - Constructor for class net.loomchild.segment.srx.SrxTextIterator
-
Creates text iterator that obtains language rules form given document using given language code.
- SrxTransformer - Interface in net.loomchild.segment.srx
-
Represents SRX document transformer between old versions and newest supported version.
- SrxVersion - Enum in net.loomchild.segment.srx.io
-
Represents SRX version.
- start() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- start(int) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- subSequence(int, int) - Method in class net.loomchild.segment.srx.legacy.Buffer
- subSequence(int, int) - Method in class net.loomchild.segment.srx.legacy.ReaderCharSequence
-
The length of returned subsequence can be smaller than (end - start) when the end of stream is reached.
T
- TextIterator - Interface in net.loomchild.segment
-
Text iterator interface.
- TextManager - Class in net.loomchild.segment.srx
-
Represents text manager.
- TextManager(Reader, int) - Constructor for class net.loomchild.segment.srx.TextManager
-
Creates text manager reading text from given reader.
- TextManager(CharSequence) - Constructor for class net.loomchild.segment.srx.TextManager
-
Creates text manager containing given text.
- toMatchResult() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- toString() - Method in enum net.loomchild.segment.srx.io.SrxVersion
- toString() - Method in class net.loomchild.segment.srx.legacy.Buffer
- toString() - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- toString(List<LanguageRule>) - Method in class net.loomchild.segment.AbstractTextIterator
- transform(Reader, Writer, Map<String, Object>) - Method in class net.loomchild.segment.srx.io.Srx1Transformer
-
Transform given SRX 1.0 document to newest supported version and write it to given writer.
- transform(Reader, Writer, Map<String, Object>) - Method in class net.loomchild.segment.srx.io.Srx2Transformer
-
Copies SRX document from reader to writer without transformation.
- transform(Reader, Writer, Map<String, Object>) - Method in class net.loomchild.segment.srx.io.SrxAnyTransformer
-
Transform given SRX document to newest supported version and write it to given writer.
- transform(Reader, Writer, Map<String, Object>) - Method in interface net.loomchild.segment.srx.SrxTransformer
-
Transform given SRX document to newest supported version and write it to given writer.
- transform(Reader, Map<String, Object>) - Method in class net.loomchild.segment.srx.io.Srx1Transformer
-
Transforms given SRX 1.0 document and returns Reader containing SRX document in newest supported version.
- transform(Reader, Map<String, Object>) - Method in class net.loomchild.segment.srx.io.Srx2Transformer
-
Returns given reader without modification.
- transform(Reader, Map<String, Object>) - Method in class net.loomchild.segment.srx.io.SrxAnyTransformer
-
Transform given SRX document and return Reader containing newest supported version.
- transform(Reader, Map<String, Object>) - Method in interface net.loomchild.segment.srx.SrxTransformer
-
Transform given SRX document and return Reader containing newest supported version.
- transform(Templates, Reader, Writer) - Static method in class net.loomchild.segment.util.Util
-
Performs XSLT transformation.
- transform(Templates, Reader, Writer, Map<String, Object>) - Static method in class net.loomchild.segment.util.Util
-
Performs XSLT transformation.
- transform(Templates, Schema, Reader, Writer) - Static method in class net.loomchild.segment.util.Util
-
Performs XML schema validation and XSLT transformation.
- transform(Templates, Schema, Reader, Writer, Map<String, Object>) - Static method in class net.loomchild.segment.util.Util
-
Performs XML schema validation and XSLT transformation.
- TransformationErrorListener - Class in net.loomchild.segment.util
-
Handles XML transformation errors by writing them to logr.
- TransformationErrorListener() - Constructor for class net.loomchild.segment.util.TransformationErrorListener
U
- unmarshal(Reader) - Method in class net.loomchild.segment.util.Bind
-
Retrieves object from given reader validation the input.
- unmarshal(String) - Method in class net.loomchild.segment.util.Bind
-
Retrieves object from a file with given name validating the input.
- useAnchoringBounds(boolean) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- usePattern(Pattern) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- useTransparentBounds(boolean) - Method in class net.loomchild.segment.srx.legacy.ReaderMatcher
- Util - Class in net.loomchild.segment.util
- Util() - Constructor for class net.loomchild.segment.util.Util
V
- VALIDATE_PARAMETER - Static variable in class net.loomchild.segment.srx.io.Srx2SaxParser
-
Whether parser should validate input against XML Schema or not.
- valueOf(String) - Static method in enum net.loomchild.segment.srx.io.SrxVersion
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.loomchild.segment.srx.io.SrxVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Version - Class in net.loomchild.segment.util
-
Retrieves segment version.
- VERSION_1_0 - net.loomchild.segment.srx.io.SrxVersion
- VERSION_2_0 - net.loomchild.segment.srx.io.SrxVersion
- VERSION_ATTRIBUTE - Static variable in class net.loomchild.segment.util.Version
W
- warning(TransformerException) - Method in class net.loomchild.segment.util.TransformationErrorListener
- write(char[], int, int) - Method in class net.loomchild.segment.util.NullWriter
X
- XmlException - Exception in net.loomchild.segment.util
-
Runtime version of XML exception.
- XmlException(String) - Constructor for exception net.loomchild.segment.util.XmlException
- XmlException(String, Throwable) - Constructor for exception net.loomchild.segment.util.XmlException
- XmlException(Throwable) - Constructor for exception net.loomchild.segment.util.XmlException
All Classes All Packages