Class ByteBasedPNameFactory

java.lang.Object
com.fasterxml.aalto.in.ByteBasedPNameFactory

public final class ByteBasedPNameFactory extends Object
Simple factory that can instantiate appropriate PName instances, given input data to use for construction. The main reason for a factory class here is just to insulate calling code from having to know details of concrete implementations.
  • Field Details

    • DO_INTERN

      private static final boolean DO_INTERN
      Can be set to false for debugging (for example, to test memory usage)
      See Also:
    • sInstance

      private static final ByteBasedPNameFactory sInstance
  • Constructor Details

    • ByteBasedPNameFactory

      private ByteBasedPNameFactory()
  • Method Details