Example usage for org.jdom2 Element Element

List of usage examples for org.jdom2 Element Element

Introduction

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

Prototype

public Element(final String name) 

Source Link

Document

Create a new element with the supplied (local) name and no namespace.

Usage

From source file:com.ohnosequences.xml.model.genome.feature.Feature.java

License:Open Source License

public void setMaxWordLengthEvenAxisPalindromicityResult(PalindromicityResultXML result) {
    root.removeChildren(MAX_WORD_LENGTH_EVEN_AXIS_PALINDROMICITY_TAG_NAME);
    Element elem = new Element(MAX_WORD_LENGTH_EVEN_AXIS_PALINDROMICITY_TAG_NAME);
    elem.addContent(result.getRoot());/* w  w w .  j  a  v  a  2 s.c o m*/
    root.addContent(elem);
}

From source file:com.ohnosequences.xml.model.genome.feature.Intergenic.java

License:Open Source License

public Intergenic() throws XMLElementException {
    super(new Element(TAG_NAME));
}

From source file:com.ohnosequences.xml.model.genome.feature.MisRNA.java

License:Open Source License

public MisRNA() throws XMLElementException {
    super(new Element(TAG_NAME));
}

From source file:com.ohnosequences.xml.model.genome.feature.ORF.java

License:Open Source License

public ORF() throws XMLElementException {
    super(new Element(TAG_NAME));
}

From source file:com.ohnosequences.xml.model.genome.feature.RNA.java

License:Open Source License

public RNA() throws XMLElementException {
    super(new Element(TAG_NAME));
}

From source file:com.ohnosequences.xml.model.genome.feature.RRNA.java

License:Open Source License

public RRNA() throws XMLElementException {
    super(new Element(TAG_NAME));
}

From source file:com.ohnosequences.xml.model.genome.feature.TRNA.java

License:Open Source License

public TRNA() throws XMLElementException {
    super(new Element(TAG_NAME));
}

From source file:com.ohnosequences.xml.model.genome.GenomeElement.java

License:Open Source License

public GenomeElement() {
    super(new Element(TAG_NAME));
}

From source file:com.ohnosequences.xml.model.genome.GenomeElement.java

License:Open Source License

private void initFeaturesTag() {
    if (root.getChild(FEATURES_TAG_NAME) == null) {
        root.addContent(new Element(FEATURES_TAG_NAME));
    }
}

From source file:com.ohnosequences.xml.model.genome.GenomeElement.java

License:Open Source License

private void initErrorsTag() {
    if (root.getChild(ERRORS_TAG_NAME) == null) {
        root.addContent(new Element(ERRORS_TAG_NAME));
    }
}