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.pal.PalindromicityResultXML.java

License:Open Source License

public PalindromicityResultXML(Element elem) throws XMLElementException {
    super(elem);//  ww  w  . jav a2  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.pg.Primer.java

License:Open Source License

public Primer(Element elem) throws XMLElementException {
    super(elem);/*from  ww w . j  a  va2s  . 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.PredictedGene.java

License:Open Source License

public PredictedGene(Element elem) throws XMLElementException {
    super(elem);//from w w w  .  j  av a2s. 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.PredictedGenes.java

License:Open Source License

public PredictedGenes(Element elem) throws XMLElementException {
    super(elem);//from   w ww .j av a  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.PredictedRna.java

License:Open Source License

public PredictedRna(Element elem) throws XMLElementException {
    super(elem);/*from  w w w .j a v a2  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.PredictedRnas.java

License:Open Source License

public PredictedRnas(Element elem) throws XMLElementException {
    super(elem);//from  ww  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.uniprot.ArticleXML.java

License:Open Source License

public ArticleXML(Element elem) throws XMLElementException {
    super(elem);//from w  w w .ja  va2  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.uniprot.CommentXML.java

License:Open Source License

public CommentXML(Element elem) throws XMLElementException {
    super(elem);// ww  w  .j  av 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.uniprot.FeatureXML.java

License:Open Source License

public FeatureXML(Element elem) throws XMLElementException {
    super(elem);//from   w w  w  .  ja 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.uniprot.InterproXML.java

License:Open Source License

public InterproXML(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));
    }
}