com.fasterxml.aalto.in
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ByteBasedPNameFactory getInstance()
constructPName
public ByteBasedPName constructPName(int hash,
String pname,
int colonIx,
int quad1,
int quad2)
constructPName
public ByteBasedPName constructPName(int hash,
String pname,
int colonIx,
int[] quads,
int qlen)
Copyright © 2012 Fasterxml.com. All Rights Reserved.