ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java
@Nonnull
  public static SchematronResourcePure fromString (@Nonnull final String sSchematron, @Nonnull final Charset aCharset)
  {
    return fromByteArray (sSchematron.getBytes (aCharset));
  }
@Nonnull
  public static SchematronResourcePure fromString (@Nonnull final String sSchematron, @Nonnull final Charset aCharset)
  {
    return fromByteArray (sSchematron.getBytes (aCharset));
  }
Create a new {@link SchematronResourcePure} from Schematron rules provided
by an arbitrary String.<br>
<b>Important:</b> in this case, no include resolution will be performed!!

@param sSchematron
The String representing the Schematron. May not be <code>null</code>
.
@param aCharset
The charset to be used to convert the String to a byte array.
@return Never <code>null</code>.