Skip to content

Commit

Permalink
Added more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jul 27, 2017
1 parent cbc92bf commit 9773071
Showing 1 changed file with 19 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ private SchematronDebug ()
* @see #setSaveIntermediateXSLTFiles(boolean)
* @see #setShowCreatedXSLT(boolean)
* @see #setShowCreatedSVRL(boolean)
* @see #setShowPreprocessedSchematron(boolean)
* @see #setShowResolvedSourceSchematron(boolean)
* @see #setShowPreprocessedSchematron(boolean)
*/
public static void setDebugMode (final boolean bDebugMode)
{
setSaveIntermediateXSLTFiles (bDebugMode);
setShowCreatedXSLT (bDebugMode);
setShowCreatedSVRL (bDebugMode);
setShowPreprocessedSchematron (bDebugMode);
setShowResolvedSourceSchematron (bDebugMode);
setShowPreprocessedSchematron (bDebugMode);
}

/**
Expand Down Expand Up @@ -117,30 +117,38 @@ public static void setShowCreatedSVRL (final boolean bShow)
}

/**
* @return <code>true</code> to show the created SVRL.
* @return <code>true</code> to log the created SVRL.
*/
public static boolean isShowCreatedSVRL ()
{
return s_aShowCreatedSVRL.get ();
}

public static void setShowPreprocessedSchematron (final boolean bShow)
public static void setShowResolvedSourceSchematron (final boolean bShow)
{
s_aShowPreprocessedSchematron.set (bShow);
s_aShowResolvedSourceSchematron.set (bShow);
}

public static boolean isShowPreprocessedSchematron ()
/**
* @return <code>true</code> to log the read, with includes resolved,
* Schematron. This is only applied in pure mode.
*/
public static boolean isShowResolvedSourceSchematron ()
{
return s_aShowPreprocessedSchematron.get ();
return s_aShowResolvedSourceSchematron.get ();
}

public static void setShowResolvedSourceSchematron (final boolean bShow)
public static void setShowPreprocessedSchematron (final boolean bShow)
{
s_aShowResolvedSourceSchematron.set (bShow);
s_aShowPreprocessedSchematron.set (bShow);
}

public static boolean isShowResolvedSourceSchematron ()
/**
* @return <code>true</code> to log the created preprocessed Schematron. This
* is only applied in pure mode.
*/
public static boolean isShowPreprocessedSchematron ()
{
return s_aShowResolvedSourceSchematron.get ();
return s_aShowPreprocessedSchematron.get ();
}
}

0 comments on commit 9773071

Please sign in to comment.