Package nu.validator.htmlparser.impl
Class ErrorReportingTokenizer
- java.lang.Object
-
- nu.validator.htmlparser.impl.Tokenizer
-
- nu.validator.htmlparser.impl.ErrorReportingTokenizer
-
- All Implemented Interfaces:
org.xml.sax.Locator
public class ErrorReportingTokenizer extends Tokenizer
-
-
Field Summary
-
Fields inherited from class nu.validator.htmlparser.impl.Tokenizer
AFTER_ATTRIBUTE_NAME, AFTER_ATTRIBUTE_VALUE_QUOTED, AFTER_DOCTYPE_NAME, AFTER_DOCTYPE_PUBLIC_IDENTIFIER, AFTER_DOCTYPE_PUBLIC_KEYWORD, AFTER_DOCTYPE_SYSTEM_IDENTIFIER, AFTER_DOCTYPE_SYSTEM_KEYWORD, AMBIGUOUS_AMPERSAND, ampersandLocation, ATTRIBUTE_NAME, ATTRIBUTE_VALUE_DOUBLE_QUOTED, ATTRIBUTE_VALUE_SINGLE_QUOTED, ATTRIBUTE_VALUE_UNQUOTED, attributeName, BEFORE_ATTRIBUTE_NAME, BEFORE_ATTRIBUTE_VALUE, BEFORE_DOCTYPE_NAME, BEFORE_DOCTYPE_PUBLIC_IDENTIFIER, BEFORE_DOCTYPE_SYSTEM_IDENTIFIER, BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS, BOGUS_COMMENT, BOGUS_COMMENT_HYPHEN, BOGUS_DOCTYPE, CDATA_RSQB, CDATA_RSQB_RSQB, CDATA_SECTION, CDATA_START, CHARACTER_REFERENCE_HILO_LOOKUP, CHARACTER_REFERENCE_TAIL, CLOSE_TAG_OPEN, COMMENT, COMMENT_END, COMMENT_END_BANG, COMMENT_END_DASH, COMMENT_LESSTHAN, COMMENT_LESSTHAN_BANG, COMMENT_LESSTHAN_BANG_DASH, COMMENT_LESSTHAN_BANG_DASH_DASH, COMMENT_START, COMMENT_START_DASH, confident, CONSUME_CHARACTER_REFERENCE, CONSUME_NCR, cstart, DATA, DECIMAL_NRC_LOOP, DOCTYPE, DOCTYPE_NAME, DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED, DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED, DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED, DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED, DOCTYPE_UBLIC, DOCTYPE_YSTEM, encodingDeclarationHandler, endTag, endTagExpectation, errorHandler, HANDLE_NCR_VALUE, HANDLE_NCR_VALUE_RECONSUME, HEX_NCR_LOOP, index, lastCR, MARKUP_DECLARATION_HYPHEN, MARKUP_DECLARATION_OCTYPE, MARKUP_DECLARATION_OPEN, NON_DATA_END_TAG_NAME, PLAINTEXT, PROCESSING_INSTRUCTION, PROCESSING_INSTRUCTION_QUESTION_MARK, RAWTEXT, RAWTEXT_RCDATA_LESS_THAN_SIGN, RCDATA, SCRIPT_DATA, SCRIPT_DATA_DOUBLE_ESCAPE_END, SCRIPT_DATA_DOUBLE_ESCAPE_START, SCRIPT_DATA_DOUBLE_ESCAPED, SCRIPT_DATA_DOUBLE_ESCAPED_DASH, SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH, SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN, SCRIPT_DATA_ESCAPE_START, SCRIPT_DATA_ESCAPE_START_DASH, SCRIPT_DATA_ESCAPED, SCRIPT_DATA_ESCAPED_DASH, SCRIPT_DATA_ESCAPED_DASH_DASH, SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN, SCRIPT_DATA_LESS_THAN_SIGN, SELF_CLOSING_START_TAG, stateSave, TAG_NAME, TAG_OPEN, tokenHandler, value
-
-
Constructor Summary
Constructors Constructor Description ErrorReportingTokenizer(TokenHandler tokenHandler)ErrorReportingTokenizer(TokenHandler tokenHandler, boolean newAttributesEachTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected charcheckChar(char[] buf, int pos)protected voiderrAstralNonCharacter(int ch)protected voiderrAttributeValueMissing()protected voiderrBadCharAfterLt(char c)protected voiderrBadCharBeforeAttributeNameOrNull(char c)protected voiderrBogusComment()protected voiderrBogusDoctype()protected voiderrCharRefLacksSemicolon()protected voiderrDuplicateAttribute()protected voiderrEofAfterLt()protected voiderrEofInAttributeName()protected voiderrEofInAttributeValue()protected voiderrEofInComment()protected voiderrEofInDoctype()protected voiderrEofInEndTag()protected voiderrEofInPublicId()protected voiderrEofInSystemId()protected voiderrEofInTagName()protected voiderrEofWithoutGt()protected voiderrEqualsSignBeforeAttributeName()protected voiderrExpectedPublicId()protected voiderrExpectedSystemId()protected voiderrGarbageAfterLtSlash()protected voiderrGtInPublicId()protected voiderrGtInSystemId()protected voiderrLtGt()protected voiderrLtOrEqualsOrGraveInUnquotedAttributeOrNull(char c)protected voiderrLtSlashGt()protected voiderrMissingSpaceBeforeDoctypeName()protected voiderrNamelessDoctype()protected voiderrNcrControlChar()protected charerrNcrControlChar(char ch)protected voiderrNcrCr()protected voiderrNcrInC1Range()protected charerrNcrNonCharacter(char ch)protected voiderrNcrOutOfRange()protected voiderrNcrSurrogate()protected voiderrNcrUnassigned()protected voiderrNcrZero()protected voiderrNestedComment()protected voiderrNoDigitsInNCR()protected voiderrNoNamedCharacterMatch()protected voiderrNoSpaceBetweenAttributes()protected voiderrNoSpaceBetweenDoctypePublicKeywordAndQuote()protected voiderrNoSpaceBetweenDoctypeSystemKeywordAndQuote()protected voiderrNoSpaceBetweenPublicAndSystemIds()protected voiderrNotSemicolonTerminated()protected voiderrPrematureEndOfComment()protected voiderrProcessingInstruction()protected voiderrQuoteBeforeAttributeName(char c)protected voiderrQuoteOrLtInAttributeNameOrNull(char c)protected voiderrSlashNotFollowedByGt()protected voiderrUnescapedAmpersandInterpretedAsCharacterReference()protected voiderrUnquotedAttributeValOrNull(char c)protected voiderrWarnLtSlashInRcdata()protected voidflushChars(char[] buf, int pos)Flushes coalesced character tokens.intgetCol()Returns the col.intgetColumnNumber()intgetLine()Returns the line.intgetLineNumber()booleanisNextCharOnNewLine()Returns the nextCharOnNewLine.protected voidmaybeErrAttributesOnEndTag(HtmlAttributes attrs)protected voidmaybeErrSlashInEndTag(boolean selfClosing)protected voidmaybeWarnPrivateUse(char ch)protected voidmaybeWarnPrivateUseAstral()voidnote(java.lang.String profile, java.lang.String message)Reports on an event based on profile selected.protected voidnoteAttributeWithoutValue()protected voidnoteUnquotedAttributeValue()voidsetContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)Sets the contentNonXmlCharPolicy.voidsetErrorProfile(java.util.HashMap<java.lang.String,java.lang.String> errorProfileMap)Sets the errorProfile.voidsetTransitionBaseOffset(int offset)Sets an offset to be added to the position reported toTransitionHandler.voidsetTransitionHandler(TransitionHandler transitionHandler)Sets the transitionHandler.protected voidsilentCarriageReturn()protected voidsilentLineFeed()protected voidstartErrorReporting()protected inttransition(int from, int to, boolean reconsume, int pos)-
Methods inherited from class nu.validator.htmlparser.impl.Tokenizer
becomeConfident, end, eof, err, errHtml4LtSlashInRcdata, errTreeBuilder, fatal, getErrorHandler, getPublicId, getSystemId, initializeWithoutStarting, initLocation, internalEncodingDeclaration, isInDataState, isMappingLangToXmlLang, isPrevCR, loadState, notifyAboutMetaBoundary, requestSuspension, resetToDataState, setCommentPolicy, setContentSpacePolicy, setEncodingDeclarationHandler, setErrorHandler, setInterner, setLineNumber, setMappingLangToXmlLang, setNamePolicy, setStateAndEndTagExpectation, setStateAndEndTagExpectation, setXmlnsPolicy, start, strBufToString, tokenizeBuffer, warn
-
-
-
-
Constructor Detail
-
ErrorReportingTokenizer
public ErrorReportingTokenizer(TokenHandler tokenHandler, boolean newAttributesEachTime)
- Parameters:
tokenHandler-newAttributesEachTime-
-
ErrorReportingTokenizer
public ErrorReportingTokenizer(TokenHandler tokenHandler)
- Parameters:
tokenHandler-
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumberin interfaceorg.xml.sax.Locator- Overrides:
getLineNumberin classTokenizer- See Also:
Locator.getLineNumber()
-
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumberin interfaceorg.xml.sax.Locator- Overrides:
getColumnNumberin classTokenizer- See Also:
Locator.getColumnNumber()
-
setContentNonXmlCharPolicy
public void setContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)
Sets the contentNonXmlCharPolicy.- Overrides:
setContentNonXmlCharPolicyin classTokenizer- Parameters:
contentNonXmlCharPolicy- the contentNonXmlCharPolicy to set
-
setErrorProfile
public void setErrorProfile(java.util.HashMap<java.lang.String,java.lang.String> errorProfileMap)
Sets the errorProfile.- Parameters:
errorProfile-
-
note
public void note(java.lang.String profile, java.lang.String message) throws org.xml.sax.SAXExceptionReports on an event based on profile selected.- Parameters:
profile- the profile this message belongs tomessage- the message itself- Throws:
org.xml.sax.SAXException
-
startErrorReporting
protected void startErrorReporting() throws org.xml.sax.SAXException- Overrides:
startErrorReportingin classTokenizer- Throws:
org.xml.sax.SAXException
-
silentCarriageReturn
protected void silentCarriageReturn()
- Overrides:
silentCarriageReturnin classTokenizer
-
silentLineFeed
protected void silentLineFeed()
- Overrides:
silentLineFeedin classTokenizer
-
getLine
public int getLine()
Returns the line.
-
isNextCharOnNewLine
public boolean isNextCharOnNewLine()
Returns the nextCharOnNewLine.- Overrides:
isNextCharOnNewLinein classTokenizer- Returns:
- the nextCharOnNewLine
-
flushChars
protected void flushChars(char[] buf, int pos) throws org.xml.sax.SAXExceptionFlushes coalesced character tokens.- Overrides:
flushCharsin classTokenizer- Parameters:
buf- TODOpos- TODO- Throws:
org.xml.sax.SAXException
-
checkChar
protected char checkChar(char[] buf, int pos) throws org.xml.sax.SAXException
-
transition
protected int transition(int from, int to, boolean reconsume, int pos) throws org.xml.sax.SAXException- Overrides:
transitionin classTokenizer- Throws:
org.xml.sax.SAXException- See Also:
Tokenizer.transition(int, int, boolean, int)
-
errGarbageAfterLtSlash
protected void errGarbageAfterLtSlash() throws org.xml.sax.SAXException- Overrides:
errGarbageAfterLtSlashin classTokenizer- Throws:
org.xml.sax.SAXException
-
errLtSlashGt
protected void errLtSlashGt() throws org.xml.sax.SAXException- Overrides:
errLtSlashGtin classTokenizer- Throws:
org.xml.sax.SAXException
-
errWarnLtSlashInRcdata
protected void errWarnLtSlashInRcdata() throws org.xml.sax.SAXException- Overrides:
errWarnLtSlashInRcdatain classTokenizer- Throws:
org.xml.sax.SAXException
-
errCharRefLacksSemicolon
protected void errCharRefLacksSemicolon() throws org.xml.sax.SAXException- Overrides:
errCharRefLacksSemicolonin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNoDigitsInNCR
protected void errNoDigitsInNCR() throws org.xml.sax.SAXException- Overrides:
errNoDigitsInNCRin classTokenizer- Throws:
org.xml.sax.SAXException
-
errGtInSystemId
protected void errGtInSystemId() throws org.xml.sax.SAXException- Overrides:
errGtInSystemIdin classTokenizer- Throws:
org.xml.sax.SAXException
-
errGtInPublicId
protected void errGtInPublicId() throws org.xml.sax.SAXException- Overrides:
errGtInPublicIdin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNamelessDoctype
protected void errNamelessDoctype() throws org.xml.sax.SAXException- Overrides:
errNamelessDoctypein classTokenizer- Throws:
org.xml.sax.SAXException
-
errNestedComment
protected void errNestedComment() throws org.xml.sax.SAXException- Overrides:
errNestedCommentin classTokenizer- Throws:
org.xml.sax.SAXException
-
errPrematureEndOfComment
protected void errPrematureEndOfComment() throws org.xml.sax.SAXException- Overrides:
errPrematureEndOfCommentin classTokenizer- Throws:
org.xml.sax.SAXException
-
errBogusComment
protected void errBogusComment() throws org.xml.sax.SAXException- Overrides:
errBogusCommentin classTokenizer- Throws:
org.xml.sax.SAXException
-
errUnquotedAttributeValOrNull
protected void errUnquotedAttributeValOrNull(char c) throws org.xml.sax.SAXException- Overrides:
errUnquotedAttributeValOrNullin classTokenizer- Throws:
org.xml.sax.SAXException
-
errSlashNotFollowedByGt
protected void errSlashNotFollowedByGt() throws org.xml.sax.SAXException- Overrides:
errSlashNotFollowedByGtin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNoSpaceBetweenAttributes
protected void errNoSpaceBetweenAttributes() throws org.xml.sax.SAXException- Overrides:
errNoSpaceBetweenAttributesin classTokenizer- Throws:
org.xml.sax.SAXException
-
errLtOrEqualsOrGraveInUnquotedAttributeOrNull
protected void errLtOrEqualsOrGraveInUnquotedAttributeOrNull(char c) throws org.xml.sax.SAXException- Overrides:
errLtOrEqualsOrGraveInUnquotedAttributeOrNullin classTokenizer- Throws:
org.xml.sax.SAXException
-
errAttributeValueMissing
protected void errAttributeValueMissing() throws org.xml.sax.SAXException- Overrides:
errAttributeValueMissingin classTokenizer- Throws:
org.xml.sax.SAXException
-
errBadCharBeforeAttributeNameOrNull
protected void errBadCharBeforeAttributeNameOrNull(char c) throws org.xml.sax.SAXException- Overrides:
errBadCharBeforeAttributeNameOrNullin classTokenizer- Throws:
org.xml.sax.SAXException
-
errEqualsSignBeforeAttributeName
protected void errEqualsSignBeforeAttributeName() throws org.xml.sax.SAXException- Overrides:
errEqualsSignBeforeAttributeNamein classTokenizer- Throws:
org.xml.sax.SAXException
-
errBadCharAfterLt
protected void errBadCharAfterLt(char c) throws org.xml.sax.SAXException- Overrides:
errBadCharAfterLtin classTokenizer- Throws:
org.xml.sax.SAXException
-
errLtGt
protected void errLtGt() throws org.xml.sax.SAXException
-
errProcessingInstruction
protected void errProcessingInstruction() throws org.xml.sax.SAXException- Overrides:
errProcessingInstructionin classTokenizer- Throws:
org.xml.sax.SAXException
-
errUnescapedAmpersandInterpretedAsCharacterReference
protected void errUnescapedAmpersandInterpretedAsCharacterReference() throws org.xml.sax.SAXException- Overrides:
errUnescapedAmpersandInterpretedAsCharacterReferencein classTokenizer- Throws:
org.xml.sax.SAXException
-
errNotSemicolonTerminated
protected void errNotSemicolonTerminated() throws org.xml.sax.SAXException- Overrides:
errNotSemicolonTerminatedin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNoNamedCharacterMatch
protected void errNoNamedCharacterMatch() throws org.xml.sax.SAXException- Overrides:
errNoNamedCharacterMatchin classTokenizer- Throws:
org.xml.sax.SAXException
-
errQuoteBeforeAttributeName
protected void errQuoteBeforeAttributeName(char c) throws org.xml.sax.SAXException- Overrides:
errQuoteBeforeAttributeNamein classTokenizer- Throws:
org.xml.sax.SAXException
-
errQuoteOrLtInAttributeNameOrNull
protected void errQuoteOrLtInAttributeNameOrNull(char c) throws org.xml.sax.SAXException- Overrides:
errQuoteOrLtInAttributeNameOrNullin classTokenizer- Throws:
org.xml.sax.SAXException
-
errExpectedPublicId
protected void errExpectedPublicId() throws org.xml.sax.SAXException- Overrides:
errExpectedPublicIdin classTokenizer- Throws:
org.xml.sax.SAXException
-
errBogusDoctype
protected void errBogusDoctype() throws org.xml.sax.SAXException- Overrides:
errBogusDoctypein classTokenizer- Throws:
org.xml.sax.SAXException
-
maybeWarnPrivateUseAstral
protected void maybeWarnPrivateUseAstral() throws org.xml.sax.SAXException- Overrides:
maybeWarnPrivateUseAstralin classTokenizer- Throws:
org.xml.sax.SAXException
-
maybeWarnPrivateUse
protected void maybeWarnPrivateUse(char ch) throws org.xml.sax.SAXException- Overrides:
maybeWarnPrivateUsein classTokenizer- Throws:
org.xml.sax.SAXException
-
maybeErrAttributesOnEndTag
protected void maybeErrAttributesOnEndTag(HtmlAttributes attrs) throws org.xml.sax.SAXException
- Overrides:
maybeErrAttributesOnEndTagin classTokenizer- Throws:
org.xml.sax.SAXException
-
maybeErrSlashInEndTag
protected void maybeErrSlashInEndTag(boolean selfClosing) throws org.xml.sax.SAXException- Overrides:
maybeErrSlashInEndTagin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNcrNonCharacter
protected char errNcrNonCharacter(char ch) throws org.xml.sax.SAXException- Overrides:
errNcrNonCharacterin classTokenizer- Throws:
org.xml.sax.SAXException
-
errAstralNonCharacter
protected void errAstralNonCharacter(int ch) throws org.xml.sax.SAXException- Overrides:
errAstralNonCharacterin classTokenizer- Throws:
org.xml.sax.SAXException- See Also:
Tokenizer.errAstralNonCharacter(int)
-
errNcrSurrogate
protected void errNcrSurrogate() throws org.xml.sax.SAXException- Overrides:
errNcrSurrogatein classTokenizer- Throws:
org.xml.sax.SAXException
-
errNcrControlChar
protected char errNcrControlChar(char ch) throws org.xml.sax.SAXException- Overrides:
errNcrControlCharin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNcrCr
protected void errNcrCr() throws org.xml.sax.SAXException
-
errNcrInC1Range
protected void errNcrInC1Range() throws org.xml.sax.SAXException- Overrides:
errNcrInC1Rangein classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofInPublicId
protected void errEofInPublicId() throws org.xml.sax.SAXException- Overrides:
errEofInPublicIdin classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofInComment
protected void errEofInComment() throws org.xml.sax.SAXException- Overrides:
errEofInCommentin classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofInDoctype
protected void errEofInDoctype() throws org.xml.sax.SAXException- Overrides:
errEofInDoctypein classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofInAttributeValue
protected void errEofInAttributeValue() throws org.xml.sax.SAXException- Overrides:
errEofInAttributeValuein classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofInAttributeName
protected void errEofInAttributeName() throws org.xml.sax.SAXException- Overrides:
errEofInAttributeNamein classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofWithoutGt
protected void errEofWithoutGt() throws org.xml.sax.SAXException- Overrides:
errEofWithoutGtin classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofInTagName
protected void errEofInTagName() throws org.xml.sax.SAXException- Overrides:
errEofInTagNamein classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofInEndTag
protected void errEofInEndTag() throws org.xml.sax.SAXException- Overrides:
errEofInEndTagin classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofAfterLt
protected void errEofAfterLt() throws org.xml.sax.SAXException- Overrides:
errEofAfterLtin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNcrOutOfRange
protected void errNcrOutOfRange() throws org.xml.sax.SAXException- Overrides:
errNcrOutOfRangein classTokenizer- Throws:
org.xml.sax.SAXException
-
errNcrUnassigned
protected void errNcrUnassigned() throws org.xml.sax.SAXException- Overrides:
errNcrUnassignedin classTokenizer- Throws:
org.xml.sax.SAXException
-
errDuplicateAttribute
protected void errDuplicateAttribute() throws org.xml.sax.SAXException- Overrides:
errDuplicateAttributein classTokenizer- Throws:
org.xml.sax.SAXException
-
errEofInSystemId
protected void errEofInSystemId() throws org.xml.sax.SAXException- Overrides:
errEofInSystemIdin classTokenizer- Throws:
org.xml.sax.SAXException
-
errExpectedSystemId
protected void errExpectedSystemId() throws org.xml.sax.SAXException- Overrides:
errExpectedSystemIdin classTokenizer- Throws:
org.xml.sax.SAXException
-
errMissingSpaceBeforeDoctypeName
protected void errMissingSpaceBeforeDoctypeName() throws org.xml.sax.SAXException- Overrides:
errMissingSpaceBeforeDoctypeNamein classTokenizer- Throws:
org.xml.sax.SAXException
-
errNcrControlChar
protected void errNcrControlChar() throws org.xml.sax.SAXException- Overrides:
errNcrControlCharin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNcrZero
protected void errNcrZero() throws org.xml.sax.SAXException- Overrides:
errNcrZeroin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNoSpaceBetweenDoctypeSystemKeywordAndQuote
protected void errNoSpaceBetweenDoctypeSystemKeywordAndQuote() throws org.xml.sax.SAXException- Overrides:
errNoSpaceBetweenDoctypeSystemKeywordAndQuotein classTokenizer- Throws:
org.xml.sax.SAXException
-
errNoSpaceBetweenPublicAndSystemIds
protected void errNoSpaceBetweenPublicAndSystemIds() throws org.xml.sax.SAXException- Overrides:
errNoSpaceBetweenPublicAndSystemIdsin classTokenizer- Throws:
org.xml.sax.SAXException
-
errNoSpaceBetweenDoctypePublicKeywordAndQuote
protected void errNoSpaceBetweenDoctypePublicKeywordAndQuote() throws org.xml.sax.SAXException- Overrides:
errNoSpaceBetweenDoctypePublicKeywordAndQuotein classTokenizer- Throws:
org.xml.sax.SAXException
-
noteAttributeWithoutValue
protected void noteAttributeWithoutValue() throws org.xml.sax.SAXException- Overrides:
noteAttributeWithoutValuein classTokenizer- Throws:
org.xml.sax.SAXException
-
noteUnquotedAttributeValue
protected void noteUnquotedAttributeValue() throws org.xml.sax.SAXException- Overrides:
noteUnquotedAttributeValuein classTokenizer- Throws:
org.xml.sax.SAXException
-
setTransitionHandler
public void setTransitionHandler(TransitionHandler transitionHandler)
Sets the transitionHandler.- Parameters:
transitionHandler- the transitionHandler to set
-
setTransitionBaseOffset
public void setTransitionBaseOffset(int offset)
Sets an offset to be added to the position reported toTransitionHandler.- Overrides:
setTransitionBaseOffsetin classTokenizer- Parameters:
offset- the offset
-
-