congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SchemaValidationEvent.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
org.deegree.commons.xml.schema.SchemaValidationEvent

Best Java code snippets using org.deegree.commons.xml.schema.SchemaValidationEvent.toString (Showing top 3 results out of 315)

origin: deegree/deegree3

/**
 * Validates the client request
 * 
 * @param elem
 * @return a list of error messages
 */
private List<String> validate( OMElement elem ) {
  StringWriter s = new StringWriter();
  try {
    elem.serialize( s );
  } catch ( XMLStreamException e ) {
    e.printStackTrace();
  }
  InputStream is = new ByteArrayInputStream( s.toString().getBytes() );
  List<SchemaValidationEvent> evts = SchemaValidator.validate( is,
                                 "http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd" );
  List<String> list = new ArrayList<String>();
  for ( SchemaValidationEvent evt : evts ) {
    list.add( evt.toString() );
  }
  return list;
}
origin: deegree/deegree3

List<SchemaValidationEvent> evts = SchemaValidator.validate( buffer.getInputStream() );
for ( SchemaValidationEvent evt : evts ) {
  messages.add( evt.toString() );
origin: deegree/deegree3

List<SchemaValidationEvent> evts = SchemaValidator.validate( xml, schemas );
for ( SchemaValidationEvent evt : evts ) {
  results.add( evt.toString() );
org.deegree.commons.xml.schemaSchemaValidationEventtoString

Popular methods of SchemaValidationEvent

  • <init>

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now