Class DoctypeToFacetTranslator

    • Field Detail

      • docType

        protected final String docType
      • newDocType

        protected final String newDocType
      • facet

        protected final String facet
    • Constructor Detail

      • DoctypeToFacetTranslator

        public DoctypeToFacetTranslator​(String docType,
                                        String newDocType,
                                        String facet)
    • Method Detail

      • transform

        public boolean transform​(ExportedDocument xdoc)
                          throws IOException
        Description copied from interface: DocumentTransformer
        Transforms the given document and returns true to pass to the next transformer or false to exit from the transformation chain.
        Specified by:
        transform in interface DocumentTransformer
        Parameters:
        xdoc - the document to transform
        Returns:
        true to continue with the next transformer or false to exit transformation chain
        Throws:
        IOException