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.genome.GenomeElement.java

License:Open Source License

public GenomeElement(Element elem) throws XMLElementException {
    super(elem);/*ww  w .j  av  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.gexf.AttributesXML.java

License:Open Source License

public AttributesXML(Element elem) throws XMLElementException {
    super(elem);/*from www.j  ava 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.gexf.AttributeXML.java

License:Open Source License

public AttributeXML(Element elem) throws XMLElementException {
    super(elem);//from ww w . java  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.gexf.AttValuesXML.java

License:Open Source License

public AttValuesXML(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.gexf.AttValueXML.java

License:Open Source License

public AttValueXML(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.gexf.EdgesXML.java

License:Open Source License

public EdgesXML(Element elem) throws XMLElementException {
    super(elem);//  w  ww.  j  a v  a  2 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.gexf.EdgeXML.java

License:Open Source License

public EdgeXML(Element elem) throws XMLElementException {
    super(elem);/*www .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.gexf.GexfXML.java

License:Open Source License

public GexfXML(Element elem) throws XMLElementException {
    super(elem);//  w w w.  j  a  va2s .  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.gexf.GraphXML.java

License:Open Source License

public GraphXML(Element elem) throws XMLElementException {
    super(elem);/*  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.gexf.NodesXML.java

License:Open Source License

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