Class ConfigurationProperties

    • Method Summary

      Modifier and Type Method Description
      static java.lang.String getClassPath()
      Get current system CLASSPATH value.
      static java.lang.String getExiEngine()
      Get preference for XSLT transformation engine to use: EXI_ENGINE_EXIFICIENT or EXI_ENGINE_OPENEXI.
      static java.lang.String getExpectedOutputFileExtension​(java.lang.String stylesheetName)
      Determine expected output filename extension based on stylesheet conversion.
      static char getIndentCharacter()
      Get indentCharacter used when serializing scene output.
      static int getIndentIncrement()
      Get number of indent characters (space or tab characters) to indent when serializing scene output.
      static java.lang.String getPropertiesFileName()
      Get name of current properties file (optional directory path plus file name).
      static java.lang.String getXsltEngine()
      Get preference for XSLT transformation engine to use: XSLT_ENGINE_SAXON or XSLT_ENGINE_NATIVE_JAVA.
      static void initialize()
      Initialize this ConfigurationProperties instance to default values.
      static boolean isCreationConnectionValidationExceptionAllowed()
      Indicate whether continuation is allowed if validation exception occurs when creating an object.
      static boolean isDebugModeActive()
      Indicate whether debug mode is active.
      static boolean isDeleteIntermediateFiles()
      Indicate whether to delete intermediate files generated as part of various transformations, this property method can be helpful can be helpful for debugging.
      static boolean isNormalizeCommentWhitespace()
      Indicate whether to normalize whitespace in comments, which can aid consistency in canonicalization and security.
      static boolean isOverwriteExistingFiles()
      Indicate whether to allow overwriting previously existing files.
      static boolean isSFImagePixelOutputHexadecimal()
      Indicate whether SFImage pixel output values are in hexadecimal format when serializing scene output.
      static boolean isShowDefaultAttributes()
      Indicate whether default attributes (and their values) are shown when serializing scene output.
      static boolean isStripTrailingZeroes()
      Indicates whether trailing zeros are omitted from output of floating-point or double-precision values, this property can be helpful for debugging.
      static boolean isStylesheetSupported​(java.lang.String stylesheetName)
      Check whether stylesheet is supported by X3DJSAIL.
      static boolean isValidationExceptionAllowed()
      Indicate whether partial results are allowed if validation exception occurs when serializing scene output.
      static boolean isX3dCanonicalForm()
      Indicate whether X3D Canonical Form is used for toStringX3D() XML output.
      static void loadProperties()
      Update settings in this ConfigurationProperties instance using values in property file.
      static void setCreationConnectionValidationExceptionAllowed​(boolean newCreationConnectionValidationExceptionAllowed)
      Set whether partial results are allowed (and operation continues) if validation exception occurs when creating an object.
      static void setDebugModeActive​(boolean newDebugModeActive)
      Set whether debug mode is active.
      static void setDeleteIntermediateFiles​(boolean newValue)
      Set whether to delete intermediate files generated as part of various transformations, this property method can be helpful can be helpful for debugging.
      static void setExiEngine​(java.lang.String newValue)
      Set preference for EXI transformation engine to use: EXI_ENGINE_EXIFICIENT or EXI_ENGINE_OPENEXI.
      static void setIndentCharacter​(char newIndentCharacter)
      Set indentCharacter used when serializing scene output.
      static void setIndentIncrement​(int newIndentIncrement)
      Set number of characters to indent when serializing scene output.
      static void setNormalizeCommentWhitespace​(boolean newNormalizeCommentWhitespace)
      Set whether to normalize whitespace in comments, which can aid consistency in canonicalization and security.
      static void setOverwriteExistingFiles​(boolean newOverwriteExistingFiles)
      Set whether to allow overwriting previously existing files.
      static void setPropertiesFileName​(java.lang.String fileName)
      Set name of properties file (optional directory path plus file name).
      static void setSFImagePixelOutputHexadecimal​(boolean newSFImagePixelOutputHexadecimal)
      Set whether SFImage pixel output values are in hexadecimal format when serializing scene output.
      static void setShowDefaultAttributes​(boolean newShowDefaultAttributes)
      Set whether default attributes (and their values) are shown when serializing scene output.
      static void setStripTrailingZeroes​(boolean newValue)
      Set whether to omit trailing zeros from floating-point or double-precision output, this property can be helpful for debugging.
      static void setValidationExceptionAllowed​(boolean newValidationExceptionAllowed)
      Set whether partial results are allowed (and operation continues) if validation exception occurs when serializing scene output.
      static void setX3dCanonicalForm()
      Ensure that X3D Canonical Form is used for XML output, resetting default values for indentation.
      static void setXsltEngine​(java.lang.String newValue)
      Set preference for XSLT transformation engine to use: XSLT_ENGINE_SAXON or XSLT_ENGINE_NATIVE_JAVA.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait