Example usage for com.itextpdf.tool.xml.parser TagState OPEN

List of usage examples for com.itextpdf.tool.xml.parser TagState OPEN

Introduction

In this page you can find the example usage for com.itextpdf.tool.xml.parser TagState OPEN.

Prototype

TagState OPEN

To view the source code for com.itextpdf.tool.xml.parser TagState OPEN.

Click Source Link

Document

Notice that an opening tag has been encountered.

Usage

From source file:pdfreader.XMLParser.java

License:Open Source License

/**
 * Triggered when an opening tag has been encountered.
 *///from ww w  .  java2 s  .c o  m
public void startElement() {
    currentTagState(TagState.OPEN);
    callText();
    for (XMLParserListener l : listeners) {
        l.startElement(this.memory.getCurrentTag(), this.memory.getAttributes(), this.memory.getNameSpace());
    }
    this.memory().flushNameSpace();
}