rdftemplate

Library for generating XML documents from RDF data using templates
git clone https://code.djc.id.au/git/rdftemplate/
ModeNameSize
-rw-r--r--COPYING674L
-rw-r--r--README.markdown20L
-rw-r--r--pom.xml178L
-rw-r--r--src/doc/sphinx/_static/default.css88L
-rw-r--r--src/doc/sphinx/_templates/layout.html70L
-rw-r--r--src/doc/sphinx/_templates/localtoc.html6L
-rw-r--r--src/doc/sphinx/_templates/searchbox.html12L
-rw-r--r--src/doc/sphinx/conf.py175L
-rw-r--r--src/doc/sphinx/example-graph.rst.inc20L
-rw-r--r--src/doc/sphinx/index.rst56L
-rw-r--r--src/doc/sphinx/selector.rst296L
-rw-r--r--src/doc/sphinx/spring.rst43L
-rw-r--r--src/doc/sphinx/xml-template.rst269L
-rw-r--r--src/main/antlr3/au/id/djc/rdftemplate/selector/Selector.g215L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/ContentAction.java68L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/ForAction.java55L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/IfAction.java46L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/JoinAction.java64L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/TemplateAction.java5L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/TemplateInterpolationException.java23L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/TemplateInterpolator.java490L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/TemplateSyntaxException.java22L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/XMLStream.java43L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/datatype/DateDataType.java112L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/datatype/DateTimeDataType.java98L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/datatype/Year.java50L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/datatype/YearMonth.java58L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/html/XHTMLEventConsumer.java67L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/AbstractAdaptation.java58L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/AbstractSelector.java40L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/Adaptation.java15L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/AdaptationFactory.java9L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/AntlrSelectorFactory.java48L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/BooleanAndPredicate.java34L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/ComparableLiteralValueAdaptation.java22L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/DefaultAdaptationFactory.java36L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/DefaultPredicateResolver.java19L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/EternallyCachingSelectorFactory.java35L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/FormattedDateTimeAdaptation.java49L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/InvalidSelectorSyntaxException.java15L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/LanguageAdaptation.java67L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/LiteralValueAdaptation.java16L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/NoopSelector.java19L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/Predicate.java7L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/PredicateResolver.java7L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/Selector.java17L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/SelectorComparator.java58L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/SelectorEvaluationException.java15L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/SelectorFactory.java7L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/SelectorWithAdaptation.java48L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/StringLiteralValueAdaptation.java45L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/Traversal.java126L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/TraversingSelector.java46L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/TypePredicate.java46L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/UnionSelector.java45L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/UriAdaptation.java16L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/UriAnchorAdaptation.java24L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/UriPrefixPredicate.java26L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/selector/UriSliceAdaptation.java28L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/view/RDFTemplateView.java76L
-rw-r--r--src/main/java/au/id/djc/rdftemplate/view/RDFTemplateViewResolver.java54L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/TemplateInterpolatorHtmlCompatibleUnitTest.java47L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/TemplateInterpolatorUnitTest.java150L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/TestNamespacePrefixMap.java32L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/datatype/DateDataTypeUnitTest.java35L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/datatype/DateTimeDataTypeUnitTest.java34L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/datatype/YearMonthUnitTest.java24L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/datatype/YearUnitTest.java24L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/AdaptationMatcher.java36L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/BeanPropertyMatcher.java56L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/EternallyCachingSelectorFactoryUnitTest.java22L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/PredicateMatcher.java34L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/SelectorComparatorMatcher.java25L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/SelectorEvaluationUnitTest.java238L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/SelectorMatcher.java36L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/SelectorParserUnitTest.java206L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/TraversalMatcher.java44L
-rw-r--r--src/test/java/au/id/djc/rdftemplate/selector/UriAnchorAdaptationUnitTest.java23L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/conditional.xml12L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/for-seq.xml10L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/for.xml10L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/join-seq.xml8L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/join.xml8L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/namespaces-no-others.xml3L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/namespaces.xml8L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/nested-anchors.xml8L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/replace-subtree.xml10L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/replace-xml.xml8L
-rw-r--r--src/test/resources/au/id/djc/rdftemplate/test-data.xml170L