A B D E G H I M N P R S T X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractXPathAction<T> - Class in gov.nist.secauto.decima.xml.templating.document.post.template
-
This abstract implementation provides basic XPath query support for
Action
implementations that handle specific action operations. - AbstractXPathAction(XPathFactory, String, Filter<T>, Map<String, String>) - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.AbstractXPathAction
-
Construct a new AbstractXPathAction based on an XPath string, a JDOM
Filter<T>
using the provided namespace map to map XML prefixes to namespaces. - Action - Interface in gov.nist.secauto.decima.xml.templating.document.post.template
-
This interface represents an action that can be performed on an XML template to make modifications to the underlying XML instance data.
- ActionException - Exception in gov.nist.secauto.decima.xml.templating.document.post.template
- ActionException(String) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.ActionException
- ActionException(String, Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.ActionException
- ActionException(Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.ActionException
- ActionProcessingException - Exception in gov.nist.secauto.decima.xml.templating.document.post.template
- ActionProcessingException(String) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.ActionProcessingException
- ActionProcessingException(String, Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.ActionProcessingException
- ActionProcessingException(Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.ActionProcessingException
- addAction(Action) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
- addActions(Collection<? extends Action>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
- AddAttributeAction - Class in gov.nist.secauto.decima.xml.templating.document.post.template
-
Adds a new XML attribute to an exiting element.
- AddAttributeAction(XPathFactory, String, Map<String, String>, String, String, String) - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.AddAttributeAction
-
Construct a new AddAttributeAction based on an XPath string using the provided map to map XML prefixes to namespaces.
B
- build() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
-
Create a new TemplateProcessor based on the information provided by this builder.
- buildAddAction(TemplateProcessorBuilder, Element) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- buildDeleteAction(TemplateProcessorBuilder, Element) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- buildInsertChildAction(TemplateProcessorBuilder, Element) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- buildInsertSiblingAction(TemplateProcessorBuilder, Element) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- buildModifyAttributeAction(TemplateProcessorBuilder, Element) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- buildReplaceAction(TemplateProcessorBuilder, Element) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- buildTemplate(Element, URL) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
D
- DefaultTemplateProcessor - Class in gov.nist.secauto.decima.xml.templating.document.post.template
- DefaultTemplateProcessor(URL, URL, List<Action>) - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.DefaultTemplateProcessor
-
Construct a new XML template processor.
- DeleteAction - Class in gov.nist.secauto.decima.xml.templating.document.post.template
-
Deletes elements and/or attributes from an XML document based on the nodes returned by an XPath query.
- DeleteAction(XPathFactory, String, Map<String, String>) - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.DeleteAction
-
Construct a new DeleteAction based on an XPath string using the provided map to map XML prefixes to namespaces.
E
- execute(Document) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.AbstractXPathAction
- execute(Document) - Method in interface gov.nist.secauto.decima.xml.templating.document.post.template.Action
-
Apply the action to an XML document, making the required modifications.
G
- generate(ResourceResolver<MutableXMLDocument>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.DefaultTemplateProcessor
- generate(ResourceResolver<MutableXMLDocument>) - Method in interface gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessor
-
Creates a resulting
Template
by processing a set ofAction
transforms against a base template. - getActions() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.DefaultTemplateProcessor
- getActions() - Method in interface gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessor
-
Retrieves the sequence of actions to be applied to the template.
- getActions() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
- getBaseTemplateURL() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.DefaultTemplateProcessor
- getBaseTemplateURL() - Method in interface gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessor
-
Retrieve the URL for the base template that is used for the transformations.
- getContentNodes() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.InsertChildAction
-
Retrieves the elements to insert.
- getContentNodes() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.InsertSiblingAction
-
Retrieves the elements to insert.
- getContentNodes() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.ReplaceAction
-
Retrieves the elements to use as the replacement.
- getContextSystemId() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.DefaultTemplateProcessor
- getContextSystemId() - Method in interface gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessor
- getContextSystemId() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
- getIndex() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.InsertChildAction
-
Retrieves the zero-based index position for which new nodes will be inserted.
- getInstance() - Static method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- getName() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.AddAttributeAction
-
Retrieve the name of the new attribute.
- getNamespace() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.AddAttributeAction
-
Retrieve the namespace URI to use for the new attribute.
- getTemplateURL() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
- getValue() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.AddAttributeAction
-
Retrieve the new attribute's value.
- getValue() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.ModifyAttributeAction
-
Retrieve the new attribute value to use when making the modification.
- getXMLOutputter() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.DefaultTemplateProcessor
- getXpath() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.AbstractXPathAction
- getXpath() - Method in interface gov.nist.secauto.decima.xml.templating.document.post.template.XPathAction
-
Retrieves the compiled XPath expression.
- getXpathfactory() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- gov.nist.secauto.decima.xml.templating.document.post.template - package gov.nist.secauto.decima.xml.templating.document.post.template
-
Provides template-based post-processing of XML documents based on a simple XML-based template structure.
- gov.nist.secauto.decima.xml.templating.services - package gov.nist.secauto.decima.xml.templating.services
-
Provides an extension point for resolving resources related to XML templating.
H
- handles(MutableXMLDocument) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplatePostProcessor
I
- InsertChildAction - Class in gov.nist.secauto.decima.xml.templating.document.post.template
-
Inserts new child elements within existing elements returned by an XPath query over an XML document.
- InsertChildAction(XPathFactory, String, Map<String, String>, List<Element>, Integer) - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.InsertChildAction
-
Construct a new InsertChildAction based on an XPath string using the provided map to map XML prefixes to namespaces within the XPath.
- InsertSiblingAction - Class in gov.nist.secauto.decima.xml.templating.document.post.template
-
Inserts new sibling elements adjacent to existing elements returned by an XPath query over an XML document.
- InsertSiblingAction(XPathFactory, String, Map<String, String>, List<Element>, boolean) - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.InsertSiblingAction
-
Construct a new InsertSiblingAction based on an XPath string using the provided map to map XML prefixes to namespaces within the XPath.
- InvalidXPathActionException - Exception in gov.nist.secauto.decima.xml.templating.document.post.template
- InvalidXPathActionException(String) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.InvalidXPathActionException
- InvalidXPathActionException(String, Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.InvalidXPathActionException
- InvalidXPathActionException(Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.InvalidXPathActionException
- isBefore() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.InsertSiblingAction
-
Retrieves a boolean value that indicates if inserted sibling elements should be inserted before (
true
) or after (false
) each element returned by evaluating the XPath expression. - isIgnoreWhitespace() - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.InsertChildAction
M
- ModifyAttributeAction - Class in gov.nist.secauto.decima.xml.templating.document.post.template
-
Modifies existing attribute values returned by an XPath query over an XML document.
- ModifyAttributeAction(XPathFactory, String, Map<String, String>, String) - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.ModifyAttributeAction
-
Construct a new ModifyAttributeAction based on an XPath string using the provided map to map XML prefixes to namespaces within the XPath.
N
- newTemplateProcessor(XMLDocument) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplatePostProcessor
- NoXPathResultsActionException - Exception in gov.nist.secauto.decima.xml.templating.document.post.template
- NoXPathResultsActionException(String) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.NoXPathResultsActionException
- NoXPathResultsActionException(String, Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.NoXPathResultsActionException
- NoXPathResultsActionException(Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.NoXPathResultsActionException
P
- parse(XMLDocument) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- parse(InputStream, URL) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
-
Parse an XML document as a Decima template.
- parse(Element, URL) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
-
Parse an XML element as a Decima template.
- process(MutableXMLDocument, ResourceResolver<MutableXMLDocument>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplatePostProcessor
- process(List<Object>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.DeleteAction
-
Deletes any elements or attributes returned by the XPath expression.
- process(List<Attribute>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.ModifyAttributeAction
-
Modifies attribute values based on the provided XPath results.
- process(List<Element>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.AddAttributeAction
-
Appends an attribute to each resulting
Element
. - process(List<Element>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.InsertChildAction
-
Inserts the child elements based on the provided XPath results.
- process(List<Element>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.InsertSiblingAction
-
Inserts the sibling elements based on the provided XPath results.
- process(List<Element>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.ReplaceAction
-
Replaces existing elements based on the provided XPath results.
- process(List<T>) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.AbstractXPathAction
-
Perform the implemented action on the provided XPath results.
R
- ReplaceAction - Class in gov.nist.secauto.decima.xml.templating.document.post.template
-
Replaces existing elements returned by an XPath query over an XML document with one or more new elements.
- ReplaceAction(XPathFactory, String, Map<String, String>, List<Element>) - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.ReplaceAction
-
Construct a new ReplaceAction based on an XPath string using the provided map to map XML prefixes to namespaces within the XPath.
- resolveXpath(Document) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.AbstractXPathAction
-
Resolves the XPath expression against the provided document, returning the nodeset.
S
- setContextSystemId(URL) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
- setIgnoreWhitespace(boolean) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.InsertChildAction
- setTemplateURL(URL) - Method in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
T
- TEMPLATE_ATTRIBUTE - Static variable in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplatePostProcessor
- TEMPLATE_LOCAL_NAME - Static variable in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- TEMPLATE_LOCAL_NAME - Static variable in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplatePostProcessor
- TEMPLATE_NAMESPACE - Static variable in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParser
- TEMPLATE_NAMESPACE_URI - Static variable in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplatePostProcessor
- TEMPLATE_XPATH - Static variable in class gov.nist.secauto.decima.xml.templating.document.post.template.TemplatePostProcessor
- TemplateParser - Class in gov.nist.secauto.decima.xml.templating.document.post.template
- TemplateParserException - Exception in gov.nist.secauto.decima.xml.templating.document.post.template
- TemplateParserException() - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParserException
- TemplateParserException(String) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParserException
- TemplateParserException(String, Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParserException
- TemplateParserException(String, Throwable, boolean, boolean) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParserException
- TemplateParserException(Throwable) - Constructor for exception gov.nist.secauto.decima.xml.templating.document.post.template.TemplateParserException
- TemplatePostProcessor - Class in gov.nist.secauto.decima.xml.templating.document.post.template
- TemplatePostProcessor() - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.TemplatePostProcessor
- TemplateProcessor - Interface in gov.nist.secauto.decima.xml.templating.document.post.template
-
Represents a template processor that applies a number of
Action
transforms to a template document. - TemplateProcessorBuilder - Class in gov.nist.secauto.decima.xml.templating.document.post.template
- TemplateProcessorBuilder() - Constructor for class gov.nist.secauto.decima.xml.templating.document.post.template.TemplateProcessorBuilder
- TemplatingResourceResolverExtension - Class in gov.nist.secauto.decima.xml.templating.services
- TemplatingResourceResolverExtension() - Constructor for class gov.nist.secauto.decima.xml.templating.services.TemplatingResourceResolverExtension
X
- XPathAction<T> - Interface in gov.nist.secauto.decima.xml.templating.document.post.template
-
Represents classes that make modifications to elements and attributes of an XML instance based on an XPath expression.
All Classes All Packages