de.schlund.pfixxml |
|
Java Source File Name | Type | Comment |
AbstractContextServletFilter.java | Class | Abstract base class that can be used to derive a servlet filter that is aware
of Pustefix's
Context object. |
AbstractXMLServlet.java | Class | This class is at the top of the XML/XSLT System.
It serves as an abstract parent class for all servlets
needing access to the XML/XSL cache system povided by
de.schlund.pfixxml.TargetGenerator.
Servlets inheriting from this class need to implement
getDom(HttpServletRequest req, HttpServletResponse res)
which returns a SPDocument.
|
AppContext.java | Interface | |
CacheStatisticServlet.java | Class | |
CacheValueLRUTest.java | Class | |
ConfigurableObject.java | Interface | Classes which will get managed by the PropertyObjectManager have to implement
this interface. |
ContextXMLServlet.java | Class | |
DependencyTracker.java | Class | |
DependencyTrackerSaxon1.java | Class | |
DependencyTrackerSaxon2.java | Class | |
DerefServlet.java | Class | This class implements a "Dereferer" servlet to get rid of Referer
headers. |
DirectOutputServlet.java | Class | The DirectOutputServlet is a servlet that hijacks the
de.schlund.pfixcore.workflow.Context of a
comapnion ContextXMLServlet that runs in the same servlet session.
It has no Context of it's own, but rather makes all the work itself, as
there is no PageFlow handling involved.
Instead of
de.schlund.pfixcore.workflow.State s (as the Context of a ContextXMLServlet
does) this kind of Servlet uses so called
DirectOutputStates . |
DocrootServlet.java | Class | In standalone mode this servlet serves the static files from the docroot.
In all modes, it serves files from the webapplication directory below
/xml because they would usually be masked by the files within the docroot. |
FactoryInitException.java | Class | |
FactoryInitServlet.java | Class | This Servlet is just there to have it's init method called on startup of the
VM. |
FactoryInitUtil.java | Class | |
ImageGeometry.java | Class | |
ImageGeometryData.java | Class | |
ImageInfo.java | Class | Get file format, image resolution, number of bits per pixel and optionally
number of images from
JPEG, GIF, BMP, PCX, PNG, IFF, RAS, PBM, PGM, PPM and PSD files
(or input streams).
Use the class like this:
ImageInfo ii = new ImageInfo();
ii.setInput(in); // in can be InputStream or RandomAccessFile
ii.setDetermineImageNumber(true); // default is false
if (!ii.check()) {
System.err.println("Not a supported image file format.");
} else {
System.out.println(ii.getFormatName() + ", " + ii.getMimeType() +
", " + ii.getWidth() + " x " + ii.getHeight() + " pixels, " +
ii.getBitsPerPixel() + " bits per pixel, " + ii.getNumberOfImages() +
" image(s).");
}
You can also use this class as a command line program.
Call it with a number of image file names as parameters:
java ImageInfo *.jpg *.png *.gif
or call it without parameters and pipe data to it:
cat image.jpg | java ImageInfo
Known limitations:
- When the determination of the number of images is turned off, GIF bits
per pixel are only read from the global header.
For some GIFs, local palettes change this to a typically larger
value.
|
ImageThemedSrc.java | Class | Describe class ImageThemedSrc here. |
ImageThemedSrcSaxon1.java | Class | |
ImageThemedSrcSaxon2.java | Class | |
IncludeDocument.java | Class | IncludeDocument.java
Created: 20021031
author: Joerg Haecker author: This class encapsulates an include-module of the PUSTEFIX-system. author: A IncludeDocument stores a Document created from a file. |
IncludeDocumentExtension.java | Class | IncludeDocumentExtension.java
author: Jens Lautenbacher author: Joerg Haecker author: This class is responsible to return the requested parts of anIncludeDocument author: . |
IncludeDocumentExtensionSaxon1.java | Class | |
IncludeDocumentExtensionSaxon2.java | Class | |
IncludeDocumentFactory.java | Class | IncludeDocumentFactory.java
Created: 20021029
author: Joerg Haecker author: This class realises the factory and the singleton pattern. |
JmxPortServlet.java | Class | |
PathFactory.java | Class | Describe class PathFactory here. |
PfixServletRequest.java | Interface | |
PfixServletRequestImpl.java | Class | This class is an abstraction of a servlet request. |
ProjectInitFactory.java | Class | Initializes the TargetGenerators of the projects on server startup. |
PropertyObject.java | Interface | Classes which will get managed by the PropertyObjectManager have to implement
this interface. |
PropertyObjectManager.java | Class | This class manages shared objects, which are build from properties. |
RenderingException.java | Class | Signals an error that occured while AbstractXMLServlet was trying to render
a page. |
RequestParam.java | Interface | |
RequestParamType.java | Class | |
ResultDocument.java | Class | |
ServerContextStore.java | Class | Stores context instances within a servlet context. |
ServletManager.java | Class | |
ServletManagerCompat.java | Class | This servlet is a compatibility layer for legacy servlets based on the old
ServletManager. |
SessionCleaner.java | Class | The SessionCleaner class is used to remove stored SPDocuments from the session
after a timout. |
SessionContextStore.java | Class | Stores context instances within a session. |
SimpleRequestParam.java | Class | |
SPDocument.java | Class | |
Variant.java | Class | Describe class Variant here. |
XMLException.java | Class | |