/** * @param names * * @return */ public static String getFullName( final Element names ) { return getSimpleElementText( names, "fullName" ); }
/** * @param names * * @return */ public static String getShortLabel( final Element names ) { return getSimpleElementText( names, "shortLabel" ); }
/** * @param names * * @return */ public static String getFullName( final Element names ) { return getSimpleElementText( names, "fullName" ); }
/** * @param names * * @return */ public static String getShortLabel( final Element names ) { return getSimpleElementText( names, "shortLabel" ); }
/** * @param names * * @return */ public static String getFullName( final Element names ) { return getSimpleElementText( names, "fullName" ); }
/** * @param names * * @return */ public static String getShortLabel( final Element names ) { return getSimpleElementText( names, "shortLabel" ); }
public static String getSimpleElementText( final Element node, final String name ) { final Element namedElement = getFirstElement( node, name ); if ( namedElement == null ) { return null; } return getSimpleElementText( namedElement ); }
public static AnnotationTag process( final Element element ) { final String type = element.getAttribute( "name" ); final String text = DOMUtil.getSimpleElementText( element ); return new AnnotationTag( type, text ); } }
public static String getSimpleElementText( final Element node, final String name ) { final Element namedElement = getFirstElement( node, name ); if ( namedElement == null ) { return null; } return getSimpleElementText( namedElement ); }
public static AnnotationTag process( final Element element ) { final String type = element.getAttribute( "name" ); final String text = DOMUtil.getSimpleElementText( element ); return new AnnotationTag( type, text ); } }
public static AnnotationTag process( final Element element ) { final String type = element.getAttribute( "name" ); final String text = DOMUtil.getSimpleElementText( element ); return new AnnotationTag( type, text ); } }
public static String getSimpleElementText( final Element node, final String name ) { final Element namedElement = getFirstElement( node, name ); if ( namedElement == null ) { return null; } return getSimpleElementText( namedElement ); }
String role = null; if ( roleElement != null ) { role = DOMUtil.getSimpleElementText( roleElement ); } else { final String msg = "ERROR - No role found under that participant, abort that interaction."; String booleanValue = DOMUtil.getSimpleElementText( isTaggedProteinElement ); booleanValue = booleanValue.trim(); if ( booleanValue.equalsIgnoreCase( "true" ) ) { String booleanValue = DOMUtil.getSimpleElementText( isOverexpressedProteinElement ); booleanValue = booleanValue.trim(); if ( booleanValue.equalsIgnoreCase( "true" ) ) {
String role = null; if ( roleElement != null ) { role = DOMUtil.getSimpleElementText( roleElement ); } else { final String msg = "ERROR - No role found under that participant, abort that interaction."; String booleanValue = DOMUtil.getSimpleElementText( isTaggedProteinElement ); booleanValue = booleanValue.trim(); if ( booleanValue.equalsIgnoreCase( "true" ) ) { String booleanValue = DOMUtil.getSimpleElementText( isOverexpressedProteinElement ); booleanValue = booleanValue.trim(); if ( booleanValue.equalsIgnoreCase( "true" ) ) {
String role = null; if ( roleElement != null ) { role = DOMUtil.getSimpleElementText( roleElement ); } else { final String msg = "ERROR - No role found under that participant, abort that interaction."; String booleanValue = DOMUtil.getSimpleElementText( isTaggedProteinElement ); booleanValue = booleanValue.trim(); if ( booleanValue.equalsIgnoreCase( "true" ) ) { String booleanValue = DOMUtil.getSimpleElementText( isOverexpressedProteinElement ); booleanValue = booleanValue.trim(); if ( booleanValue.equalsIgnoreCase( "true" ) ) {
String sequence = null; if( sequenceElement != null ) { sequence = DOMUtil.getSimpleElementText( sequenceElement );
String sequence = null; if( sequenceElement != null ) { sequence = DOMUtil.getSimpleElementText( sequenceElement );
String sequence = null; if( sequenceElement != null ) { sequence = DOMUtil.getSimpleElementText( sequenceElement );