|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FOValidationEventProducer
Event producer interface for XSL-FO validation messages.
| Nested Class Summary | |
|---|---|
static class |
FOValidationEventProducer.Provider
Provider class for the event producer. |
| Method Summary | |
|---|---|
void |
altTextMissing(java.lang.Object source,
java.lang.String foElement,
org.xml.sax.Locator loc)
Alternate text is missing for a graphic element. |
void |
colorProfileNameNotUnique(java.lang.Object source,
java.lang.String elementName,
java.lang.String name,
org.xml.sax.Locator loc)
There are multiple color profiles defined with the same name. |
void |
columnCountErrorOnRegionBodyOverflowScroll(java.lang.Object source,
java.lang.String elementName,
org.xml.sax.Locator loc)
If overflow property is set to "scroll", a column-count other than "1" may not be specified. |
void |
duplicateFlowNameInPageSequence(java.lang.Object source,
java.lang.String elementName,
java.lang.String flowName,
org.xml.sax.Locator loc)
There are multiple flows with the same name. |
void |
emptyDocument(java.lang.Object source)
No FO document was found. |
void |
flowNameNotMapped(java.lang.Object source,
java.lang.String elementName,
java.lang.String flowName,
org.xml.sax.Locator loc)
A flow name could not be mapped to a region. |
void |
idNotUnique(java.lang.Object source,
java.lang.String elementName,
java.lang.String id,
boolean canRecover,
org.xml.sax.Locator loc)
An id was used twice in a document. |
void |
illegalRegionName(java.lang.Object source,
java.lang.String elementName,
java.lang.String regionName,
org.xml.sax.Locator loc)
An illegal region name was used. |
void |
invalidChild(java.lang.Object source,
java.lang.String elementName,
org.apache.xmlgraphics.util.QName offendingNode,
java.lang.String ruleViolated,
org.xml.sax.Locator loc)
An invalid child was encountered. |
void |
invalidFORoot(java.lang.Object source,
java.lang.String elementName,
org.xml.sax.Locator loc)
fo:root must be root. |
void |
invalidProperty(java.lang.Object source,
java.lang.String elementName,
org.apache.xmlgraphics.util.QName attr,
boolean canRecover,
org.xml.sax.Locator loc)
An invalid property was found. |
void |
invalidPropertyValue(java.lang.Object source,
java.lang.String elementName,
java.lang.String propName,
java.lang.String propValue,
PropertyException e,
org.xml.sax.Locator loc)
An invalid property value was encountered. |
void |
markerBlockContainerAbsolutePosition(java.lang.Object source,
org.xml.sax.Locator loc)
An fo:marker appears as initial descendant in an fo:block-container that generates absolutely positioned areas |
void |
markerCloningFailed(java.lang.Object source,
java.lang.String markerClassName,
FOPException fe,
org.xml.sax.Locator loc)
Indicates a problem while cloning a marker (ex. |
void |
markerNotInitialChild(java.lang.Object source,
java.lang.String elementName,
java.lang.String mcname,
org.xml.sax.Locator loc)
A marker is not an initial child on a node. |
void |
markerNotUniqueForSameParent(java.lang.Object source,
java.lang.String elementName,
java.lang.String mcname,
org.xml.sax.Locator loc)
A marker class name is not unique within the same parent. |
void |
masterNameNotUnique(java.lang.Object source,
java.lang.String elementName,
java.lang.String name,
org.xml.sax.Locator loc)
There are multiple page masters defined with the same name. |
void |
masterNotFound(java.lang.Object source,
java.lang.String elementName,
java.lang.String masterReference,
org.xml.sax.Locator loc)
A page master could not be found. |
void |
missingChildElement(java.lang.Object source,
java.lang.String elementName,
java.lang.String contentModel,
boolean canRecover,
org.xml.sax.Locator loc)
A required child element is missing. |
void |
missingLinkDestination(java.lang.Object source,
java.lang.String elementName,
org.xml.sax.Locator loc)
Missing internal-/external-destination on basic-link or bookmark. |
void |
missingProperty(java.lang.Object source,
java.lang.String elementName,
java.lang.String propertyName,
org.xml.sax.Locator loc)
An element is missing a required property. |
void |
nodeOutOfOrder(java.lang.Object source,
java.lang.String elementName,
java.lang.String tooLateNode,
java.lang.String tooEarlyNode,
boolean canRecover,
org.xml.sax.Locator loc)
The node order is wrong. |
void |
nonZeroBorderPaddingOnRegion(java.lang.Object source,
java.lang.String elementName,
java.lang.String regionName,
boolean canRecover,
org.xml.sax.Locator loc)
A non-zero border and/or padding has been encountered on a region. |
void |
regionNameMappedToMultipleRegionClasses(java.lang.Object source,
java.lang.String regionName,
java.lang.String defaultRegionClass1,
java.lang.String defaultRegionClass2,
org.xml.sax.Locator loc)
A region name is mapped to multiple region classes. |
void |
tooManyNodes(java.lang.Object source,
java.lang.String elementName,
org.apache.xmlgraphics.util.QName offendingNode,
org.xml.sax.Locator loc)
Too many child nodes. |
void |
unimplementedFeature(java.lang.Object source,
java.lang.String elementName,
java.lang.String feature,
org.xml.sax.Locator loc)
A feature is not supported, yet. |
void |
unknownFormattingObject(java.lang.Object source,
java.lang.String elementName,
org.apache.xmlgraphics.util.QName offendingNode,
org.xml.sax.Locator loc)
An unknown/unsupported formatting object has been encountered. |
| Method Detail |
|---|
void tooManyNodes(java.lang.Object source,
java.lang.String elementName,
org.apache.xmlgraphics.util.QName offendingNode,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeoffendingNode - the offending nodeloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void nodeOutOfOrder(java.lang.Object source,
java.lang.String elementName,
java.lang.String tooLateNode,
java.lang.String tooEarlyNode,
boolean canRecover,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodetooLateNode - string name of node that should be earlier in documenttooEarlyNode - string name of node that should be later in documentcanRecover - indicates whether FOP can recover from this problem and continue workingloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void invalidChild(java.lang.Object source,
java.lang.String elementName,
org.apache.xmlgraphics.util.QName offendingNode,
java.lang.String ruleViolated,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeoffendingNode - the offending noderuleViolated - the rule that was violated or nullloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void missingChildElement(java.lang.Object source,
java.lang.String elementName,
java.lang.String contentModel,
boolean canRecover,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodecontentModel - the expected content modelcanRecover - indicates whether FOP can recover from this problem and continue workingloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void missingProperty(java.lang.Object source,
java.lang.String elementName,
java.lang.String propertyName,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodepropertyName - the name of the missing propertyloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void idNotUnique(java.lang.Object source,
java.lang.String elementName,
java.lang.String id,
boolean canRecover,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeid - the id that was reusedcanRecover - indicates whether FOP can recover from this problem and continue workingloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void colorProfileNameNotUnique(java.lang.Object source,
java.lang.String elementName,
java.lang.String name,
org.xml.sax.Locator loc)
source - the event sourceelementName - the name of the context nodename - the duplicate color profile nameloc - the location of the error or null
void masterNameNotUnique(java.lang.Object source,
java.lang.String elementName,
java.lang.String name,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodename - the duplicate page master nameloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void markerBlockContainerAbsolutePosition(java.lang.Object source,
org.xml.sax.Locator loc)
source - the event sourceloc - the location of the error (possibly null)
void markerNotInitialChild(java.lang.Object source,
java.lang.String elementName,
java.lang.String mcname,
org.xml.sax.Locator loc)
source - the event sourceelementName - the name of the context nodemcname - the marker class nameloc - the location of the error or null
void markerNotUniqueForSameParent(java.lang.Object source,
java.lang.String elementName,
java.lang.String mcname,
org.xml.sax.Locator loc)
source - the event sourceelementName - the name of the context nodemcname - the marker class nameloc - the location of the error or null
void invalidProperty(java.lang.Object source,
java.lang.String elementName,
org.apache.xmlgraphics.util.QName attr,
boolean canRecover,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeattr - the invalid attributecanRecover - indicates whether FOP can recover from this problem and continue workingloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void invalidPropertyValue(java.lang.Object source,
java.lang.String elementName,
java.lang.String propName,
java.lang.String propValue,
PropertyException e,
org.xml.sax.Locator loc)
source - the event sourceelementName - the name of the context nodepropName - the property namepropValue - the property valuee - the property exception caused by the invalid valueloc - the location of the error or null
void unimplementedFeature(java.lang.Object source,
java.lang.String elementName,
java.lang.String feature,
org.xml.sax.Locator loc)
source - the event sourceelementName - the name of the context nodefeature - the unsupported featureloc - the location of the error or null
void missingLinkDestination(java.lang.Object source,
java.lang.String elementName,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void markerCloningFailed(java.lang.Object source,
java.lang.String markerClassName,
FOPException fe,
org.xml.sax.Locator loc)
source - the event sourcemarkerClassName - the "marker-class-name" of the markerfe - the FOP exception that cause this problemloc - the location of the error or null
void regionNameMappedToMultipleRegionClasses(java.lang.Object source,
java.lang.String regionName,
java.lang.String defaultRegionClass1,
java.lang.String defaultRegionClass2,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceregionName - the region namedefaultRegionClass1 - the first default region classdefaultRegionClass2 - the second default region classloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void duplicateFlowNameInPageSequence(java.lang.Object source,
java.lang.String elementName,
java.lang.String flowName,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeflowName - the flow nameloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void flowNameNotMapped(java.lang.Object source,
java.lang.String elementName,
java.lang.String flowName,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeflowName - the flow nameloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void masterNotFound(java.lang.Object source,
java.lang.String elementName,
java.lang.String masterReference,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodemasterReference - the page master referenceloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void illegalRegionName(java.lang.Object source,
java.lang.String elementName,
java.lang.String regionName,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context noderegionName - the region nameloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void nonZeroBorderPaddingOnRegion(java.lang.Object source,
java.lang.String elementName,
java.lang.String regionName,
boolean canRecover,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context noderegionName - the region namecanRecover - indicates whether FOP can recover from this problem and continue workingloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void columnCountErrorOnRegionBodyOverflowScroll(java.lang.Object source,
java.lang.String elementName,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void invalidFORoot(java.lang.Object source,
java.lang.String elementName,
org.xml.sax.Locator loc)
throws ValidationException
source - the event sourceelementName - the name of the context nodeloc - the location of the error or null
ValidationException - the validation error provoked by the method call
void emptyDocument(java.lang.Object source)
throws ValidationException
source - the event source
ValidationException - the validation error provoked by the method call
void unknownFormattingObject(java.lang.Object source,
java.lang.String elementName,
org.apache.xmlgraphics.util.QName offendingNode,
org.xml.sax.Locator loc)
source - the event sourceelementName - the name of the context nodeoffendingNode - the offending nodeloc - the location of the error or null
void altTextMissing(java.lang.Object source,
java.lang.String foElement,
org.xml.sax.Locator loc)
source - the event sourcefoElement - name of the element (external-graphic or instream-foreign-object)loc - the location of the error or null
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||