| Modifier and Type | Field and Description |
|---|---|
| pack-priv String[] | _nsStrings
Array that contains { prefix, ns-uri } pairs, up to (but not including)
index |
| pack-priv int | |
| pack-priv final int | |
| pack-priv static final int | DEFAULT_ARRAY_SIZE
Let's plan for having up to 14 explicit namespace declarations (2 defaults, for 'xml' and 'xmlns', are pre-populated) |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | addGeneratedMapping(String prefixBase, NamespaceContext ctxt, String uri, int[] seqArr)
Method used to add a dynamic binding, and return the prefix used to bind the specified namespace URI. |
| public String | Returns: If the prefix was already bound, the URI it was bound to: null if it's a new binding for the current scope.Prefix to bind prefix, String URI to bind to the prefix uri)Method to add a new prefix-to-URI mapping for the current scope. |
| public BijectiveNsMap | |
| public static BijectiveNsMap | |
| public String | |
| public String | |
| public List | |
| public int | |
| public int |
| _nsStrings | back to summary |
|---|---|
| pack-priv String[] _nsStrings Array that contains { prefix, ns-uri } pairs, up to (but not including)
index | |
| _scopeEnd | back to summary |
|---|---|
| pack-priv int _scopeEnd | |
| _scopeStart | back to summary |
|---|---|
| pack-priv final int _scopeStart | |
| DEFAULT_ARRAY_SIZE | back to summary |
|---|---|
| pack-priv static final int DEFAULT_ARRAY_SIZE Let's plan for having up to 14 explicit namespace declarations (2 defaults, for 'xml' and 'xmlns', are pre-populated) | |
| BijectiveNsMap | back to summary |
|---|---|
| private BijectiveNsMap(int scopeStart, String[] strs) | |
| addGeneratedMapping | back to summary |
|---|---|
| public String addGeneratedMapping(String prefixBase, NamespaceContext ctxt, String uri, int[] seqArr) Method used to add a dynamic binding, and return the prefix used to bind the specified namespace URI. | |
| addMapping | back to summary |
|---|---|
| public String addMapping(String prefix, String uri) Method to add a new prefix-to-URI mapping for the current scope. Note that it should NOT be used for the default namespace declaration | |
| createChild | back to summary |
|---|---|
| public BijectiveNsMap createChild() | |
| createEmpty | back to summary |
|---|---|
| public static BijectiveNsMap createEmpty() | |
| findPrefixByUri | back to summary |
|---|---|
| public String findPrefixByUri(String uri) | |
| findUriByPrefix | back to summary |
|---|---|
| public String findUriByPrefix(String prefix) | |
| getPrefixesBoundToUri | back to summary |
|---|---|
| public List | |
| localSize | back to summary |
|---|---|
| public int localSize() | |
| size | back to summary |
|---|---|
| public int size() | |