Example usage for org.dom4j Element getQualifiedName

List of usage examples for org.dom4j Element getQualifiedName

Introduction

In this page you can find the example usage for org.dom4j Element getQualifiedName.

Prototype

String getQualifiedName();

Source Link

Document

Returns the fully qualified name of this element.

Usage

From source file:org.zenonpagetemplates.onePhaseImpl.PageTemplateImpl.java

License:Open Source License

protected void startElement(Element element, ContentHandler contentHandler, AttributesImpl attributes,
        String configurableTag) throws SAXException {

    if (configurableTag != null) {
        contentHandler.startElement(VOID_STRING, configurableTag, configurableTag, attributes);
        return;//from  ww w .j a  v a 2s  . com
    }

    contentHandler.startElement(VOID_STRING, element.getName(), element.getQualifiedName(), attributes);
}

From source file:org.zenonpagetemplates.onePhaseImpl.PageTemplateImpl.java

License:Open Source License

protected void endElement(Element element, ContentHandler contentHandler, String configurableTag)
        throws SAXException {

    if (configurableTag != null) {
        contentHandler.endElement(VOID_STRING, configurableTag, configurableTag);
        return;//from  w ww . java2 s  .c  om
    }

    contentHandler.endElement(VOID_STRING, element.getName(), element.getQualifiedName());
}