public final class DummyStructureTreeEventHandler extends Object implements StructureTreeEventHandler
Modifier and Type | Field and Description |
---|---|
static StructureTreeEventHandler |
INSTANCE
The singleton instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
endNode(String name)
Ends a structure tree node.
|
void |
endPageSequence()
Ends a page sequence structure tree node.
|
StructureTreeElement |
startImageNode(String name,
Attributes attributes,
StructureTreeElement parent)
Starts an image node.
|
StructureTreeElement |
startNode(String name,
Attributes attributes,
StructureTreeElement parent)
Starts a structure tree node.
|
void |
startPageSequence(Locale locale,
String role)
Starts a page sequence structure tree node.
|
StructureTreeElement |
startReferencedNode(String name,
Attributes attributes,
StructureTreeElement parent)
Starts a node that can be referenced by other nodes.
|
public static final StructureTreeEventHandler INSTANCE
public void startPageSequence(Locale locale, 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(String name, 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 methodpublic void endNode(String name)
endNode
in interface StructureTreeEventHandler
name
- the name of the structure tree nodepublic StructureTreeElement startImageNode(String name, 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 methodpublic StructureTreeElement startReferencedNode(String name, 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 methodCopyright © 2025 Apache Software Foundation. All rights reserved.