Uses of Class
com.ctc.wstx.util.PrefixedName
Packages that use PrefixedName
Package
Description
Package that contains Woodstox classes that implement DTD handling.
Contains utility classes that are not directly Woodstox specific, but are
for now only used by Woodstox.
-
Uses of PrefixedName in com.ctc.wstx.dtd
Fields in com.ctc.wstx.dtd declared as PrefixedNameModifier and TypeFieldDescription(package private) final PrefixedName
FullDTDReader.mAccessKey
(package private) final PrefixedName
TokenContentSpec.mElemName
(package private) final PrefixedName
TokenContentSpec.Validator.mElemName
(package private) final PrefixedName
TokenModel.mElemName
protected final PrefixedName
DTDAttribute.mName
(package private) final PrefixedName
DTDElement.mName
(package private) final PrefixedName
LargePrefixedNameSet.Bucket.mName
(package private) final PrefixedName[]
LargePrefixedNameSet.mNames
Primary hash area in which NameKeys are added.(package private) final PrefixedName[]
SeqContentSpec.Validator.mNames
protected final PrefixedName
DTDValidatorBase.mTmpKey
Fields in com.ctc.wstx.dtd with type parameters of type PrefixedNameModifier and TypeFieldDescription(package private) HashMap
<PrefixedName, DTDAttribute> DTDElement.mAttrMap
protected HashMap
<PrefixedName, DTDAttribute> DTDValidatorBase.mCurrAttrDefs
Attribute definitions for attributes the current element may have(package private) final HashMap
<PrefixedName, DTDElement> DTDSubsetImpl.mElements
(package private) LinkedHashMap
<PrefixedName, DTDElement> FullDTDReader.mElements
Contains definition of elements and matching content specifications.(package private) final Map
<PrefixedName, DTDElement> DTDValidatorBase.mElemSpecs
Map that contains element specifications from DTD; null if no DOCTYPE declaration found.(package private) HashMap
<PrefixedName, DFAState> DFAState.mNext
(package private) HashMap
<PrefixedName, PrefixedName> FullDTDReader.mSharedNames
Map used to shared PrefixedName instances, to reduce memory usage of (qualified) element and attribute names(package private) HashMap
<PrefixedName, PrefixedName> FullDTDReader.mSharedNames
Map used to shared PrefixedName instances, to reduce memory usage of (qualified) element and attribute namesprotected static final HashMap
<PrefixedName, DTDAttribute> DTDValidatorBase.NO_ATTRS
Methods in com.ctc.wstx.dtd that return PrefixedNameModifier and TypeMethodDescriptionprivate PrefixedName
FullDTDReader.findSharedName
(String prefix, String localName) Method used to 'intern()' qualified names; main benefit is reduced memory usage as the name objects are shared.(package private) PrefixedName
DTDValidatorBase.getElemName()
Name of current element on the top of the element stack.final PrefixedName
DTDAttribute.getName()
DTDElement.getName()
LargePrefixedNameSet.Bucket.getName()
TokenContentSpec.getName()
TokenModel.getName()
private PrefixedName
FullDTDReader.readDTDQName
(char firstChar) Method that will read an element or attribute name from DTD; depending on namespace mode, it can have prefix as well.Methods in com.ctc.wstx.dtd that return types with arguments of type PrefixedNameModifier and TypeMethodDescriptionDTDElement.getAttributes()
abstract HashMap
<PrefixedName, DTDElement> DTDSubset.getElementMap()
DTDSubsetImpl.getElementMap()
private LinkedHashMap
<PrefixedName, DTDElement> FullDTDReader.getElementMap()
DFAState.getNextNames()
Methods in com.ctc.wstx.dtd with parameters of type PrefixedNameModifier and TypeMethodDescriptionDTDElement.addAttribute
(InputProblemReporter rep, PrefixedName attrName, int valueType, DefaultAttrValue defValue, WordResolver enumValues, boolean fullyValidate) Method called by DTD parser when it has read information about an attribute that belong to this elementDTDElement.addNsDefault
(InputProblemReporter rep, PrefixedName attrName, int valueType, DefaultAttrValue defValue, boolean fullyValidate) Method called to add a definition of a namespace-declaration pseudo-attribute with a default value.private String
FullDTDReader.attrDesc
(Object elem, PrefixedName attrName) void
DFAState.calcNext
(PrefixedName[] tokenNames, BitSet[] tokenFPs, List<DFAState> stateList, Map<BitSet, DFAState> stateMap) (package private) static final String
SeqContentSpec.Validator.concatNames
(PrefixedName[] names) static TokenContentSpec
TokenContentSpec.construct
(char arity, PrefixedName elemName) boolean
LargePrefixedNameSet.contains
(PrefixedName name) abstract boolean
PrefixedNameSet.contains
(PrefixedName name) boolean
SmallPrefixedNameSet.contains
(PrefixedName name) static DTDElement
DTDElement.createDefined
(ReaderConfig cfg, Location loc, PrefixedName name, StructValidator val, int allowedContent) Method called to create an actual element definition, matching an ELEMENT directive in a DTD subset.static DTDElement
DTDElement.createPlaceholder
(ReaderConfig cfg, Location loc, PrefixedName name) Method called to create a "placeholder" element definition, needed to contain attribute definitions.DFAState.findNext
(PrefixedName elemName) private void
FullDTDReader.parseAttrDefaultValue
(DefaultAttrValue defVal, char quoteChar, PrefixedName attrName, Location loc, boolean gotFixed) This method is similar toFullDTDReader.parseEntityValue(java.lang.String, javax.xml.stream.Location, char)
in some ways, but has some notable differences, due to the way XML specs define differences.private WordResolver
FullDTDReader.parseEnumerated
(DTDElement elem, PrefixedName attrName, boolean isNotation) Parsing method that reads a list of one or more space-separated tokens (nmtoken or name, depending on 'isNotation' argument)private ContentSpec
FullDTDReader.readContentSpec
(PrefixedName elemName, boolean mainLevel, boolean construct) private StructValidator
FullDTDReader.readMixedSpec
(PrefixedName elemName, boolean construct) Method called to parse what seems like a mixed content specification.private String
FullDTDReader.readNotationEntry
(char c, PrefixedName attrName, Location refLoc) Method called to read a notation reference entry; done both for attributes of type NOTATION, and for external unparsed entities that refer to a notation.private void
FullDTDReader.throwDTDAttrError
(String msg, DTDElement elem, PrefixedName attrName) ChoiceContentSpec.Validator.tryToValidate
(PrefixedName elemName) DFAValidator.tryToValidate
(PrefixedName elemName) EmptyValidator.tryToValidate
(PrefixedName elemName) SeqContentSpec.Validator.tryToValidate
(PrefixedName elemName) abstract String
StructValidator.tryToValidate
(PrefixedName elemName) Method called when a new (start) element is encountered within the scope of parent element this validator monitors.TokenContentSpec.Validator.tryToValidate
(PrefixedName elemName) Method parameters in com.ctc.wstx.dtd with type arguments of type PrefixedNameModifier and TypeMethodDescriptionprivate void
DTDSubsetImpl.combineElements
(InputProblemReporter rep, HashMap<PrefixedName, DTDElement> intElems, HashMap<PrefixedName, DTDElement> extElems) Method that will try to merge in elements defined in the external subset, into internal subset; it will also check for redeclarations when doing this, as it's invalid to redeclare elements.private DTDAttribute
DTDElement.doAddAttribute
(Map<PrefixedName, DTDAttribute> attrMap, InputProblemReporter rep, DTDAttribute attr, List<DTDAttribute> specList, boolean fullyValidate) Constructors in com.ctc.wstx.dtd with parameters of type PrefixedNameModifierConstructorDescriptionBucket
(PrefixedName name, LargePrefixedNameSet.Bucket next) DTDAttribute
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) DTDCdataAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) private
DTDElement
(Location loc, PrefixedName name, StructValidator val, int allowedContent, boolean nsAware, boolean xml11) DTDEntitiesAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) Main constructor.DTDEntityAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) Main constructor.DTDEnumAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11, WordResolver enumValues) DTDIdAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) Main constructor.DTDIdRefAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) Main constructor.DTDIdRefsAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) Main constructor.DTDNmTokenAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) Main constructor.DTDNmTokensAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11) Main constructor.DTDNotationAttr
(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11, WordResolver enumValues) LargePrefixedNameSet
(boolean nsAware, PrefixedName[] names) SmallPrefixedNameSet
(boolean nsAware, PrefixedName[] names) TokenContentSpec
(char arity, PrefixedName elemName) TokenModel
(PrefixedName elemName) Validator
(char arity, PrefixedName[] names) Validator
(char arity, PrefixedName elemName) Constructor parameters in com.ctc.wstx.dtd with type arguments of type PrefixedNameModifierConstructorDescriptionDTDTypingNonValidator
(DTDSubset schema, org.codehaus.stax2.validation.ValidationContext ctxt, boolean hasNsDefaults, Map<PrefixedName, DTDElement> elemSpecs, Map<String, EntityDecl> genEntities) DTDValidator
(DTDSubset schema, org.codehaus.stax2.validation.ValidationContext ctxt, boolean hasNsDefaults, Map<PrefixedName, DTDElement> elemSpecs, Map<String, EntityDecl> genEntities) DTDValidatorBase
(DTDSubset schema, org.codehaus.stax2.validation.ValidationContext ctxt, boolean hasNsDefaults, Map<PrefixedName, DTDElement> elemSpecs, Map<String, EntityDecl> genEntities) -
Uses of PrefixedName in com.ctc.wstx.util
Fields in com.ctc.wstx.util declared as PrefixedNameModifier and TypeFieldDescriptionprivate PrefixedName
ElementId.mAttrName
Name of the attribute that contains this id value (often "id", but need not be)private PrefixedName
ElementId.mElemName
Name of element for which this id refers.Methods in com.ctc.wstx.util that return PrefixedNameModifier and TypeMethodDescriptionElementId.getAttrName()
ElementId.getElemName()
static PrefixedName
Methods in com.ctc.wstx.util with parameters of type PrefixedNameModifier and TypeMethodDescriptionElementIdMap.addDefined
(char[] buffer, int start, int len, int hash, Location loc, PrefixedName elemName, PrefixedName attrName) Method called when an id definition is encountered.ElementIdMap.addDefined
(String idStr, Location loc, PrefixedName elemName, PrefixedName attrName) ElementIdMap.addReferenced
(char[] buffer, int start, int len, int hash, Location loc, PrefixedName elemName, PrefixedName attrName) Method called when a reference to id is encountered.ElementIdMap.addReferenced
(String idStr, Location loc, PrefixedName elemName, PrefixedName attrName) int
PrefixedName.compareTo
(PrefixedName other) Constructors in com.ctc.wstx.util with parameters of type PrefixedNameModifierConstructorDescription(package private)
ElementId
(String id, Location loc, boolean defined, PrefixedName elemName, PrefixedName attrName)