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.bio4j.Bio4jNodeXML.java

License:Open Source License

public Bio4jNodeXML(Element elem) throws XMLElementException {
    super(elem);/*from   ww 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.bio4j.Bio4jPropertyXML.java

License:Open Source License

public Bio4jPropertyXML(Element elem) throws XMLElementException {
    super(elem);/*w ww .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.bio4j.Bio4jRelationshipIndexXML.java

License:Open Source License

public Bio4jRelationshipIndexXML(Element elem) throws XMLElementException {
    super(elem);//from  w  w w  .  jav  a2 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.bio4j.Bio4jRelationshipXML.java

License:Open Source License

public Bio4jRelationshipXML(Element elem) throws XMLElementException {
    super(elem);/*www .  j  a  va2  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.bio4j.UniprotDataXML.java

License:Open Source License

public UniprotDataXML(Element elem) throws XMLElementException {
    super(elem);/*w ww  .j  a v a2s  .  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.BlastOutput.java

License:Open Source License

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

License:Open Source License

public BlastOutputParam(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.Codon.java

License:Open Source License

public Codon(Element elem) throws XMLElementException {
    super(elem);/*from w  w  w.  ja  v 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.ContigXML.java

License:Open Source License

public ContigXML(Element elem) throws XMLElementException {
    super(elem);//from  w  ww.  j a  v  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.cufflinks.CuffLinksElement.java

License:Open Source License

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