Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Summary
`ByteBasedPName` | `constructPName(int hash, String pname, int colonIx, int[] quads, int qlen)`
`ByteBasedPName` | `constructPName(int hash, String pname, int colonIx, int quad1, int quad2)`
`static ByteBasedPNameFactory` | `getInstance()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Fasterxml.com. All Rights Reserved.