Example usage for org.jdom2 Element getName

List of usage examples for org.jdom2 Element getName

Introduction

In this page you can find the example usage for org.jdom2 Element getName.

Prototype

public String getName() 

Source Link

Document

Returns the (local) name of the element (without any namespace prefix).

Usage

From source file:com.ohnosequences.xml.model.Hsp.java

License:Open Source License

public Hsp(Element elem) throws XMLElementException {
    super(elem);/*from w w  w  .  j a  va 2s .  c  o m*/
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.Iteration.java

License:Open Source License

public Iteration(Element elem) throws XMLElementException {
    super(elem);/*from  w  w  w  .ja va 2 s  .c  o  m*/
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.logs.LogRecordXML.java

License:Open Source License

public LogRecordXML(Element elem) throws XMLElementException {
    super(elem);//from   w w  w  .  j av a  2  s  . c o  m
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.metagenomics.ReadResultXML.java

License:Open Source License

public ReadResultXML(Element elem) throws XMLElementException {
    super(elem);/*www.  java2  s. com*/
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.metagenomics.SampleXML.java

License:Open Source License

public SampleXML(Element elem) throws XMLElementException {
    super(elem);/*from   w ww  . j av  a 2 s .  co m*/
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.MetagenomicsDataXML.java

License:Open Source License

public MetagenomicsDataXML(Element elem) throws XMLElementException {
    super(elem);/*  ww w .j ava2s.c o  m*/
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.mg7.MG7DataXML.java

License:Open Source License

public MG7DataXML(Element elem) throws XMLElementException {
    super(elem);/*  w  ww.ja v  a  2 s  . c  om*/
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.ncbi.NCBITaxonomyNodeXML.java

License:Open Source License

public NCBITaxonomyNodeXML(Element elem) throws XMLElementException {
    super(elem);// w  w w. ja va2s .c o m
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.oric.Oric.java

License:Open Source License

public Oric(Element elem) throws XMLElementException {
    super(elem);/*  www.  j a  va 2  s. c  o m*/
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}

From source file:com.ohnosequences.xml.model.Overlap.java

License:Open Source License

public Overlap(Element elem) throws XMLElementException {
    super(elem);//from   w ww  . j  ava  2s  .  c o  m
    if (!elem.getName().equals(TAG_NAME)) {
        throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem));
    }
}