List of usage examples for org.jdom2 Element getName
public String getName()
From source file:com.ohnosequences.xml.model.embl.EmblXML.java
License:Open Source License
public EmblXML(Element elem) throws XMLElementException { super(elem);//from w w w. j a v 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.Frameshift.java
License:Open Source License
public Frameshift(Element elem) throws XMLElementException { super(elem);/*w w w.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.Gap.java
License:Open Source License
public Gap(Element elem) throws XMLElementException { super(elem);// w w w . j a 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.gb.GenBankXML.java
License:Open Source License
public GenBankXML(Element elem) throws XMLElementException { super(elem);/*from w w w .j ava2 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.genome.feature.Intergenic.java
License:Open Source License
public Intergenic(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.genome.feature.MisRNA.java
License:Open Source License
public MisRNA(Element elem) throws XMLElementException { super(elem);/*from w ww.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.genome.feature.ORF.java
License:Open Source License
public ORF(Element elem) throws XMLElementException { super(elem);//from w ww . j ava2 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.genome.feature.RNA.java
License:Open Source License
public RNA(Element elem) throws XMLElementException { super(elem);//w w w .j ava 2s . 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.genome.feature.RRNA.java
License:Open Source License
public RRNA(Element elem) throws XMLElementException { super(elem);/*from w w w. ja va2 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.genome.feature.TRNA.java
License:Open Source License
public TRNA(Element elem) throws XMLElementException { super(elem);//from w ww . j a v a 2 s . c o m if (!elem.getName().equals(TAG_NAME)) { throw new XMLElementException(XMLElementException.WRONG_TAG_NAME, new XMLElement(elem)); } }