Uses of Class org.apache.fop.fo.ValidationException

Uses in package org.apache.fop.render.afp.extensions

Methods which throw type org.apache.fop.fo.ValidationException

void
AbstractAFPExtensionObject.validateChildNode(Locator loc, String nsURI, String localName)

Uses in package org.apache.fop.fo.pagination

Methods which throw type org.apache.fop.fo.ValidationException

void
Add a page sequence master.
void
Add a simple page master.
void
ColorProfile.validateChildNode(Locator loc, String nsURI, String localName)
XSL 1.0/FOP: EMPTY (no child nodes permitted)
void
ConditionalPageMasterReference.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
Declarations.validateChildNode(Locator loc, String nsURI, String localName)
XSL 1.0: (color-profile)+ (and non-XSL NS nodes) FOP/XSL 1.1: (color-profile)* (and non-XSL NS nodes)
void
Flow.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (%block;)+
void
LayoutMasterSet.validateChildNode(Locator loc, String nsURI, String localName)
XSL/FOP: (simple-page-master|page-sequence-master)+
void
PageSequence.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (title?,static-content*,flow)
void
PageSequenceMaster.validateChildNode(Locator loc, String nsURI, String localName)
XSL/FOP: (single-page-master-reference|repeatable-page-master-reference| repeatable-page-master-alternatives)+
void
PageSequenceWrapper.validateChildNode(Locator loc, String nsURI, String localName)
XSL/FOP: (bookmark+)
void
Region.validateChildNode(Locator loc, String nsURI, String localName)
String, String) XSL Content Model: empty
void
RepeatablePageMasterAlternatives.validateChildNode(Locator loc, String nsURI, String localName)
XSL/FOP: (conditional-page-master-reference+)
void
RepeatablePageMasterReference.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
Root.validateChildNode(Locator loc, String nsURI, String localName)
XSL 1.0 Spec: (layout-master-set,declarations?,page-sequence+) FOP: (layout-master-set, declarations?, fox:bookmarks?, page-sequence+)
void
SimplePageMaster.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (region-body,region-before?,region-after?,region-start?,region-end?)
void
SinglePageMasterReference.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
StaticContent.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (%block;)+
void
Title.validateChildNode(Locator loc, String nsURI, String localName)
String, String) XSL/FOP: (#PCDATA|%inline;)*
void
Root.validateChildNode(Locator loc, FONode child)

Uses in package org.apache.fop.fo.extensions

Methods which throw type org.apache.fop.fo.ValidationException

void
ExternalDocument.validateChildNode(Locator loc, String nsURI, String localName)

Uses in package org.apache.fop.fo.flow

Methods which throw type org.apache.fop.fo.ValidationException

void
Override that doesn't convert the attributes to Property instances, but simply stores the attributes for later processing;
void
AbstractListItemPart.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (%block;)+
void
AbstractPageNumberCitation.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
BasicLink.validateChildNode(Locator loc, String nsURI, String localName)
String, String) XSL Content Model: marker* (#PCDATA|%inline;|%block;)*
void
BidiOverride.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (#PCDATA|%inline;|%block;)* Additionally: "An fo:bidi-override that is a descendant of an fo:leader or of the fo:inline child of an fo:footnote may not have block-level children, unless it has a nearer ancestor that is an fo:inline-container."
void
Block.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* initial-property-set? (#PCDATA|%inline;|%block;)* Additionally: "An fo:bidi-override that is a descendant of an fo:leader or of the fo:inline child of an fo:footnote may not have block-level children, unless it has a nearer ancestor that is an fo:inline-container."
void
BlockContainer.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (%block;)+ But: "In addition an fo:block-container that does not generate an absolutely positioned area may have a sequence of zero or more fo:markers as its initial children."
void
Character.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
ExternalGraphic.validateChildNode(Locator loc, String nsURI, String localName)

XSL Content Model: empty
void
Float.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (%block;)+
void
Footnote.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (inline,footnote-body)
void
FootnoteBody.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (%block;)+
void
InitialPropertySet.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
Inline.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (#PCDATA|%inline;|%block;)* Additionally: " An fo:inline that is a descendant of an fo:leader or fo:footnote may not have block-level children, unless it has a nearer ancestor that is an fo:inline-container." (paraphrased)
void
InlineContainer.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (%block;)+
void
InstreamForeignObject.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: one (1) non-XSL namespace child
void
ListBlock.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (list-item)+
void
ListItem.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (list-item-label,list-item-body)
void
Marker.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (#PCDATA|%inline;|%block;)* Additionally: "An fo:marker may contain any formatting objects that are permitted as a replacement of any fo:retrieve-marker that retrieves the fo:marker's children."
void
MultiProperties.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (multi-property-set+, wrapper)
void
MultiPropertySet.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
MultiSwitch.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (multi-case+)
void
MultiToggle.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (#PCDATA|%inline;|%block;)*
void
PageNumber.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
RetrieveMarker.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
Wrapper.validateChildNode(Locator loc, String nsURI, String localName)

XSL Content Model: marker* (#PCDATA|%inline;|%block;)*
Additionally (unimplemented): "An fo:wrapper that is a child of an fo:multi-properties is only permitted to have children that would be permitted in place of the fo:multi-properties."

Uses in package org.apache.fop.fo.extensions.destination

Methods which throw type org.apache.fop.fo.ValidationException

void
Destination.validateChildNode(Locator loc, String nsURI, String localName)
XSL/FOP: empty

Uses in package org.apache.fop.render.ps.extensions

Methods which throw type org.apache.fop.fo.ValidationException

void
AbstractPSExtensionElement.validateChildNode(Locator loc, String nsURI, String localName)
Blocks XSL FO's from having non-FO parents.
void
AbstractPSExtensionObject.validateChildNode(Locator loc, String nsURI, String localName)

Uses in package org.apache.fop.fo

Methods which throw type org.apache.fop.fo.ValidationException

void
PropertyList.addAttributesToList(Attributes attributes)
Adds the attributes, passed in by the parser to the PropertyList
void
FONode.attributeError(String problem)
Helper function to standardize property error exceptions (e.g., not specifying either an internal- or an external-destination property for an FO:link)
void
PropertyList.handleInvalidProperty(String message, String propName)
void
FONode.invalidChildError(Locator loc, String nsURI, String lName)
Helper function to return "invalid child" exceptions (e.g., fo:block appearing immediately under fo:root)
void
FONode.invalidChildError(Locator loc, String nsURI, String lName, String ruleViolated)
Helper function to return "invalid child" exceptions with more complex validation rules (i.e., needing more explanation of the problem)
boolean
PropertyList.isValidPropertyName(String propertyName)
Validates a property name.
void
FONode.missingChildElementError(String contentModel)
Helper function to throw an error caused by missing mandatory child elements.
void
FONode.missingPropertyError(String propertyName)
Helper function to throw an error caused by missing mandatory properties
void
FONode.nodesOutOfOrderError(Locator loc, String tooLateNode, String tooEarlyNode)
Helper function to standardize "out of order" exceptions (e.g., fo:layout-master-set appearing after fo:page-sequence)
void
FONode.tooManyNodesError(Locator loc, String offendingNode)
Helper function to standardize "too many" error exceptions (e.g., two fo:declarations within fo:root) This overrloaded method helps make the caller code better self-documenting
void
FONode.tooManyNodesError(Locator loc, String nsURI, String lName)
Helper function to standardize "too many" error exceptions (e.g., two fo:declarations within fo:root)
void
FONode.validateChildNode(Locator loc, String namespaceURI, String localName)
Checks to make sure, during SAX processing of input document, that the incoming node is valid for the this (parent) node (e.g., checking to see that fo:table is not an immediate child of fo:root) called from FOTreeBuilder.startElement(String,String,String,Attributes) before constructing the child FObj.
void
XMLObj.validateChildNode(Locator loc, String nsURI, String localName)
here, blocks XSL FO's from having non-FO parents.
void
FONode.validateChildNode(FONode fo, Locator loc, String namespaceURI, String localName)
Static version of validateChildNode(Locator,String,String) that can be used by subclasses that need to validate children against a different node (for example: fo:wrapper needs to check if the incoming node is a valid child to its parent)

Uses in package org.apache.fop.fo.flow.table

Methods which throw type org.apache.fop.fo.ValidationException

void
void
Table.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: (marker*,table-column*,table-header?,table-footer?,table-body+)
void
TableAndCaption.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* table-caption? table
void
TableBody.validateChildNode(Locator loc, String nsURI, String localName)
String, String) XSL Content Model: marker* (table-row+|table-cell+)
void
TableCaption.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (%block;)
void
TableCell.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: marker* (%block;)+
void
TableColumn.validateChildNode(Locator loc, String nsURI, String localName)
XSL Content Model: empty
void
TableRow.validateChildNode(Locator loc, String nsURI, String localName)
String, String) XSL Content Model: (table-cell+)

Uses in package org.apache.fop.fo.pagination.bookmarks

Methods which throw type org.apache.fop.fo.ValidationException

void
Bookmark.validateChildNode(Locator loc, String nsURI, String localName)
XSL/FOP: (bookmark-title, bookmark*)
void
BookmarkTitle.validateChildNode(Locator loc, String nsURI, String localName)
XSL/FOP: empty
void
BookmarkTree.validateChildNode(Locator loc, String nsURI, String localName)
XSL/FOP: (bookmark+)

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.