/** * Return the root element of the PSI document. * * @return the source Element. */ public Element getRootElement() { if ( rootElement == null ) { rootElement = getPsiDocument().getDocumentElement(); } return rootElement; }
/** * Return the root element of the PSI document. * * @return the source Element. */ public Element getRootElement() { if ( rootElement == null ) { rootElement = getPsiDocument().getDocumentElement(); } return rootElement; }
/** * Return the root element of the PSI document. * * @return the source Element. */ public Element getRootElement() { if ( rootElement == null ) { rootElement = getPsiDocument().getDocumentElement(); } return rootElement; }
public Text createTextNode( String text ) { return getPsiDocument().createTextNode( text ); } }
public Text createTextNode( String text ) { return getPsiDocument().createTextNode( text ); } }
public Text createTextNode( String text ) { return getPsiDocument().createTextNode( text ); } }
public Element createElement( String name ) { return getPsiDocument().createElement( name ); }
public Element createElement( String name ) { return getPsiDocument().createElement( name ); }
public Element createElement( String name ) { return getPsiDocument().createElement( name ); }
/** * Return the availabilityList element under the entry of the PSI document. If the element doesn't exist, it is * created. * * @return the source Element. */ public Element getAvailabilityListElement() { if ( availabilityListElement == null ) { Document document = getPsiDocument(); availabilityListElement = document.createElement( "availabilityList" ); Element entry = getEntryElement(); entry.appendChild( availabilityListElement ); } return availabilityListElement; }
/** * Return the source element under the entry of the PSI document. If the element doesn't exist, it is created. * * @return the source Element. */ public Element getSourceElement() { if ( sourceElement == null ) { Document document = getPsiDocument(); sourceElement = document.createElement( "source" ); Element entry = getEntryElement(); entry.appendChild( sourceElement ); } return sourceElement; }
/** * Return the source element under the entry of the PSI document. If the element doesn't exist, it is created. * * @return the source Element. */ public Element getSourceElement() { if ( sourceElement == null ) { Document document = getPsiDocument(); sourceElement = document.createElement( "source" ); Element entry = getEntryElement(); entry.appendChild( sourceElement ); } return sourceElement; }
/** * Return the source element under the entry of the PSI document. If the element doesn't exist, it is created. * * @return the source Element. */ public Element getSourceElement() { if ( sourceElement == null ) { Document document = getPsiDocument(); sourceElement = document.createElement( "source" ); Element entry = getEntryElement(); entry.appendChild( sourceElement ); } return sourceElement; }
/** * Return the interactionList element under the entry of the PSI document. If the element doesn't exist, it is * created. * * @return the source Element. */ public Element getInteractionListElement() { if ( interactionListElement == null ) { Document document = getPsiDocument(); interactionListElement = document.createElement( "interactionList" ); Element entry = getEntryElement(); entry.appendChild( interactionListElement ); } return interactionListElement; }
/** * Return the availabilityList element under the entry of the PSI document. If the element doesn't exist, it is * created. * * @return the source Element. */ public Element getAvailabilityListElement() { if ( availabilityListElement == null ) { Document document = getPsiDocument(); availabilityListElement = document.createElement( "availabilityList" ); Element entry = getEntryElement(); entry.appendChild( availabilityListElement ); } return availabilityListElement; }
/** * Return the interactionList element under the entry of the PSI document. If the element doesn't exist, it is * created. * * @return the source Element. */ public Element getInteractionListElement() { if ( interactionListElement == null ) { Document document = getPsiDocument(); interactionListElement = document.createElement( "interactionList" ); Element entry = getEntryElement(); entry.appendChild( interactionListElement ); } return interactionListElement; }
/** * Return the interactionList element under the entry of the PSI document. If the element doesn't exist, it is * created. * * @return the source Element. */ public Element getInteractionListElement() { if ( interactionListElement == null ) { Document document = getPsiDocument(); interactionListElement = document.createElement( "interactionList" ); Element entry = getEntryElement(); entry.appendChild( interactionListElement ); } return interactionListElement; }
/** * Return the availabilityList element under the entry of the PSI document. If the element doesn't exist, it is * created. * * @return the source Element. */ public Element getAvailabilityListElement() { if ( availabilityListElement == null ) { Document document = getPsiDocument(); availabilityListElement = document.createElement( "availabilityList" ); Element entry = getEntryElement(); entry.appendChild( availabilityListElement ); } return availabilityListElement; }
/** * Return the interactorList element under the entry of the PSI document. If the element doesn't exist, it is * created. * * @return the source Element. */ public Element getInteractorListElement() { if ( interactorListElement == null ) { Document document = getPsiDocument(); interactorListElement = document.createElement( "interactorList" ); Element entry = getEntryElement(); if ( interactionListElement != null ) { entry.insertBefore( interactorListElement, interactionListElement ); } else { entry.appendChild( interactorListElement ); } } return interactorListElement; }
/** * Return the experimentList element under the entry of the PSI document. If the element doesn't exist, it is * created. * * @return the source Element. */ public Element getExperimentListElement() { if ( experimentListElement == null ) { Document document = getPsiDocument(); experimentListElement = document.createElement( "experimentList" ); Element entry = getEntryElement(); if ( interactionListElement != null ) { entry.insertBefore( experimentListElement, interactionListElement ); } else if ( interactorListElement != null ) { entry.insertBefore( experimentListElement, interactorListElement ); } else { entry.appendChild( experimentListElement ); } } return experimentListElement; }