Top Description Fields Constructors Methods
com.ctc.wstx.dtd

public final Class SmallPrefixedNameSet

extends PrefixedNameSet
Class Inheritance
Imports
com.ctc.wstx.util.PrefixedName

PrefixedNameSet implementation suitable for storing small set of PrefixedName values (generally 8 or less). Uses linear search, and is thus the most compact presentation for a set

Notes about usage:

Field Summary

Modifier and TypeField and Description
pack-priv final boolean
pack-priv final String[]

Constructor Summary

AccessConstructor and Description
public
SmallPrefixedNameSet(boolean nsAware, PrefixedName[] names)

Method Summary

Modifier and TypeMethod and Description
public void
public boolean

Returns:

True if the set contains specified name; false if not.
contains
(PrefixedName name)

Implements abstract com.ctc.wstx.dtd.PrefixedNameSet.contains.

public boolean
Inherited from com.ctc.wstx.dtd.PrefixedNameSet:
toStringtoString

Field Detail

mNsAwareback to summary
pack-priv final boolean mNsAware
mStringsback to summary
pack-priv final String[] mStrings

Constructor Detail

SmallPrefixedNameSetback to summary
public SmallPrefixedNameSet(boolean nsAware, PrefixedName[] names)

Method Detail

appendNamesback to summary
public void appendNames(StringBuilder sb, String sep)

Implements abstract com.ctc.wstx.dtd.PrefixedNameSet.appendNames.

Annotations
@Override
containsback to summary
public boolean contains(PrefixedName name)

Implements abstract com.ctc.wstx.dtd.PrefixedNameSet.contains.

Returns:boolean

True if the set contains specified name; false if not.

Annotations
@Override
hasMultipleback to summary
public boolean hasMultiple()

Implements abstract com.ctc.wstx.dtd.PrefixedNameSet.hasMultiple.

Returns:boolean

Doc from com.ctc.wstx.dtd.PrefixedNameSet.hasMultiple.

True if set contains more than one entry; false if not (empty or has one)

Annotations
@Override