Skip navigation links
A C D E F G I L M N O P R S T V X _ 

A

AbstractReplacement - Class in info.textgrid.utils.linkrewriter
The base class for replacements used in the link rewriter.
AbstractReplacement(String, String) - Constructor for class info.textgrid.utils.linkrewriter.AbstractReplacement
Creates a replacement that replaces the URL specified by from with the URL specified by to.
AbstractRewriter - Class in info.textgrid.utils.linkrewriter
Abstract implementation of ILinkRewriter that can serve as a base class.
AbstractRewriter(ImportMapping, boolean) - Constructor for class info.textgrid.utils.linkrewriter.AbstractRewriter
 
add(IAggregationEntry) - Method in class info.textgrid.utils.export.aggregations.Aggregation
 
add(ImportObject...) - Method in class info.textgrid.utils.linkrewriter.ImportMapping
 
add(String, String, String, RewriteMethod) - Method in class info.textgrid.utils.linkrewriter.ImportMapping
 
addExtension(String, String) - Method in class info.textgrid.utils.export.filenames.FileExtensionMap
 
Aggregation - Class in info.textgrid.utils.export.aggregations
 
Aggregation(ObjectType) - Constructor for class info.textgrid.utils.export.aggregations.Aggregation
 
Aggregation(ObjectType, Aggregation) - Constructor for class info.textgrid.utils.export.aggregations.Aggregation
 
AggregationEntry - Class in info.textgrid.utils.export.aggregations
Represents an entry in an aggregation.
AggregationEntry(ObjectType) - Constructor for class info.textgrid.utils.export.aggregations.AggregationEntry
 
AggregationEntry(ObjectType, Aggregation) - Constructor for class info.textgrid.utils.export.aggregations.AggregationEntry
 
anyElement - Variable in class info.textgrid._import.XmlConfiguration
 
apply(String) - Method in class info.textgrid.utils.linkrewriter.AbstractReplacement
applies this replacement to the given string.
apply(List<? extends AbstractReplacement>, String) - Static method in class info.textgrid.utils.linkrewriter.AbstractReplacement
 
apply(String) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter.Replacer
 
apply(String) - Method in class info.textgrid.utils.linkrewriter.TokenReplacement
applies this replacement to the given string.
attribute - Variable in class info.textgrid._import.ElementSpec
 
Attribute() - Constructor for class info.textgrid._import.ElementSpec.Attribute
 

C

ConfigurableXMLRewriter - Class in info.textgrid.utils.linkrewriter
The configurable XML rewriter allows you to configure where in an XML file link rewriting may occur.
ConfigurableXMLRewriter(ImportMapping, boolean) - Constructor for class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
 
ConfigurableXMLRewriter.Replacer - Class in info.textgrid.utils.linkrewriter
implementers must implement ConfigurableXMLRewriter.Replacer.apply(String) and can use the other methods
configure(XmlConfiguration) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
Configures this rewriter for the given configuration.
configure(URI) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
Configures this XML rewriter for the configuration identified by the given URI.
create(Class<T>, ImportMapping, boolean) - Static method in class info.textgrid.utils.linkrewriter.AbstractReplacement
Creates a list of replacements that can be applied to strings.
create(Class<T>, ImportObject, boolean) - Static method in class info.textgrid.utils.linkrewriter.AbstractReplacement
This is a convenience method that instantiates a conforming replacement implementation.
createElementSpec() - Method in class info.textgrid._import.ObjectFactory
Create an instance of ElementSpec
createElementSpecAttribute() - Method in class info.textgrid._import.ObjectFactory
Create an instance of ElementSpec.Attribute
createImportObject() - Method in class info.textgrid._import.ObjectFactory
Create an instance of ImportObject
createImportSpec() - Method in class info.textgrid._import.ObjectFactory
Create an instance of ImportSpec
createRevisionPolicy() - Method in class info.textgrid._import.ObjectFactory
Create an instance of RevisionPolicy
createXmlConfiguration() - Method in class info.textgrid._import.ObjectFactory
Create an instance of XmlConfiguration
createXmlConfigurationProcessingInstruction() - Method in class info.textgrid._import.ObjectFactory

D

DefaultFilenamePolicy - Class in info.textgrid.utils.export.filenames
The default filename policy is a stateless IFilenamePolicy that creates filenames from objects or aggregation objects according to the following rules: An arbitrary string is translated to a filename fragment by applying an ICU based transliteration that converts most scripts to the US-ASCII range.
DefaultFilenamePolicy() - Constructor for class info.textgrid.utils.export.filenames.DefaultFilenamePolicy
 
DefaultMetaFilenamePolicy - Class in info.textgrid.utils.export.filenames
This filename policy augments a given filename policy by appending ".meta" to every generated filename.
DefaultMetaFilenamePolicy(IFilenamePolicy) - Constructor for class info.textgrid.utils.export.filenames.DefaultMetaFilenamePolicy
 
description - Variable in class info.textgrid._import.XmlConfiguration
 

E

element - Variable in class info.textgrid._import.XmlConfiguration
 
ElementSpec - Class in info.textgrid._import
Java class for ElementSpec complex type.
ElementSpec() - Constructor for class info.textgrid._import.ElementSpec
 
ElementSpec.Attribute - Class in info.textgrid._import
Java class for anonymous complex type.

F

FileExtensionMap - Class in info.textgrid.utils.export.filenames
Parses the (supplied) mime.types file and creates a map of all entries that specify both a MIME type and a file name.
FileExtensionMap() - Constructor for class info.textgrid.utils.export.filenames.FileExtensionMap
 
find(Iterable<T>, QName) - Static method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
 
from - Variable in class info.textgrid.utils.linkrewriter.AbstractReplacement
 
fromValue(String) - Static method in enum info.textgrid._import.ReplaceMethod
 
fromValue(String) - Static method in enum info.textgrid._import.RevisionPolicyType
 
fromValue(String) - Static method in enum info.textgrid._import.RewriteMethod
 

G

getAnyElement() - Method in class info.textgrid._import.XmlConfiguration
Gets the value of the anyElement property.
getAttribute() - Method in class info.textgrid._import.ElementSpec
Gets the value of the attribute property.
getBase(IAggregationEntry) - Method in class info.textgrid.utils.export.filenames.DefaultFilenamePolicy
 
getBase(IAggregationEntry) - Method in class info.textgrid.utils.export.filenames.DefaultMetaFilenamePolicy
 
getBase(IAggregationEntry) - Method in interface info.textgrid.utils.export.filenames.IFilenamePolicy
Tries to generate a base URI for the given aggregation entry.
getBase() - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
Returns the currently active base URI.
getChildren() - Method in class info.textgrid.utils.export.aggregations.Aggregation
 
getChildren() - Method in interface info.textgrid.utils.export.aggregations.IAggregation
 
getDescription() - Method in class info.textgrid._import.XmlConfiguration
Gets the value of the description property.
getElement() - Method in class info.textgrid._import.XmlConfiguration
Gets the value of the element property.
getExtensions(String) - Method in class info.textgrid.utils.export.filenames.FileExtensionMap
 
getFilename(ObjectType, boolean) - Method in class info.textgrid.utils.export.filenames.DefaultFilenamePolicy
 
getFilename(IAggregationEntry, boolean) - Method in class info.textgrid.utils.export.filenames.DefaultFilenamePolicy
 
getFilename(ObjectType, boolean) - Method in class info.textgrid.utils.export.filenames.DefaultMetaFilenamePolicy
 
getFilename(IAggregationEntry, boolean) - Method in class info.textgrid.utils.export.filenames.DefaultMetaFilenamePolicy
 
getFilename(ObjectType, boolean) - Method in interface info.textgrid.utils.export.filenames.IFilenamePolicy
Generates a file name candidate for the object described by the given metadata.
getFilename(IAggregationEntry, boolean) - Method in interface info.textgrid.utils.export.filenames.IFilenamePolicy
Generates a file name for the aggregation entry described by the given metadata.
getFirstExtension(String) - Method in class info.textgrid.utils.export.filenames.FileExtensionMap
 
getFormat() - Method in class info.textgrid.utils.export.aggregations.AggregationEntry
 
getId() - Method in class info.textgrid._import.XmlConfiguration
Gets the value of the id property.
getImport() - Method in class info.textgrid._import.RevisionPolicy
Gets the value of the import property.
getImportObject() - Method in class info.textgrid._import.ImportSpec
Gets the value of the importObject property.
getImportObjectForLocalURI(String) - Method in class info.textgrid.utils.linkrewriter.ImportMapping
 
getImportObjectForTextGridURI(String) - Method in class info.textgrid.utils.linkrewriter.ImportMapping
 
getImportObjects() - Method in class info.textgrid.utils.linkrewriter.ImportMapping
 
getImportRevisionPolicy() - Method in class info.textgrid.utils.linkrewriter.ImportMapping
 
getInstance() - Static method in class info.textgrid.utils.export.filenames.FileExtensionMap
 
getInternalConfigurations() - Static method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
 
getInternalSpecs() - Static method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
 
getLocalData() - Method in class info.textgrid._import.ImportObject
Gets the value of the localData property.
getLocalMetadata() - Method in class info.textgrid._import.ImportObject
Gets the value of the localMetadata property.
getMapping() - Method in class info.textgrid.utils.linkrewriter.AbstractRewriter
 
getMapping() - Method in interface info.textgrid.utils.linkrewriter.ILinkRewriter
Returns the mapping object that describes the neccessary rewrite actions
getMetadata() - Method in class info.textgrid.utils.export.aggregations.AggregationEntry
 
getMetadata() - Method in interface info.textgrid.utils.export.aggregations.IAggregationEntry
 
getMethod() - Method in class info.textgrid._import.NodeRewriteSpec
Gets the value of the method property.
getMissingReferences() - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
 
getName() - Method in class info.textgrid._import.NodeRewriteSpec
Gets the value of the name property.
getParent() - Method in class info.textgrid.utils.export.aggregations.AggregationEntry
 
getParent() - Method in interface info.textgrid.utils.export.aggregations.IAggregationEntry
 
getProcessingInstruction() - Method in class info.textgrid._import.XmlConfiguration
Gets the value of the processingInstruction property.
getReplacer(ReplaceMethod) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
 
getRevisionPolicy() - Method in class info.textgrid._import.ImportSpec
Gets the value of the revisionPolicy property.
getRewriteConfig() - Method in class info.textgrid._import.ImportObject
Gets the value of the rewriteConfig property.
getRewriteMethod() - Method in class info.textgrid._import.ImportObject
Gets the value of the rewriteMethod property.
getTextgridUri() - Method in class info.textgrid._import.ImportObject
Gets the value of the textgridUri property.
getTextGridURI() - Method in class info.textgrid.utils.export.aggregations.AggregationEntry
 
getTextGridURI() - Method in interface info.textgrid.utils.export.aggregations.IAggregationEntry
 
getTransliterator() - Static method in class info.textgrid.utils.export.filenames.DefaultFilenamePolicy
Returns (and creates on demand) an ICU transliterator as used in DefaultFilenamePolicy.translate(String)
getXmlConfiguration() - Method in class info.textgrid._import.ImportSpec
Gets the value of the xmlConfiguration property.

I

IAggregation - Interface in info.textgrid.utils.export.aggregations
 
IAggregationEntry - Interface in info.textgrid.utils.export.aggregations
 
id - Variable in class info.textgrid._import.XmlConfiguration
 
IFilenamePolicy - Interface in info.textgrid.utils.export.filenames
A filename policy offers a way to generate file names from entries in aggregation structures, from TextGrid metadata, or from simple strings.
ILinkRewriter - Interface in info.textgrid.utils.linkrewriter
A link rewriter can rewrite links according to a mapping file.
ImportMapping - Class in info.textgrid.utils.linkrewriter
 
ImportMapping(ImportSpec) - Constructor for class info.textgrid.utils.linkrewriter.ImportMapping
 
ImportMapping() - Constructor for class info.textgrid.utils.linkrewriter.ImportMapping
 
ImportObject - Class in info.textgrid._import
Java class for anonymous complex type.
ImportObject() - Constructor for class info.textgrid._import.ImportObject
 
importObject - Variable in class info.textgrid._import.ImportSpec
 
ImportSpec - Class in info.textgrid._import
Java class for anonymous complex type.
ImportSpec() - Constructor for class info.textgrid._import.ImportSpec
 
info.textgrid._import - package info.textgrid._import
 
info.textgrid.utils.export.aggregations - package info.textgrid.utils.export.aggregations
Model to represent a set of TextGrid aggregations.
info.textgrid.utils.export.filenames - package info.textgrid.utils.export.filenames
API to manage export filenames for TextGrid objects, including a default implementation.
info.textgrid.utils.linkrewriter - package info.textgrid.utils.linkrewriter
A simple but generic link rewriting library.
INSTANCE - Static variable in class info.textgrid.utils.export.filenames.DefaultFilenamePolicy
Since this is a stateless implementation, clients can use the default instance
isExport() - Method in class info.textgrid.utils.linkrewriter.AbstractRewriter
 
isExport() - Method in interface info.textgrid.utils.linkrewriter.ILinkRewriter
If this is true, the rewriting operation is intended for an export situation, i.e.

L

localData - Variable in class info.textgrid._import.ImportObject
 
localMetadata - Variable in class info.textgrid._import.ImportObject
 

M

method - Variable in class info.textgrid._import.NodeRewriteSpec
 

N

name - Variable in class info.textgrid._import.NodeRewriteSpec
 
NodeRewriteSpec - Class in info.textgrid._import
Java class for NodeRewriteSpec complex type.
NodeRewriteSpec() - Constructor for class info.textgrid._import.NodeRewriteSpec
 

O

ObjectFactory - Class in info.textgrid._import
This object contains factory methods for each Java content interface and Java element interface generated in the info.textgrid._import package.
ObjectFactory() - Constructor for class info.textgrid._import.ObjectFactory
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: info.textgrid._import

P

parent - Variable in class info.textgrid.utils.export.aggregations.AggregationEntry
 
processingInstruction - Variable in class info.textgrid._import.XmlConfiguration
 
ProcessingInstruction() - Constructor for class info.textgrid._import.XmlConfiguration.ProcessingInstruction
 

R

recordMissingReferences() - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
After calls to this function the rewriter will record links to missing references, i.e.
replaceAttributeValue(QName, QName, String) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
Helper method that correctly applies the configured replacement to the given attribute in the given element according to the rewriter's current configuration.
replaceElementContent(QName, String) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
Helper method that correctly applies the configured replacement to the given content according to te given element.
ReplaceMethod - Enum in info.textgrid._import
Java class for ReplaceMethod.
Replacer() - Constructor for class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter.Replacer
 
revisionPolicy - Variable in class info.textgrid._import.ImportSpec
 
RevisionPolicy - Class in info.textgrid._import
Java class for anonymous complex type.
RevisionPolicy() - Constructor for class info.textgrid._import.RevisionPolicy
 
RevisionPolicyType - Enum in info.textgrid._import
Java class for RevisionPolicyType.
rewrite(InputStream, OutputStream) - Method in class info.textgrid.utils.linkrewriter.AbstractRewriter
 
rewrite(InputStream, OutputStream) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
Copies contents from input to output, rewriting links according to the mapping and the export setting, in an implementation dependent manner.
rewrite(InputStream, OutputStream) - Method in interface info.textgrid.utils.linkrewriter.ILinkRewriter
Copies contents from input to output, rewriting links according to the mapping and the export setting, in an implementation dependent manner.
rewrite(InputStream, OutputStream) - Method in class info.textgrid.utils.linkrewriter.SimpleTextRewriter
Copies contents from input to output, rewriting links according to the mapping and the export setting, in an implementation dependent manner.
rewrite(InputStream, OutputStream) - Method in class info.textgrid.utils.linkrewriter.XMLLinkRewriter
 
rewriteConfig - Variable in class info.textgrid._import.ImportObject
 
rewriteMethod - Variable in class info.textgrid._import.ImportObject
 
RewriteMethod - Enum in info.textgrid._import
Java class for RewriteMethod.
rewriteSingleLink(String) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter.Replacer
Rewrites a single possible link.

S

setAnyElement(ElementSpec) - Method in class info.textgrid._import.XmlConfiguration
Sets the value of the anyElement property.
setBase(URI) - Method in class info.textgrid.utils.linkrewriter.ConfigurableXMLRewriter
Use the given base for the local links.
setDescription(String) - Method in class info.textgrid._import.XmlConfiguration
Sets the value of the description property.
setId(String) - Method in class info.textgrid._import.XmlConfiguration
Sets the value of the id property.
setImport(RevisionPolicyType) - Method in class info.textgrid._import.RevisionPolicy
Sets the value of the import property.
setLocalData(String) - Method in class info.textgrid._import.ImportObject
Sets the value of the localData property.
setLocalMetadata(String) - Method in class info.textgrid._import.ImportObject
Sets the value of the localMetadata property.
setMethod(ReplaceMethod) - Method in class info.textgrid._import.NodeRewriteSpec
Sets the value of the method property.
setName(QName) - Method in class info.textgrid._import.NodeRewriteSpec
Sets the value of the name property.
setRevisionPolicy(RevisionPolicy) - Method in class info.textgrid._import.ImportSpec
Sets the value of the revisionPolicy property.
setRewriteConfig(String) - Method in class info.textgrid._import.ImportObject
Sets the value of the rewriteConfig property.
setRewriteMethod(RewriteMethod) - Method in class info.textgrid._import.ImportObject
Sets the value of the rewriteMethod property.
setTextgridUri(String) - Method in class info.textgrid._import.ImportObject
Sets the value of the textgridUri property.
SimpleTextRewriter - Class in info.textgrid.utils.linkrewriter
A simple rewriter for plain-text files.
SimpleTextRewriter(ImportMapping, boolean) - Constructor for class info.textgrid.utils.linkrewriter.SimpleTextRewriter
A rewriter that can rewrite simple text files by replacing everything at word boundaries.

T

textgridUri - Variable in class info.textgrid._import.ImportObject
 
to - Variable in class info.textgrid.utils.linkrewriter.AbstractReplacement
 
toImportSpec() - Method in class info.textgrid.utils.linkrewriter.ImportMapping
 
TokenReplacement - Class in info.textgrid.utils.linkrewriter
A replacement that replaces on a token-by-token basis.
TokenReplacement(String, String) - Constructor for class info.textgrid.utils.linkrewriter.TokenReplacement
 
toString() - Method in class info.textgrid.utils.export.aggregations.AggregationEntry
 
TRANSFORM_RULES - Static variable in class info.textgrid.utils.export.filenames.DefaultFilenamePolicy
These are the ICU transformation rules used for DefaultFilenamePolicy.translate(String).
translate(String) - Method in class info.textgrid.utils.export.filenames.DefaultFilenamePolicy
 
translate(String) - Method in class info.textgrid.utils.export.filenames.DefaultMetaFilenamePolicy
 
translate(String) - Method in interface info.textgrid.utils.export.filenames.IFilenamePolicy
Creates a valid file name part for the given string.

V

value() - Method in enum info.textgrid._import.ReplaceMethod
 
value() - Method in enum info.textgrid._import.RevisionPolicyType
 
value() - Method in enum info.textgrid._import.RewriteMethod
 
valueOf(String) - Static method in enum info.textgrid._import.ReplaceMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum info.textgrid._import.RevisionPolicyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum info.textgrid._import.RewriteMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum info.textgrid._import.ReplaceMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum info.textgrid._import.RevisionPolicyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum info.textgrid._import.RewriteMethod
Returns an array containing the constants of this enum type, in the order they are declared.

X

xmlConfiguration - Variable in class info.textgrid._import.ImportSpec
 
XmlConfiguration - Class in info.textgrid._import
Java class for anonymous complex type.
XmlConfiguration() - Constructor for class info.textgrid._import.XmlConfiguration
 
XmlConfiguration.ProcessingInstruction - Class in info.textgrid._import
Java class for anonymous complex type.
XMLLinkRewriter - Class in info.textgrid.utils.linkrewriter
 
XMLLinkRewriter(ImportMapping, boolean) - Constructor for class info.textgrid.utils.linkrewriter.XMLLinkRewriter
 

_

_import - Variable in class info.textgrid._import.RevisionPolicy
 
A C D E F G I L M N O P R S T V X _ 
Skip navigation links

Copyright © 2017 TextGrid. All rights reserved.