Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
What Is fop.jar in fop-2.7-bin.zip
What Is fop.jar? I got it from the fop-2.7-bin.zip.
✍: FYIcenter.com
fop.jar in fop-2.7-bin.zip is the JAR file for FOP 2.7, which is a print formatter driven by XSL formatting objects (XSL-FO). You can obtain fop.jar from the build folder of the fop-2.7-bin.zip file.
Below is the information about the fop.jar (2.2) file:
JAR File Size and Download Location:
JAR name: fop.jar, fop-2.7.jar Target JDK version: 1.7 File name: fop.jar File size: 4442817 bytes Release date: 20-Jan-2022 Download: Apache FOP Website
Java source code files for fop.jar:
⏎ org/apache/fop/accessibility/StructureTree2SAXEventAdapter.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* $Id$ */ package org.apache.fop.accessibility; import java.util.Locale; import org.xml.sax.Attributes; import org.xml.sax.ContentHandler; import org.xml.sax.SAXException; import org.xml.sax.helpers.AttributesImpl; import org.apache.fop.fo.FOElementMapping; import org.apache.fop.fo.extensions.ExtensionElementMapping; import org.apache.fop.fo.extensions.InternalElementMapping; import org.apache.fop.render.intermediate.IFConstants; import org.apache.fop.util.XMLConstants; /** * Converts structure tree events to SAX events. */ public final class StructureTree2SAXEventAdapter implements StructureTreeEventHandler { private final ContentHandler contentHandler; private StructureTree2SAXEventAdapter(ContentHandler currentContentHandler) { this.contentHandler = currentContentHandler; } /** * Factory method that creates a new instance. * @param contentHandler The handler that receives SAX events * @return - */ public static StructureTreeEventHandler newInstance(ContentHandler contentHandler) { return new StructureTree2SAXEventAdapter(contentHandler); } /** {@inheritDoc} */ public void startPageSequence(Locale locale, String role) { try { AttributesImpl attributes = new AttributesImpl(); if (role != null) { attributes.addAttribute("", "type", "type", XMLConstants.CDATA, role); } contentHandler.startPrefixMapping( InternalElementMapping.STANDARD_PREFIX, InternalElementMapping.URI); contentHandler.startPrefixMapping( ExtensionElementMapping.STANDARD_PREFIX, ExtensionElementMapping.URI); contentHandler.startElement(IFConstants.NAMESPACE, IFConstants.EL_STRUCTURE_TREE, IFConstants.EL_STRUCTURE_TREE, attributes); } catch (SAXException e) { throw new RuntimeException(e); } } /** {@inheritDoc} */ public void endPageSequence() { try { contentHandler.endElement(IFConstants.NAMESPACE, IFConstants.EL_STRUCTURE_TREE, IFConstants.EL_STRUCTURE_TREE); contentHandler.endPrefixMapping( ExtensionElementMapping.STANDARD_PREFIX); contentHandler.endPrefixMapping( InternalElementMapping.STANDARD_PREFIX); } catch (SAXException e) { throw new RuntimeException(e); } } /** {@inheritDoc} */ public StructureTreeElement startNode(String name, Attributes attributes, StructureTreeElement parent) { try { if (name.equals("#PCDATA")) { name = "marked-content"; contentHandler.startElement(IFConstants.NAMESPACE, name, name, attributes); } else { contentHandler.startElement(FOElementMapping.URI, name, FOElementMapping.STANDARD_PREFIX + ":" + name, attributes); } return null; } catch (SAXException e) { throw new RuntimeException(e); } } /** {@inheritDoc} */ public void endNode(String name) { try { contentHandler.endElement(FOElementMapping.URI, name, FOElementMapping.STANDARD_PREFIX + ":" + name); } catch (SAXException e) { throw new RuntimeException(e); } } /** {@inheritDoc} */ public StructureTreeElement startImageNode(String name, Attributes attributes, StructureTreeElement parent) { return startNode(name, attributes, null); } /** {@inheritDoc} */ public StructureTreeElement startReferencedNode(String name, Attributes attributes, StructureTreeElement parent) { return startNode(name, attributes, null); } }
⏎ org/apache/fop/accessibility/StructureTree2SAXEventAdapter.java
Or download all of them as a single archive file:
File name: fop-2.7-src.zip File size: 3401312 bytes Release date: 2022-01-20 Download
⇒ "fop" Command in fop-2.7-bin.zip
2016-07-07, 73350👍, 0💬
Popular Posts:
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms, it was develo...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
JRE 8 plugin.jar is the JAR file for JRE 8 Java Control Panel Plugin interface and tools. JRE (Java ...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...