Package | Description |
---|---|
org.gramar | |
org.gramar.context | |
org.gramar.exception | |
org.gramar.filestore | |
org.gramar.gramar | |
org.gramar.model | |
org.gramar.platform | |
org.gramar.tag | |
org.gramar.util |
Modifier and Type | Method and Description |
---|---|
IGramarApplicationStatus |
IGramarPlatform.apply(IModel model,
IGramar gramar) |
IGramarApplicationStatus |
IGramarPlatform.apply(IModel model,
IGramar gramar,
IFileStore fileStore) |
IGramarApplicationStatus |
IGramarPlatform.apply(IModel model,
String gramarId) |
IGramarApplicationStatus |
IGramarPlatform.apply(IModel model,
String gramarId,
IFileStore fileStore) |
void |
Apply.apply(String[] args) |
void |
IFileStore.commit(String comment,
IGramarContext context)
Commit to the file store all pending resource changes
|
void |
IFileStore.configure(Properties properties)
Configure the filestore with values from the given properties file.
|
DefinedTag |
IGramarContext.getTagDef(String namespace,
String tagName)
Answers the tag definition with the given name from the extension associated with the given namespace
|
ITagHandler |
IGramarContext.getTagHandler(String namespace,
String tagName)
Answers the tag handler with the given name from the extension associated with the given namespace.
|
ITemplate |
IGramar.getTemplate(String id,
IGramarContext context) |
XPathFunction |
IGramarContext.getXPathFunction(String namespace,
String name,
int arity)
Answers the xpath function that best matches the given name and arity from the extension associated
with the given namespace
|
ITagHandler |
ITagHandler.glomUsing(SourceRegion region,
IGramarContext context) |
IGramarApplicationStatus |
IGramarApplicationStatus.reApply(IModel model)
Applies the new model using the gramar and platform from the previous gramar application
|
Modifier and Type | Method and Description |
---|---|
DefinedTag |
GramarContext.getTagDef(String namespace,
String tagName) |
ITagHandler |
GramarContext.getTagHandler(String namespace,
String tagName) |
XPathFunction |
GramarContext.getXPathFunction(String namespace,
String name,
int arity) |
Modifier and Type | Class and Description |
---|---|
class |
IllFormedTemplateException |
class |
InvalidGramarException |
class |
InvalidTemplateExtensionException |
class |
MissingRequiredAttributeException |
class |
NamespaceNotDefinedException |
class |
NoFileStoreSpecifiedException |
class |
NoSuchCustomTagException |
class |
NoSuchFileStoreException |
class |
NoSuchGramarException |
class |
NoSuchResourceException |
class |
NoSuchTemplateException |
class |
NoSuchTemplatingExtensionException |
class |
NoSuchXPathFunctionException |
class |
TemplateParseException |
class |
TemplatingExtensionNotDefinedException |
Modifier and Type | Method and Description |
---|---|
void |
FileStore.commit(String comment,
IGramarContext context) |
void |
LocalFileStore.configure(Properties properties) |
void |
FileStore.configure(Properties properties) |
Modifier and Type | Method and Description |
---|---|
ITemplate |
Gramar.getTemplate(String id,
IGramarContext context) |
Modifier and Type | Method and Description |
---|---|
static Document |
DocumentHelper.buildModel(InputStream is) |
static Document |
DocumentHelper.buildModel(String content) |
static Document |
DocumentHelper.fromCsv(InputStream is)
Converts a CSV file into the XML equivalent of that data.
|
static Document |
DocumentHelper.fromTsv(InputStream is)
Converts a TSV file into the XML equivalent of that data.
|
static IModel |
DocumentHelper.modelFromResource(String resource) |
Constructor and Description |
---|
XmlModel(InputStream is)
Construct an IModel from the XML content in the input stream.
|
XmlModel(String source)
Construct an IModel from the XML content in the source string.
|
Modifier and Type | Method and Description |
---|---|
IGramarApplicationStatus |
GramarPlatform.apply(IModel model,
IGramar gramar) |
IGramarApplicationStatus |
GramarPlatform.apply(IModel model,
IGramar gramar,
IFileStore fileStore) |
IGramarApplicationStatus |
GramarPlatform.apply(IModel model,
String gramarId) |
IGramarApplicationStatus |
GramarPlatform.apply(IModel model,
String gramarId,
IFileStore fileStore) |
IGramarApplicationStatus |
GramarApplicationResult.reApply(IModel model) |
Constructor and Description |
---|
SimpleGramarPlatform(Properties props)
Constructor that loads additional extensions as specified in a property file
For example, adding a property "plugin.directory.1=common/gramars" in the property file
would result in a FileSystemPluginSource being added for directory common/gramars.
|
Modifier and Type | Method and Description |
---|---|
static TagDocument |
TagDocument.build(String source,
IGramarContext context) |
ITagHandler |
TagHandler.glomUsing(SourceRegion region,
IGramarContext context) |
Modifier and Type | Method and Description |
---|---|
String |
PropertiesHelper.getString(String propertyName)
Returns the value of the given property name as specified in either the
command line arguments or the specified property file.
|
Constructor and Description |
---|
PropertiesHelper(String[] args) |
Copyright © 2015. All rights reserved.