Class XSLTService


  • public class XSLTService
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ROOT_PATH  
      static java.lang.String TIK_PATH  
      static java.lang.String XML_PATH  
      static java.lang.String XSLT_PATH  
    • Constructor Summary

      Constructors 
      Constructor Description
      XSLTService()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void exportStructureToXml​(java.lang.String structureFile, Structure<Vertex,​Edge> structure)  
      static void runXSLTTransform​(java.lang.String inputFile, java.lang.String outputTexFile, java.lang.String xsltFile)  
      static void runXSLTTransformGraphIterations​(java.lang.String inputFile, java.lang.String outputTexFile)  
      static void runXSLTTransformTable​(java.lang.String inputFile, java.lang.String outputTexFile)  
      static void xmlToTex​(java.lang.String outputXml, java.lang.String outputTexFile)  
      static void xsltTransform​(java.lang.String inputFile, java.lang.String outputFile, java.lang.String xsltFile)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XSLTService

        public XSLTService()
    • Method Detail

      • runXSLTTransform

        public static void runXSLTTransform​(java.lang.String inputFile,
                                            java.lang.String outputTexFile,
                                            java.lang.String xsltFile)
                                     throws javax.xml.transform.TransformerException,
                                            java.io.IOException
        Throws:
        javax.xml.transform.TransformerException
        java.io.IOException
      • xsltTransform

        public static void xsltTransform​(java.lang.String inputFile,
                                         java.lang.String outputFile,
                                         java.lang.String xsltFile)
                                  throws javax.xml.transform.TransformerException
        Throws:
        javax.xml.transform.TransformerException
      • xmlToTex

        public static void xmlToTex​(java.lang.String outputXml,
                                    java.lang.String outputTexFile)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • exportStructureToXml

        public static void exportStructureToXml​(java.lang.String structureFile,
                                                Structure<Vertex,​Edge> structure)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • runXSLTTransformGraphIterations

        public static void runXSLTTransformGraphIterations​(java.lang.String inputFile,
                                                           java.lang.String outputTexFile)
                                                    throws javax.xml.transform.TransformerException,
                                                           java.io.IOException
        Throws:
        javax.xml.transform.TransformerException
        java.io.IOException
      • runXSLTTransformTable

        public static void runXSLTTransformTable​(java.lang.String inputFile,
                                                 java.lang.String outputTexFile)
                                          throws javax.xml.transform.TransformerException,
                                                 java.io.IOException
        Throws:
        javax.xml.transform.TransformerException
        java.io.IOException