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

License:Open Source License

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

From source file:com.ohnosequences.xml.model.bio4j.Bio4jRelationshipXML.java

License:Open Source License

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

From source file:com.ohnosequences.xml.model.bio4j.Bio4jRelationshipXML.java

License:Open Source License

private Element initStartNodesTag() {
    Element elem = root.getChild(START_NODES_TAG_NAME);
    if (elem == null) {
        elem = new Element(START_NODES_TAG_NAME);
        root.addContent(elem);//from w w  w  .j  a v  a  2s.  c om
    }
    return elem;
}

From source file:com.ohnosequences.xml.model.bio4j.Bio4jRelationshipXML.java

License:Open Source License

private Element initEndNodesTag() {
    Element elem = root.getChild(END_NODES_TAG_NAME);
    if (elem == null) {
        elem = new Element(END_NODES_TAG_NAME);
        root.addContent(elem);/*from w w  w . j av a2s .co m*/
    }
    return elem;
}

From source file:com.ohnosequences.xml.model.bio4j.UniprotDataXML.java

License:Open Source License

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

From source file:com.ohnosequences.xml.model.BlastOutput.java

License:Open Source License

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

From source file:com.ohnosequences.xml.model.BlastOutputParam.java

License:Open Source License

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

From source file:com.ohnosequences.xml.model.BlastOutputParam.java

License:Open Source License

private void initParametersTag() {
    Element paramsTagName = root.getChild(PARAMETERS_TAG_NAME);
    if (paramsTagName == null) {
        paramsTagName = new Element(PARAMETERS_TAG_NAME);
    }//w ww.  j  av a2s. c om
}

From source file:com.ohnosequences.xml.model.Codon.java

License:Open Source License

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

From source file:com.ohnosequences.xml.model.ContigXML.java

License:Open Source License

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