public static BodyQName createWithPrefix ( final String uri , final String local , final String prefix ) { if ( uri == null || uri . length ( ) == 0 ) { throw ( new IllegalArgumentException ( "URI is required and may not be null/empty" ) ) ; } if ( local == null || local . length ( ) == 0 ) { throw ( new IllegalArgumentException ( "Local arg is required and may not be null/empty" ) ) ; } if ( prefix == null || prefix . length ( ) == 0 ) { return new BodyQName ( new QName ( uri , local ) ) ; } else { return new BodyQName ( new QName ( uri , local , prefix ) ) ; } }
Creates a new qualified name using a namespace URI and local name along with an optional prefix .