public void validate ( StyledLayerDescriptorInfo sld ) throws SldException { try { parseSldI ( sld ) ; } catch ( JiBXException e ) { throw new SldException ( "Validation error" , e ) ; } }
Test by marshalling .