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 PrefixedNameFullDTDReader.mAccessKey(package private) final PrefixedNameTokenContentSpec.mElemName(package private) final PrefixedNameTokenContentSpec.Validator.mElemName(package private) final PrefixedNameTokenModel.mElemNameprotected final PrefixedNameDTDAttribute.mName(package private) final PrefixedNameDTDElement.mName(package private) final PrefixedNameLargePrefixedNameSet.Bucket.mName(package private) final PrefixedName[]LargePrefixedNameSet.mNamesPrimary hash area in which NameKeys are added.(package private) final PrefixedName[]SeqContentSpec.Validator.mNamesprotected final PrefixedNameDTDValidatorBase.mTmpKeyFields in com.ctc.wstx.dtd with type parameters of type PrefixedNameModifier and TypeFieldDescription(package private) HashMap<PrefixedName, DTDAttribute> DTDElement.mAttrMapprotected HashMap<PrefixedName, DTDAttribute> DTDValidatorBase.mCurrAttrDefsAttribute definitions for attributes the current element may have(package private) final HashMap<PrefixedName, DTDElement> DTDSubsetImpl.mElements(package private) LinkedHashMap<PrefixedName, DTDElement> FullDTDReader.mElementsContains definition of elements and matching content specifications.(package private) final Map<PrefixedName, DTDElement> DTDValidatorBase.mElemSpecsMap 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.mSharedNamesMap used to shared PrefixedName instances, to reduce memory usage of (qualified) element and attribute names(package private) HashMap<PrefixedName, PrefixedName> FullDTDReader.mSharedNamesMap used to shared PrefixedName instances, to reduce memory usage of (qualified) element and attribute namesprotected static final HashMap<PrefixedName, DTDAttribute> DTDValidatorBase.NO_ATTRSMethods in com.ctc.wstx.dtd that return PrefixedNameModifier and TypeMethodDescriptionprivate PrefixedNameFullDTDReader.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) PrefixedNameDTDValidatorBase.getElemName()Name of current element on the top of the element stack.final PrefixedNameDTDAttribute.getName()DTDElement.getName()LargePrefixedNameSet.Bucket.getName()TokenContentSpec.getName()TokenModel.getName()private PrefixedNameFullDTDReader.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 StringFullDTDReader.attrDesc(Object elem, PrefixedName attrName) voidDFAState.calcNext(PrefixedName[] tokenNames, BitSet[] tokenFPs, List<DFAState> stateList, Map<BitSet, DFAState> stateMap) (package private) static final StringSeqContentSpec.Validator.concatNames(PrefixedName[] names) static TokenContentSpecTokenContentSpec.construct(char arity, PrefixedName elemName) booleanLargePrefixedNameSet.contains(PrefixedName name) abstract booleanPrefixedNameSet.contains(PrefixedName name) booleanSmallPrefixedNameSet.contains(PrefixedName name) static DTDElementDTDElement.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 DTDElementDTDElement.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 voidFullDTDReader.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 WordResolverFullDTDReader.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 ContentSpecFullDTDReader.readContentSpec(PrefixedName elemName, boolean mainLevel, boolean construct) private StructValidatorFullDTDReader.readMixedSpec(PrefixedName elemName, boolean construct) Method called to parse what seems like a mixed content specification.private StringFullDTDReader.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 voidFullDTDReader.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 StringStructValidator.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 voidDTDSubsetImpl.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 DTDAttributeDTDElement.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) privateDTDElement(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 PrefixedNameElementId.mAttrNameName of the attribute that contains this id value (often "id", but need not be)private PrefixedNameElementId.mElemNameName of element for which this id refers.Methods in com.ctc.wstx.util that return PrefixedNameModifier and TypeMethodDescriptionElementId.getAttrName()ElementId.getElemName()static PrefixedNameMethods 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) intPrefixedName.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)