public static String getSimpleElementText( final Element node, final String name ) { final Element namedElement = getFirstElement( node, name ); if ( namedElement == null ) { return null; } return getSimpleElementText( namedElement ); }
/** * @param names * * @return */ public static String getShortLabel( final Element names ) { return getSimpleElementText( names, "shortLabel" ); }
public Message( Element element, String text ) { this( text ); this.node = element; this.context = DOMUtil.getContext( element ); }
public static void print( Node node, PrintStream out ) { print( node, out, "" ); }
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 void print( Node node, PrintStream out ) { print( node, out, "" ); }
/** * @param names * * @return */ public static String getFullName( final Element names ) { return getSimpleElementText( names, "fullName" ); }
public Message( Element element, String text ) { this( text ); this.node = element; this.context = DOMUtil.getContext( element ); }
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 void print( Node node ) { print( node, System.out ); }
/** * @param names * * @return */ public static String getShortLabel( final Element names ) { return getSimpleElementText( names, "shortLabel" ); }
public Message( Element element, String text ) { this( text ); this.node = element; this.context = DOMUtil.getContext( element ); }
public static void print( Node node, PrintStream out ) { print( node, out, "" ); }
/** * @param names * * @return */ public static String getFullName( final Element names ) { return getSimpleElementText( names, "fullName" ); }
public static void print( Node node ) { print( node, System.out ); }
/** * @param names * * @return */ public static String getFullName( final Element names ) { return getSimpleElementText( names, "fullName" ); }
public static void print( Node node ) { print( node, System.out ); }
/** * @param names * * @return */ public static String getShortLabel( final Element names ) { return getSimpleElementText( names, "shortLabel" ); }
public void printXmlContent() { if ( node != null ) { DisplayXML.print( node, System.out ); } else { System.out.println( "No XML content stored in that message." ); } }
public void printXmlContent() { if ( node != null ) { DisplayXML.print( node, System.out ); } else { System.out.println( "No XML content stored in that message." ); } }