|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.accessibility.StructureTree2SAXEventAdapter
public final class StructureTree2SAXEventAdapter
Converts structure tree events to SAX events.
Method Summary | |
---|---|
void |
endNode(java.lang.String name)
Ends a structure tree node. |
void |
endPageSequence()
Ends a page sequence structure tree node. |
static StructureTreeEventHandler |
newInstance(org.xml.sax.ContentHandler contentHandler)
Factory method that creates a new instance. |
StructureTreeElement |
startImageNode(java.lang.String name,
org.xml.sax.Attributes attributes,
StructureTreeElement parent)
Starts an image node. |
StructureTreeElement |
startNode(java.lang.String name,
org.xml.sax.Attributes attributes,
StructureTreeElement parent)
Starts a structure tree node. |
void |
startPageSequence(java.util.Locale locale,
java.lang.String role)
Starts a page sequence structure tree node. |
StructureTreeElement |
startReferencedNode(java.lang.String name,
org.xml.sax.Attributes attributes,
StructureTreeElement parent)
Starts a node that can be referenced by other nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static StructureTreeEventHandler newInstance(org.xml.sax.ContentHandler contentHandler)
contentHandler
- The handler that receives SAX events
public void startPageSequence(java.util.Locale locale, java.lang.String role)
startPageSequence
in interface StructureTreeEventHandler
locale
- The locale of the page sequencerole
- the value of the role property. May be null.public void endPageSequence()
endPageSequence
in interface StructureTreeEventHandler
public StructureTreeElement startNode(java.lang.String name, org.xml.sax.Attributes attributes, StructureTreeElement parent)
startNode
in interface StructureTreeEventHandler
name
- the name of the structure tree nodeattributes
- the node propertiesparent
- the parent of the node. May be null, in which case the parent node is
the node corresponding to the previous call to this method
public void endNode(java.lang.String name)
endNode
in interface StructureTreeEventHandler
name
- the name of the structure tree nodepublic StructureTreeElement startImageNode(java.lang.String name, org.xml.sax.Attributes attributes, StructureTreeElement parent)
startImageNode
in interface StructureTreeEventHandler
name
- the name of the structure tree nodeattributes
- the node propertiesparent
- the parent of the node. May be null, in which case the parent node is
the node corresponding to the previous call to this method
public StructureTreeElement startReferencedNode(java.lang.String name, org.xml.sax.Attributes attributes, StructureTreeElement parent)
startReferencedNode
in interface StructureTreeEventHandler
name
- the name of the structure tree nodeattributes
- the node propertiesparent
- the parent of the node. May be null, in which case the parent node is
the node corresponding to the previous call to this method
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |