META-INF/
META-INF/MANIFEST.MF
org/
org/owasp/
org/owasp/html/
org/owasp/html/AbstractTokenStream.classHtmlLexer.java
package org.owasp.html
abstract org.owasp.html.AbstractTokenStream extends java.lang.Object implements org.owasp.html.TokenStream {
private org.owasp.html.HtmlToken tok
void ()
public final boolean hasNext ()
public org.owasp.html.HtmlToken next ()
org.owasp.html.HtmlToken t
protected abstract org.owasp.html.HtmlToken produce ()
}
org/owasp/html/AttributePolicy$1.classAttributePolicy.java
package org.owasp.html
final org.owasp.html.AttributePolicy$1 extends java.lang.Object implements org.owasp.html.AttributePolicy {
void ()
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
String elementName
String attributeName
String value
}
org/owasp/html/AttributePolicy$2.classAttributePolicy.java
package org.owasp.html
final org.owasp.html.AttributePolicy$2 extends java.lang.Object implements org.owasp.html.AttributePolicy {
void ()
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
String elementName
String attributeName
String value
}
org/owasp/html/AttributePolicy$Util.classAttributePolicy.java
package org.owasp.html
public final org.owasp.html.AttributePolicy$Util extends java.lang.Object {
public void ()
public static final transient org.owasp.html.AttributePolicy join (org.owasp.html.AttributePolicy[])
org.owasp.html.AttributePolicy p
org.owasp.html.AttributePolicy[] arr$
int len$
int i$
org.owasp.html.AttributePolicy[] policies
java.util.Set uniq
}
org/owasp/html/AttributePolicy.classAttributePolicy.java
package org.owasp.html
public abstract org.owasp.html.AttributePolicy extends java.lang.Object {
public static final org.owasp.html.AttributePolicy IDENTITY_ATTRIBUTE_POLICY
public static final org.owasp.html.AttributePolicy REJECT_ALL_ATTRIBUTE_POLICY
public abstract java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
static void ()
}
org/owasp/html/CssGrammar$1.classCssGrammar.java
package org.owasp.html
org.owasp.html.CssGrammar$1 extends java.lang.Object {
static final int[] $SwitchMap$org$owasp$html$CssTokens$TokenType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
org/owasp/html/CssGrammar$PropertyHandler.classCssGrammar.java
package org.owasp.html
abstract org.owasp.html.CssGrammar$PropertyHandler extends java.lang.Object {
public abstract void startProperty (java.lang.String)
public abstract void quantity (java.lang.String)
public abstract void identifier (java.lang.String)
public abstract void hash (java.lang.String)
public abstract void quotedString (java.lang.String)
public abstract void url (java.lang.String)
public abstract void punctuation (java.lang.String)
public abstract void startFunction (java.lang.String)
public abstract void endFunction (java.lang.String)
public abstract void endProperty ()
}
org/owasp/html/CssGrammar.classCssGrammar.java
package org.owasp.html
final org.owasp.html.CssGrammar extends java.lang.Object {
void ()
private static void errorRecoveryUntilSemiOrCloseBracket (org.owasp.html.CssTokens$TokenIterator)
org.owasp.html.CssTokens$TokenIterator it
int bracketDepth
static void parsePropertyGroup (java.lang.String, org.owasp.html.CssGrammar$PropertyHandler)
String name
String css
org.owasp.html.CssGrammar$PropertyHandler handler
org.owasp.html.CssTokens tokens
org.owasp.html.CssTokens$TokenIterator it
private static void parsePropertyValue (org.owasp.html.CssTokens$TokenIterator, org.owasp.html.CssGrammar$PropertyHandler)
org.owasp.html.CssTokens$TokenIterator actuals
org.owasp.html.CssTokens$TokenType type
String token
org.owasp.html.CssTokens$TokenIterator it
org.owasp.html.CssGrammar$PropertyHandler handler
static java.lang.String cssContent (java.lang.String)
char ch0
RuntimeException ex
char ch
int end
int codepoint
int esc
String token
int n
int pos
StringBuilder sb
private static boolean isHex (int)
int codepoint
}
org/owasp/html/CssSchema$1.classCssSchema.java
package org.owasp.html
org.owasp.html.CssSchema$1 extends java.lang.Object {
}
org/owasp/html/CssSchema$Property.classCssSchema.java
package org.owasp.html
final org.owasp.html.CssSchema$Property extends java.lang.Object {
final int bits
final com.google.common.collect.ImmutableSet literals
final com.google.common.collect.ImmutableMap fnKeys
private void (int, com.google.common.collect.ImmutableSet, com.google.common.collect.ImmutableMap)
int bits
com.google.common.collect.ImmutableSet literals
com.google.common.collect.ImmutableMap fnKeys
void (int, com.google.common.collect.ImmutableSet, com.google.common.collect.ImmutableMap, org.owasp.html.CssSchema$1)
int x0
com.google.common.collect.ImmutableSet x1
com.google.common.collect.ImmutableMap x2
org.owasp.html.CssSchema$1 x3
}
org/owasp/html/CssSchema.classCssSchema.java
package org.owasp.html
public final org.owasp.html.CssSchema extends java.lang.Object {
static final int BIT_QUANTITY
static final int BIT_HASH_VALUE
static final int BIT_NEGATIVE
static final int BIT_STRING
static final int BIT_URL
static final int BIT_UNRESERVED_WORD
static final int BIT_UNICODE_RANGE
static final org.owasp.html.CssSchema$Property DISALLOWED
private final com.google.common.collect.ImmutableMap properties
static final com.google.common.collect.ImmutableMap DEFINITIONS
static final com.google.common.collect.ImmutableSet DEFAULT_WHITELIST
public static final org.owasp.html.CssSchema DEFAULT
private void (com.google.common.collect.ImmutableMap)
com.google.common.collect.ImmutableMap properties
public static org.owasp.html.CssSchema withProperties (java.lang.Iterable)
org.owasp.html.CssSchema$Property prop
String propertyName
java.util.Iterator i$
Iterable propertyNames
com.google.common.collect.ImmutableMap$Builder propertiesBuilder
public static transient org.owasp.html.CssSchema union (org.owasp.html.CssSchema[])
org.owasp.html.CssSchema cssSchema
org.owasp.html.CssSchema[] arr$
int len$
int i$
org.owasp.html.CssSchema[] cssSchemas
java.util.Map properties
public java.util.Set allowedProperties ()
org.owasp.html.CssSchema$Property forKey (java.lang.String)
String barePropertyName
String propertyName
org.owasp.html.CssSchema$Property property
int n
private static java.lang.String stripVendorPrefix (java.lang.String)
String cssKeyword
int prefixLen
private static transient com.google.common.collect.ImmutableSet union (com.google.common.collect.ImmutableSet[])
com.google.common.collect.ImmutableSet subset
com.google.common.collect.ImmutableSet[] arr$
int len$
int i$
com.google.common.collect.ImmutableSet[] subsets
com.google.common.collect.ImmutableSet$Builder all
public static transient void main (java.lang.String[])
java.util.Map$Entry e
java.util.Iterator i$
String key
java.util.Iterator i$
String literal
java.util.Iterator i$
String[] argv
java.util.SortedSet keys
java.util.SortedSet literals
static void ()
com.google.common.collect.ImmutableMap zeroFns
com.google.common.collect.ImmutableMap$Builder builder
com.google.common.collect.ImmutableSet mozBorderRadiusLiterals0
com.google.common.collect.ImmutableSet mozOpacityLiterals0
com.google.common.collect.ImmutableSet mozOutlineLiterals0
com.google.common.collect.ImmutableSet mozOutlineLiterals1
com.google.common.collect.ImmutableSet mozOutlineLiterals2
com.google.common.collect.ImmutableSet mozOutlineLiterals3
com.google.common.collect.ImmutableMap mozOutlineFunctions
com.google.common.collect.ImmutableSet mozOutlineColorLiterals0
com.google.common.collect.ImmutableSet mozOutlineStyleLiterals0
com.google.common.collect.ImmutableSet mozOutlineWidthLiterals0
com.google.common.collect.ImmutableSet oTextOverflowLiterals0
com.google.common.collect.ImmutableSet azimuthLiterals0
com.google.common.collect.ImmutableSet azimuthLiterals1
com.google.common.collect.ImmutableSet azimuthLiterals2
com.google.common.collect.ImmutableSet backgroundLiterals0
com.google.common.collect.ImmutableSet backgroundLiterals1
com.google.common.collect.ImmutableSet backgroundLiterals2
com.google.common.collect.ImmutableSet backgroundLiterals3
com.google.common.collect.ImmutableMap backgroundFunctions
com.google.common.collect.ImmutableSet backgroundAttachmentLiterals0
com.google.common.collect.ImmutableSet backgroundColorLiterals0
com.google.common.collect.ImmutableSet backgroundImageLiterals0
com.google.common.collect.ImmutableMap backgroundImageFunctions
com.google.common.collect.ImmutableSet backgroundPositionLiterals0
com.google.common.collect.ImmutableSet backgroundRepeatLiterals0
com.google.common.collect.ImmutableSet borderLiterals0
com.google.common.collect.ImmutableSet borderCollapseLiterals0
com.google.common.collect.ImmutableSet bottomLiterals0
com.google.common.collect.ImmutableSet boxShadowLiterals0
com.google.common.collect.ImmutableSet clearLiterals0
com.google.common.collect.ImmutableMap clipFunctions
com.google.common.collect.ImmutableSet contentLiterals0
com.google.common.collect.ImmutableSet cueLiterals0
com.google.common.collect.ImmutableSet cursorLiterals0
com.google.common.collect.ImmutableSet cursorLiterals1
com.google.common.collect.ImmutableSet directionLiterals0
com.google.common.collect.ImmutableSet displayLiterals0
com.google.common.collect.ImmutableSet elevationLiterals0
com.google.common.collect.ImmutableSet emptyCellsLiterals0
com.google.common.collect.ImmutableSet fontLiterals0
com.google.common.collect.ImmutableSet fontLiterals1
com.google.common.collect.ImmutableSet fontLiterals2
com.google.common.collect.ImmutableSet fontLiterals3
com.google.common.collect.ImmutableSet fontLiterals4
com.google.common.collect.ImmutableSet fontLiterals5
com.google.common.collect.ImmutableSet fontFamilyLiterals0
com.google.common.collect.ImmutableSet fontStretchLiterals0
com.google.common.collect.ImmutableSet fontStretchLiterals1
com.google.common.collect.ImmutableSet fontStyleLiterals0
com.google.common.collect.ImmutableSet fontVariantLiterals0
com.google.common.collect.ImmutableSet listStyleLiterals0
com.google.common.collect.ImmutableSet listStyleLiterals1
com.google.common.collect.ImmutableSet listStyleLiterals2
com.google.common.collect.ImmutableSet maxHeightLiterals0
com.google.common.collect.ImmutableSet overflowLiterals0
com.google.common.collect.ImmutableSet overflowXLiterals0
com.google.common.collect.ImmutableSet overflowXLiterals1
com.google.common.collect.ImmutableSet pageBreakAfterLiterals0
com.google.common.collect.ImmutableSet pageBreakInsideLiterals0
com.google.common.collect.ImmutableSet pitchLiterals0
com.google.common.collect.ImmutableSet playDuringLiterals0
com.google.common.collect.ImmutableSet positionLiterals0
com.google.common.collect.ImmutableSet speakLiterals0
com.google.common.collect.ImmutableSet speakHeaderLiterals0
com.google.common.collect.ImmutableSet speakNumeralLiterals0
com.google.common.collect.ImmutableSet speakPunctuationLiterals0
com.google.common.collect.ImmutableSet speechRateLiterals0
com.google.common.collect.ImmutableSet tableLayoutLiterals0
com.google.common.collect.ImmutableSet textAlignLiterals0
com.google.common.collect.ImmutableSet textDecorationLiterals0
com.google.common.collect.ImmutableSet textTransformLiterals0
com.google.common.collect.ImmutableSet textWrapLiterals0
com.google.common.collect.ImmutableSet unicodeBidiLiterals0
com.google.common.collect.ImmutableSet verticalAlignLiterals0
com.google.common.collect.ImmutableSet visibilityLiterals0
com.google.common.collect.ImmutableSet voiceFamilyLiterals0
com.google.common.collect.ImmutableSet volumeLiterals0
com.google.common.collect.ImmutableSet whiteSpaceLiterals0
com.google.common.collect.ImmutableSet wordWrapLiterals0
com.google.common.collect.ImmutableSet rgb$FunLiterals0
com.google.common.collect.ImmutableSet linearGradient$FunLiterals0
com.google.common.collect.ImmutableSet radialGradient$FunLiterals0
com.google.common.collect.ImmutableSet radialGradient$FunLiterals1
com.google.common.collect.ImmutableSet rect$FunLiterals0
org.owasp.html.CssSchema$Property mozBorderRadius
org.owasp.html.CssSchema$Property mozBorderRadiusBottomleft
org.owasp.html.CssSchema$Property mozOpacity
org.owasp.html.CssSchema$Property mozOutline
org.owasp.html.CssSchema$Property mozOutlineColor
org.owasp.html.CssSchema$Property mozOutlineStyle
org.owasp.html.CssSchema$Property mozOutlineWidth
org.owasp.html.CssSchema$Property oTextOverflow
org.owasp.html.CssSchema$Property azimuth
org.owasp.html.CssSchema$Property background
org.owasp.html.CssSchema$Property backgroundColor
org.owasp.html.CssSchema$Property backgroundPosition
org.owasp.html.CssSchema$Property backgroundRepeat
org.owasp.html.CssSchema$Property border
org.owasp.html.CssSchema$Property borderBottomColor
org.owasp.html.CssSchema$Property borderSpacing
org.owasp.html.CssSchema$Property bottom
org.owasp.html.CssSchema$Property boxShadow
org.owasp.html.CssSchema$Property captionSide
org.owasp.html.CssSchema$Property clear
org.owasp.html.CssSchema$Property color
org.owasp.html.CssSchema$Property cue
org.owasp.html.CssSchema$Property cursor
org.owasp.html.CssSchema$Property direction
org.owasp.html.CssSchema$Property display
org.owasp.html.CssSchema$Property elevation
org.owasp.html.CssSchema$Property emptyCells
org.owasp.html.CssSchema$Property cssFloat
org.owasp.html.CssSchema$Property font
org.owasp.html.CssSchema$Property fontFamily
org.owasp.html.CssSchema$Property fontSize
org.owasp.html.CssSchema$Property fontStretch
org.owasp.html.CssSchema$Property fontStyle
org.owasp.html.CssSchema$Property fontWeight
org.owasp.html.CssSchema$Property height
org.owasp.html.CssSchema$Property letterSpacing
org.owasp.html.CssSchema$Property listStyle
org.owasp.html.CssSchema$Property listStylePosition
org.owasp.html.CssSchema$Property listStyleType
org.owasp.html.CssSchema$Property margin
org.owasp.html.CssSchema$Property maxHeight
org.owasp.html.CssSchema$Property opacity
org.owasp.html.CssSchema$Property overflowX
org.owasp.html.CssSchema$Property padding
org.owasp.html.CssSchema$Property pageBreakAfter
org.owasp.html.CssSchema$Property pitch
org.owasp.html.CssSchema$Property position
org.owasp.html.CssSchema$Property speakNumeral
org.owasp.html.CssSchema$Property speechRate
org.owasp.html.CssSchema$Property textAlign
org.owasp.html.CssSchema$Property textDecoration
org.owasp.html.CssSchema$Property textTransform
org.owasp.html.CssSchema$Property textWrap
org.owasp.html.CssSchema$Property unicodeBidi
org.owasp.html.CssSchema$Property verticalAlign
org.owasp.html.CssSchema$Property voiceFamily
org.owasp.html.CssSchema$Property volume
org.owasp.html.CssSchema$Property whiteSpace
org.owasp.html.CssSchema$Property rgb$Fun
org.owasp.html.CssSchema$Property image$Fun
org.owasp.html.CssSchema$Property linearGradient$Fun
org.owasp.html.CssSchema$Property radialGradient$Fun
}
org/owasp/html/CssTokens$1.classCssTokens.java
package org.owasp.html
org.owasp.html.CssTokens$1 extends java.lang.Object {
}
org/owasp/html/CssTokens$Brackets.classCssTokens.java
package org.owasp.html
final org.owasp.html.CssTokens$Brackets extends java.lang.Object {
private final int[] brackets
private void (int[])
int[] brackets
int partner (int)
int tokenIndex
int bracketIndex
int bracketIndexForToken (int)
int mid
int value
int target
int left
int right
void (int[], org.owasp.html.CssTokens$1)
int[] x0
org.owasp.html.CssTokens$1 x1
}
org/owasp/html/CssTokens$Lexer.classCssTokens.java
package org.owasp.html
final org.owasp.html.CssTokens$Lexer extends java.lang.Object {
private final String css
private final StringBuilder sb
private int pos
private final int cssLimit
private java.util.List tokenTypes
private int[] tokenBreaks
private int tokenBreaksLimit
private int[] brackets
private int bracketsLimit
private int[] open
private int openLimit
private static final long HEX_ENCODED_BITMASK
static final boolean $assertionsDisabled
void (java.lang.String)
String css
org.owasp.html.CssTokens$TokenType openBracket (char)
char bracketChar
char close
org.owasp.html.CssTokens$TokenType type
void closeBracket (char)
char bracketChar
int openLimitAfterClose
private void closeBrackets (int)
int closeBracket
int openBracketIndex
int openTokenIndex
int openLimitAfterClose
int spaceNeeded
int closeTokenIndex
org.owasp.html.CssTokens build ()
int startOfCloseBrackets
int[] bracketsTrunc
int cssEnd
String normalizedCss
int[] tokenBreaksTrunc
org.owasp.html.CssTokens$TokenType[] tokenTypesArr
void lex ()
org.owasp.html.CssTokens$TokenType type
char lookahead
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType hashType
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
char next
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
char lookahead
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
char lookahead
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType identType
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType identType
org.owasp.html.CssTokens$TokenType type
org.owasp.html.CssTokens$TokenType type
int chlower
int sbLen
char ch
int startOfToken
int startOfOutputToken
org.owasp.html.CssTokens$TokenType type
int endOfOutputToken
String css
int cssLimit
private void emitMergedTokens (int, int)
org.owasp.html.CssTokens$TokenType delimType
int e
int start
int end
private void emitToken (org.owasp.html.CssTokens$TokenType, int)
org.owasp.html.CssTokens$TokenType type
int startOfOutputToken
private void consumeDelim (char)
char ch
private boolean consumeIgnorable ()
int ast
char next
char ch
String css
int cssLimit
int posBefore
private void breakOutput ()
int last
private void consumeColumn ()
private void consumeMatch (char)
char ch
private void consumeIdent (boolean)
int posBefore
int decoded
boolean allowFirstDigit
int cssLimit
int last
int nCodepoints
int sbAtStart
int posAtStart
private boolean consumeAtKeyword ()
int bufferLengthBeforeWrite
int posBeforeKeyword
private int consumeAndDecodeEscapeSequence ()
char next
int hexValue
int hexStart
int hexLimit
int hexEnd
String css
int cssLimit
char esc
int escLower
private static boolean isHexEncoded (int)
int codepoint
private void encodeCharOntoOutput (int, int)
int codepoint
int last
private org.owasp.html.CssTokens$TokenType consumeNumberOrPercentageOrDimension ()
char ch
char ch
char ch
char ch
char ch
char ch
int unitEnd
org.owasp.html.CssTokens$TokenType type
char ch
int i
int unitEnd
int bufferBeforeUnit
int bufferAfterUnit
boolean knownUnit
String css
int cssLimit
boolean isZero
int intStart
int intEnd
int fractionStart
int fractionEnd
int exponentStart
int exponentIntStart
int exponentEnd
boolean isExponentZero
int unitStart
int unitEnd
org.owasp.html.CssTokens$TokenType type
private org.owasp.html.CssTokens$TokenType consumeString ()
char ch
int decoded
String css
int cssLimit
char delim
int startOfStringOnOutput
int last
boolean closed
private org.owasp.html.CssTokens$TokenType consumeHash ()
char chLower
int i
int beforeIdent
private boolean consumeUnicodeRange ()
char chLower
char chLower
int numEndDigits
int numStartDigits
boolean hasQmark
String css
int cssLimit
int start
int startOfOutput
boolean ok
private org.owasp.html.CssTokens$TokenType consumeIdentOrUrlOrFunction ()
char next
int bufferStart
int posBefore
boolean parenAfter
private boolean consumeUrlValue ()
char ch
int delim
char ch
int delim
int octet0
int octet1
int octet0
int octet1
int octet2
int octet0
int octet1
int octet2
int octet3
int decoded
char ch
String css
int cssLimit
int delim
private int readCodepoint ()
char next
String css
char ch
static void ()
}
org/owasp/html/CssTokens$TokenIterator.classCssTokens.java
package org.owasp.html
public final org.owasp.html.CssTokens$TokenIterator extends java.lang.Object implements java.util.Iterator {
private int tokenIndex
private final int limit
final org.owasp.html.CssTokens this$0
void (org.owasp.html.CssTokens, int)
int limit
public boolean hasNext ()
public java.lang.String next ()
String token
public org.owasp.html.CssTokens$TokenIterator spliceToEnd ()
int end
org.owasp.html.CssTokens$TokenIterator between
public int tokenIndex ()
public int startOffset ()
public int endOffset ()
public java.lang.String token ()
public boolean hasToken ()
public boolean hasTokenAfterSpace ()
public org.owasp.html.CssTokens$TokenType type ()
public void seek (int)
int tokenIndex
public void advance ()
public void backup ()
public void remove () throws java.lang.UnsupportedOperationException
public volatile java.lang.Object next ()
}
org/owasp/html/CssTokens$TokenType.classCssTokens.java
package org.owasp.html
public final org.owasp.html.CssTokens$TokenType extends java.lang.Enum {
public static final org.owasp.html.CssTokens$TokenType IDENT
public static final org.owasp.html.CssTokens$TokenType DOT_IDENT
public static final org.owasp.html.CssTokens$TokenType FUNCTION
public static final org.owasp.html.CssTokens$TokenType AT
public static final org.owasp.html.CssTokens$TokenType HASH_ID
public static final org.owasp.html.CssTokens$TokenType HASH_UNRESTRICTED
public static final org.owasp.html.CssTokens$TokenType STRING
public static final org.owasp.html.CssTokens$TokenType URL
public static final org.owasp.html.CssTokens$TokenType DELIM
public static final org.owasp.html.CssTokens$TokenType NUMBER
public static final org.owasp.html.CssTokens$TokenType PERCENTAGE
public static final org.owasp.html.CssTokens$TokenType DIMENSION
public static final org.owasp.html.CssTokens$TokenType BAD_DIMENSION
public static final org.owasp.html.CssTokens$TokenType UNICODE_RANGE
public static final org.owasp.html.CssTokens$TokenType MATCH
public static final org.owasp.html.CssTokens$TokenType COLUMN
public static final org.owasp.html.CssTokens$TokenType WHITESPACE
public static final org.owasp.html.CssTokens$TokenType COLON
public static final org.owasp.html.CssTokens$TokenType SEMICOLON
public static final org.owasp.html.CssTokens$TokenType COMMA
public static final org.owasp.html.CssTokens$TokenType LEFT_SQUARE
public static final org.owasp.html.CssTokens$TokenType RIGHT_SQUARE
public static final org.owasp.html.CssTokens$TokenType LEFT_PAREN
public static final org.owasp.html.CssTokens$TokenType RIGHT_PAREN
public static final org.owasp.html.CssTokens$TokenType LEFT_CURLY
public static final org.owasp.html.CssTokens$TokenType RIGHT_CURLY
private static final org.owasp.html.CssTokens$TokenType[] $VALUES
public static org.owasp.html.CssTokens$TokenType[] values ()
public static org.owasp.html.CssTokens$TokenType valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/owasp/html/CssTokens.classCssTokens.java
package org.owasp.html
final org.owasp.html.CssTokens extends java.lang.Object implements java.lang.Iterable {
public final String normalizedCss
public final org.owasp.html.CssTokens$Brackets brackets
private final int[] tokenBreaks
private final org.owasp.html.CssTokens$TokenType[] tokenTypes
private static final int[] ZERO_INTS
private static final org.owasp.html.CssTokens$TokenType[] ZERO_TYPES
private static final org.owasp.html.CssTokens$Brackets EMPTY_BRACKETS
private static final org.owasp.html.CssTokens EMPTY
private static final boolean[] IDENT_PART_ASCII
private static final int LINE_TERMINATOR_BITMASK
private static final int LENGTH_UNIT_TYPE
private static final int ANGLE_UNIT_TYPE
private static final int TIME_UNIT_TYPE
private static final int FREQUENCY_UNIT_TYPE
private static final int RESOLUTION_UNIT_TYPE
private static final org.owasp.html.Trie UNIT_TRIE
private static final boolean[] URL_SAFE
private static final char[] HEX_DIGITS
public org.owasp.html.CssTokens$TokenIterator start ()
public org.owasp.html.CssTokens$TokenIterator iterator ()
public static org.owasp.html.CssTokens lex (java.lang.String)
String css
org.owasp.html.CssTokens$Lexer lexer
private void (java.lang.String, org.owasp.html.CssTokens$Brackets, int[], org.owasp.html.CssTokens$TokenType[])
String normalizedCss
org.owasp.html.CssTokens$Brackets brackets
int[] tokenBreaks
org.owasp.html.CssTokens$TokenType[] tokenTypes
private static final boolean isIdentPart (int)
int cp
private static final boolean isDecimal (char)
char ch
private static boolean isLineTerminator (char)
char ch
private static int[] expandIfNecessary (int[], int, int)
int[] arr
int limit
int needed
int neededLength
int length
int[] newArr
private static int[] truncateOrShare (int[], int)
int[] arr
int limit
int[] trunc
static boolean isWellKnownUnit (java.lang.CharSequence, int, int)
char ch
int i
CharSequence s
int start
int end
org.owasp.html.Trie t
static boolean isWellKnownUnit (java.lang.CharSequence)
CharSequence s
public volatile java.util.Iterator iterator ()
static int[] access$000 (org.owasp.html.CssTokens)
org.owasp.html.CssTokens x0
static org.owasp.html.CssTokens$TokenType[] access$100 (org.owasp.html.CssTokens)
org.owasp.html.CssTokens x0
static int[] access$300 ()
static int[] access$400 (int[], int, int)
int[] x0
int x1
int x2
static org.owasp.html.CssTokens access$500 ()
static int[] access$600 (int[], int)
int[] x0
int x1
static org.owasp.html.CssTokens$TokenType[] access$700 ()
void (java.lang.String, org.owasp.html.CssTokens$Brackets, int[], org.owasp.html.CssTokens$TokenType[], org.owasp.html.CssTokens$1)
String x0
org.owasp.html.CssTokens$Brackets x1
int[] x2
org.owasp.html.CssTokens$TokenType[] x3
org.owasp.html.CssTokens$1 x4
static boolean access$900 (char)
char x0
static boolean access$1000 (int)
int x0
static boolean access$1100 (char)
char x0
static boolean[] access$1200 ()
static char[] access$1300 ()
static void ()
int i
int i
int i
int i
int i
int i
}
org/owasp/html/ElementAndAttributePolicies.classElementAndAttributePolicies.java
package org.owasp.html
final org.owasp.html.ElementAndAttributePolicies extends java.lang.Object {
final String elementName
final boolean isVoid
final org.owasp.html.ElementPolicy elPolicy
final com.google.common.collect.ImmutableMap attrPolicies
final boolean skipIfEmpty
static final boolean $assertionsDisabled
void (java.lang.String, org.owasp.html.ElementPolicy, java.util.Map, boolean)
String elementName
org.owasp.html.ElementPolicy elPolicy
java.util.Map attrPolicies
boolean skipIfEmpty
org.owasp.html.ElementAndAttributePolicies and (org.owasp.html.ElementAndAttributePolicies)
String attrName
org.owasp.html.AttributePolicy a
org.owasp.html.AttributePolicy b
java.util.Map$Entry e
java.util.Iterator i$
String attrName
java.util.Map$Entry e
java.util.Iterator i$
boolean combinedSkipIfEmpty
org.owasp.html.ElementAndAttributePolicies p
com.google.common.collect.ImmutableMap$Builder joinedAttrPolicies
boolean combinedSkipIfEmpty
org.owasp.html.ElementAndAttributePolicies andGlobals (java.util.Map)
org.owasp.html.AttributePolicy attrPolicy
org.owasp.html.AttributePolicy joined
String attrName
org.owasp.html.AttributePolicy globalAttrPolicy
java.util.Map$Entry e
java.util.Iterator i$
String attrName
java.util.Map$Entry e
java.util.Iterator i$
java.util.Map globalAttrPolicies
java.util.Map anded
static void ()
}
org/owasp/html/ElementAndAttributePolicyBasedSanitizerPolicy.classElementAndAttributePolicyBasedSanitizerPolicy.java
package org.owasp.html
org.owasp.html.ElementAndAttributePolicyBasedSanitizerPolicy extends java.lang.Object implements org.owasp.html.HtmlSanitizer$Policy {
final com.google.common.collect.ImmutableMap elAndAttrPolicies
final com.google.common.collect.ImmutableSet allowedTextContainers
private final org.owasp.html.HtmlStreamEventReceiver out
transient boolean skipText
private final java.util.List openElementStack
static final com.google.common.collect.ImmutableSet SKIPPABLE_ELEMENT_CONTENT
void (org.owasp.html.HtmlStreamEventReceiver, com.google.common.collect.ImmutableMap, com.google.common.collect.ImmutableSet)
org.owasp.html.HtmlStreamEventReceiver out
com.google.common.collect.ImmutableMap elAndAttrPolicies
com.google.common.collect.ImmutableSet allowedTextContainers
public void openDocument ()
public void closeDocument ()
String tagNameToClose
int i
public void text (java.lang.String)
String textChunk
public void openTag (java.lang.String, java.util.List)
String elementName
java.util.List attrs
org.owasp.html.ElementAndAttributePolicies policies
String adjustedElementName
static final java.lang.String applyPolicies (java.lang.String, java.util.List, org.owasp.html.ElementAndAttributePolicies)
String value
String adjustedValue
String name
org.owasp.html.AttributePolicy attrPolicy
java.util.ListIterator attrsIt
String adjustedElementName
String elementName
java.util.List attrs
org.owasp.html.ElementAndAttributePolicies policies
String adjustedElementName
public void closeTag (java.lang.String)
String tagNameToClose
int j
String openElementName
int i
String adjustedName
int i
String elementName
int n
void writeOpenTag (org.owasp.html.ElementAndAttributePolicies, java.lang.String, java.util.List)
org.owasp.html.ElementAndAttributePolicies policies
String adjustedElementName
java.util.List attrs
void deferOpenTag (java.lang.String)
String elementName
static void ()
}
org/owasp/html/ElementPolicy$1.classElementPolicy.java
package org.owasp.html
final org.owasp.html.ElementPolicy$1 extends java.lang.Object implements org.owasp.html.ElementPolicy {
void ()
public java.lang.String apply (java.lang.String, java.util.List)
String elementName
java.util.List attrs
}
org/owasp/html/ElementPolicy$2.classElementPolicy.java
package org.owasp.html
final org.owasp.html.ElementPolicy$2 extends java.lang.Object implements org.owasp.html.ElementPolicy {
void ()
public java.lang.String apply (java.lang.String, java.util.List)
String elementName
java.util.List attrs
}
org/owasp/html/ElementPolicy$Util$1PolicyJoiner.classElementPolicy.java
package org.owasp.html
org.owasp.html.ElementPolicy$Util$1PolicyJoiner extends java.lang.Object {
org.owasp.html.ElementPolicy last
org.owasp.html.ElementPolicy out
void ()
void join (org.owasp.html.ElementPolicy)
org.owasp.html.JoinedElementPolicy jep
org.owasp.html.ElementPolicy p
}
org/owasp/html/ElementPolicy$Util.classElementPolicy.java
package org.owasp.html
public final org.owasp.html.ElementPolicy$Util extends java.lang.Object {
private void ()
public static final transient org.owasp.html.ElementPolicy join (org.owasp.html.ElementPolicy[])
org.owasp.html.ElementPolicy policy
org.owasp.html.ElementPolicy[] arr$
int len$
int i$
org.owasp.html.ElementPolicy[] policies
org.owasp.html.ElementPolicy$Util$1PolicyJoiner pu
}
org/owasp/html/ElementPolicy.classElementPolicy.java
package org.owasp.html
public abstract org.owasp.html.ElementPolicy extends java.lang.Object {
public static final org.owasp.html.ElementPolicy IDENTITY_ELEMENT_POLICY
public static final org.owasp.html.ElementPolicy REJECT_ALL_ELEMENT_POLICY
public abstract java.lang.String apply (java.lang.String, java.util.List)
static void ()
}
org/owasp/html/Encoding.classEncoding.java
package org.owasp.html
final org.owasp.html.Encoding extends java.lang.Object {
private static final char[] HEX_NUMERAL
static final String[] REPLACEMENTS
private static boolean[] IS_BANNED_ASCII
void ()
static java.lang.String decodeHtml (java.lang.String)
long endAndCodepoint
int end
int codepoint
int n
int pos
int amp
String s
int firstAmp
int safeLimit
StringBuilder sb
static java.lang.String stripBannedCodeunits (java.lang.String)
String s
int safeLimit
StringBuilder sb
static void stripBannedCodeunits (java.lang.StringBuilder)
StringBuilder sb
private static void stripBannedCodeunits (java.lang.StringBuilder, int)
char next
char ch
int i
int n
StringBuilder sb
int start
int k
private static int longestPrefixOfGoodCodeunits (java.lang.String)
char ch
String s
int n
int i
static void encodeHtmlOnto (java.lang.String, java.lang.Appendable) throws java.io.IOException
String repl
int codepoint
char next
char ch
int i
String plainText
Appendable output
int n
int pos
static void appendNumericEntity (int, java.lang.Appendable) throws java.io.IOException
int hexDigit
int digit
int nDigits
int codepoint
Appendable output
static void ()
int i
int i
}
org/owasp/html/FilterUrlByProtocolAttributePolicy.classFilterUrlByProtocolAttributePolicy.java
package org.owasp.html
public org.owasp.html.FilterUrlByProtocolAttributePolicy extends java.lang.Object implements org.owasp.html.AttributePolicy {
private final com.google.common.collect.ImmutableSet protocols
public void (java.lang.Iterable)
Iterable protocols
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
String protocol
int i
int n
String elementName
String attributeName
String s
protected boolean allowProtocolRelativeUrls ()
static java.lang.String normalizeUri (java.lang.String)
StringBuilder sb
int pos
char ch
int i
String s
int n
boolean colonsIrrelevant
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
}
org/owasp/html/Handler$1.classHandler.java
package org.owasp.html
final org.owasp.html.Handler$1 extends java.lang.Object implements org.owasp.html.Handler {
void ()
public void handle (java.lang.Object)
Object x
}
org/owasp/html/Handler$2.classHandler.java
package org.owasp.html
final org.owasp.html.Handler$2 extends java.lang.Object implements org.owasp.html.Handler {
void ()
public void handle (java.lang.Throwable)
Throwable th
public volatile void handle (java.lang.Object)
Object x0
}
org/owasp/html/Handler.classHandler.java
package org.owasp.html
public abstract org.owasp.html.Handler extends java.lang.Object {
public static final org.owasp.html.Handler DO_NOTHING
public static final org.owasp.html.Handler PROPAGATE
public abstract void handle (java.lang.Object)
static void ()
}
org/owasp/html/HtmlChangeListener.classHtmlChangeListener.java
package org.owasp.html
public abstract org.owasp.html.HtmlChangeListener extends java.lang.Object {
public abstract void discardedTag (java.lang.Object, java.lang.String)
public transient abstract void discardedAttributes (java.lang.Object, java.lang.String, java.lang.String[])
}
org/owasp/html/HtmlChangeReporter$InputChannel.classHtmlChangeReporter.java
package org.owasp.html
final org.owasp.html.HtmlChangeReporter$InputChannel extends java.lang.Object implements org.owasp.html.HtmlSanitizer$Policy {
org.owasp.html.HtmlStreamEventReceiver policy
final org.owasp.html.HtmlChangeReporter$OutputChannel output
final Object context
final org.owasp.html.HtmlChangeListener listener
void (org.owasp.html.HtmlChangeReporter$OutputChannel, org.owasp.html.HtmlChangeListener, java.lang.Object)
org.owasp.html.HtmlChangeReporter$OutputChannel output
org.owasp.html.HtmlChangeListener listener
Object context
public void openDocument ()
public void closeDocument ()
public void openTag (java.lang.String, java.util.List)
int i
int n
String discardedElementName
int nExpected
String[] discardedAttrNames
String elementName
java.util.List attrs
public void closeTag (java.lang.String)
String elementName
public void text (java.lang.String)
String textChunk
}
org/owasp/html/HtmlChangeReporter$OutputChannel.classHtmlChangeReporter.java
package org.owasp.html
final org.owasp.html.HtmlChangeReporter$OutputChannel extends java.lang.Object implements org.owasp.html.HtmlStreamEventReceiver {
private final org.owasp.html.HtmlStreamEventReceiver renderer
String expectedElementName
java.util.Set expectedAttrNames
void (org.owasp.html.HtmlStreamEventReceiver)
org.owasp.html.HtmlStreamEventReceiver renderer
public void openDocument ()
public void closeDocument ()
public void openTag (java.lang.String, java.util.List)
int i
int n
String elementName
java.util.List attrs
public void closeTag (java.lang.String)
String elementName
public void text (java.lang.String)
String text
}
org/owasp/html/HtmlChangeReporter.classHtmlChangeReporter.java
package org.owasp.html
public final org.owasp.html.HtmlChangeReporter extends java.lang.Object {
private final org.owasp.html.HtmlChangeReporter$OutputChannel output
private final org.owasp.html.HtmlChangeReporter$InputChannel input
private static final String[] ZERO_STRINGS
public void (org.owasp.html.HtmlStreamEventReceiver, org.owasp.html.HtmlChangeListener, java.lang.Object)
org.owasp.html.HtmlStreamEventReceiver renderer
org.owasp.html.HtmlChangeListener listener
Object context
public void setPolicy (org.owasp.html.HtmlSanitizer$Policy)
org.owasp.html.HtmlSanitizer$Policy policy
public org.owasp.html.HtmlStreamEventReceiver getWrappedRenderer ()
public org.owasp.html.HtmlSanitizer$Policy getWrappedPolicy ()
static java.lang.String[] access$000 ()
static void ()
}
org/owasp/html/HtmlEntities.classHtmlEntities.java
package org.owasp.html
org.owasp.html.HtmlEntities extends java.lang.Object {
public static final org.owasp.html.Trie ENTITY_TRIE
public static long decodeEntityAt (java.lang.String, int, int)
int i
int decDig
int hexDig
char digit
int i
int decDig
char digit
int i
char nameChar
int i
char nameChar
int i
org.owasp.html.Trie t
String html
int offset
int limit
char ch
int entityLimit
int end
int tail
char ch1
char ch2
int codepoint
private void ()
static void ()
}
org/owasp/html/HtmlInputSplitter$1.classHtmlLexer.java
package org.owasp.html
org.owasp.html.HtmlInputSplitter$1 extends java.lang.Object {
static final int[] $SwitchMap$org$owasp$html$HtmlTokenType
static final int[] $SwitchMap$org$owasp$html$HtmlInputSplitter$State
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
org/owasp/html/HtmlInputSplitter$State.classHtmlLexer.java
package org.owasp.html
final org.owasp.html.HtmlInputSplitter$State extends java.lang.Enum {
public static final org.owasp.html.HtmlInputSplitter$State TAGNAME
public static final org.owasp.html.HtmlInputSplitter$State SLASH
public static final org.owasp.html.HtmlInputSplitter$State BANG
public static final org.owasp.html.HtmlInputSplitter$State BANG_DASH
public static final org.owasp.html.HtmlInputSplitter$State COMMENT
public static final org.owasp.html.HtmlInputSplitter$State COMMENT_DASH
public static final org.owasp.html.HtmlInputSplitter$State COMMENT_DASH_DASH
public static final org.owasp.html.HtmlInputSplitter$State DIRECTIVE
public static final org.owasp.html.HtmlInputSplitter$State DONE
public static final org.owasp.html.HtmlInputSplitter$State BOGUS_COMMENT
public static final org.owasp.html.HtmlInputSplitter$State SERVER_CODE
public static final org.owasp.html.HtmlInputSplitter$State SERVER_CODE_PCT
public static final org.owasp.html.HtmlInputSplitter$State UNESCAPED_LT_BANG
public static final org.owasp.html.HtmlInputSplitter$State UNESCAPED_LT_BANG_DASH
public static final org.owasp.html.HtmlInputSplitter$State ESCAPING_TEXT_SPAN
public static final org.owasp.html.HtmlInputSplitter$State ESCAPING_TEXT_SPAN_DASH
public static final org.owasp.html.HtmlInputSplitter$State ESCAPING_TEXT_SPAN_DASH_DASH
private static final org.owasp.html.HtmlInputSplitter$State[] $VALUES
public static org.owasp.html.HtmlInputSplitter$State[] values ()
public static org.owasp.html.HtmlInputSplitter$State valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/owasp/html/HtmlInputSplitter.classHtmlLexer.java
package org.owasp.html
final org.owasp.html.HtmlInputSplitter extends org.owasp.html.AbstractTokenStream {
private final String input
private int offset
private boolean inTag
private boolean inEscapeExemptBlock
private String escapeExemptTagName
private org.owasp.html.HtmlTextEscapingMode textEscapingMode
private org.owasp.html.HtmlToken lastNonIgnorable
public void (java.lang.String)
String input
protected org.owasp.html.HtmlToken produce ()
String canonTagName
org.owasp.html.HtmlToken token
private org.owasp.html.HtmlToken parseToken ()
org.owasp.html.HtmlTokenType type
org.owasp.html.HtmlTokenType type
org.owasp.html.HtmlTokenType type
org.owasp.html.HtmlTokenType type
int delim
org.owasp.html.HtmlTokenType type
char ch2
org.owasp.html.HtmlTokenType type
org.owasp.html.HtmlTokenType type
org.owasp.html.HtmlTokenType type
org.owasp.html.HtmlInputSplitter$State state
org.owasp.html.HtmlTokenType type
int start
int limit
int end
org.owasp.html.HtmlTokenType type
char ch
org.owasp.html.HtmlToken result
private java.lang.String canonicalName (int, int)
int start
int end
private static boolean isIdentStart (char)
char ch
static org.owasp.html.HtmlToken reclassify (org.owasp.html.HtmlToken, org.owasp.html.HtmlTokenType)
org.owasp.html.HtmlToken token
org.owasp.html.HtmlTokenType type
}
org/owasp/html/HtmlLexer$1.classHtmlLexer.java
package org.owasp.html
org.owasp.html.HtmlLexer$1 extends java.lang.Object {
static final int[] $SwitchMap$org$owasp$html$HtmlLexer$State
static final int[] $SwitchMap$org$owasp$html$HtmlTokenType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
org/owasp/html/HtmlLexer$State.classHtmlLexer.java
package org.owasp.html
final org.owasp.html.HtmlLexer$State extends java.lang.Enum {
public static final org.owasp.html.HtmlLexer$State OUTSIDE_TAG
public static final org.owasp.html.HtmlLexer$State IN_TAG
public static final org.owasp.html.HtmlLexer$State SAW_NAME
public static final org.owasp.html.HtmlLexer$State SAW_EQ
private static final org.owasp.html.HtmlLexer$State[] $VALUES
public static org.owasp.html.HtmlLexer$State[] values ()
public static org.owasp.html.HtmlLexer$State valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/owasp/html/HtmlLexer.classHtmlLexer.java
package org.owasp.html
final org.owasp.html.HtmlLexer extends org.owasp.html.AbstractTokenStream {
private final String input
private final org.owasp.html.HtmlInputSplitter splitter
private org.owasp.html.HtmlLexer$State state
private final java.util.LinkedList lookahead
private static final java.util.Set VALUELESS_ATTRIB_NAMES
public void (java.lang.String)
String input
static java.lang.String canonicalName (java.lang.String)
String elementOrAttribName
protected org.owasp.html.HtmlToken produce ()
org.owasp.html.HtmlToken token
private org.owasp.html.HtmlToken collapseSubsequent (org.owasp.html.HtmlToken)
org.owasp.html.HtmlToken next
org.owasp.html.HtmlToken token
org.owasp.html.HtmlToken collapsed
private org.owasp.html.HtmlToken collapseAttributeName (org.owasp.html.HtmlToken)
org.owasp.html.HtmlToken tok
org.owasp.html.HtmlToken eq
org.owasp.html.HtmlToken t
org.owasp.html.HtmlToken token
int nToMerge
int end
private static org.owasp.html.HtmlToken join (org.owasp.html.HtmlToken, org.owasp.html.HtmlToken)
org.owasp.html.HtmlToken a
org.owasp.html.HtmlToken b
private org.owasp.html.HtmlToken readToken ()
private org.owasp.html.HtmlToken peekToken (int)
int i
private void pushbackToken (org.owasp.html.HtmlToken)
org.owasp.html.HtmlToken token
private static boolean isValuelessAttribute (java.lang.String)
String attribName
boolean valueless
static void ()
}
org/owasp/html/HtmlPolicyBuilder$1.classHtmlPolicyBuilder.java
package org.owasp.html
org.owasp.html.HtmlPolicyBuilder$1 extends java.lang.Object implements org.owasp.html.ElementPolicy {
final org.owasp.html.HtmlPolicyBuilder this$0
void (org.owasp.html.HtmlPolicyBuilder)
public java.lang.String apply (java.lang.String, java.util.List)
int i
int n
String elementName
java.util.List attrs
}
org/owasp/html/HtmlPolicyBuilder$AttributeBuilder$1.classHtmlPolicyBuilder.java
package org.owasp.html
org.owasp.html.HtmlPolicyBuilder$AttributeBuilder$1 extends java.lang.Object implements org.owasp.html.AttributePolicy {
final java.util.regex.Pattern val$pattern
final org.owasp.html.HtmlPolicyBuilder$AttributeBuilder this$1
void (org.owasp.html.HtmlPolicyBuilder$AttributeBuilder, java.util.regex.Pattern)
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
String elementName
String attributeName
String value
}
org/owasp/html/HtmlPolicyBuilder$AttributeBuilder$2.classHtmlPolicyBuilder.java
package org.owasp.html
org.owasp.html.HtmlPolicyBuilder$AttributeBuilder$2 extends java.lang.Object implements org.owasp.html.AttributePolicy {
final com.google.common.base.Predicate val$filter
final org.owasp.html.HtmlPolicyBuilder$AttributeBuilder this$1
void (org.owasp.html.HtmlPolicyBuilder$AttributeBuilder, com.google.common.base.Predicate)
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
String elementName
String attributeName
String value
}
org/owasp/html/HtmlPolicyBuilder$AttributeBuilder$3.classHtmlPolicyBuilder.java
package org.owasp.html
org.owasp.html.HtmlPolicyBuilder$AttributeBuilder$3 extends java.lang.Object implements org.owasp.html.AttributePolicy {
final boolean val$ignoreCase
final com.google.common.collect.ImmutableSet val$allowed
final org.owasp.html.HtmlPolicyBuilder$AttributeBuilder this$1
void (org.owasp.html.HtmlPolicyBuilder$AttributeBuilder, boolean, com.google.common.collect.ImmutableSet)
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
String elementName
String attributeName
String value
}
org/owasp/html/HtmlPolicyBuilder$AttributeBuilder.classHtmlPolicyBuilder.java
package org.owasp.html
public final org.owasp.html.HtmlPolicyBuilder$AttributeBuilder extends java.lang.Object {
private final java.util.List attributeNames
private org.owasp.html.AttributePolicy policy
final org.owasp.html.HtmlPolicyBuilder this$0
void (org.owasp.html.HtmlPolicyBuilder, java.util.List)
java.util.List attributeNames
public org.owasp.html.HtmlPolicyBuilder$AttributeBuilder matching (org.owasp.html.AttributePolicy)
org.owasp.html.AttributePolicy policy
public org.owasp.html.HtmlPolicyBuilder$AttributeBuilder matching (java.util.regex.Pattern)
java.util.regex.Pattern pattern
public org.owasp.html.HtmlPolicyBuilder$AttributeBuilder matching (com.google.common.base.Predicate)
com.google.common.base.Predicate filter
public transient org.owasp.html.HtmlPolicyBuilder$AttributeBuilder matching (boolean, java.lang.String[])
boolean ignoreCase
String[] allowedValues
public org.owasp.html.HtmlPolicyBuilder$AttributeBuilder matching (boolean, java.util.Set)
boolean ignoreCase
java.util.Set allowedValues
com.google.common.collect.ImmutableSet allowed
public org.owasp.html.HtmlPolicyBuilder globally ()
public transient org.owasp.html.HtmlPolicyBuilder onElements (java.lang.String[])
String elementName
String[] arr$
int len$
int i$
String[] elementNames
com.google.common.collect.ImmutableList$Builder b
}
org/owasp/html/HtmlPolicyBuilder.classHtmlPolicyBuilder.java
package org.owasp.html
public org.owasp.html.HtmlPolicyBuilder extends java.lang.Object {
public static final com.google.common.collect.ImmutableSet DEFAULT_SKIP_IF_EMPTY
private final java.util.Map elPolicies
private final java.util.Map attrPolicies
private final java.util.Map globalAttrPolicies
private final java.util.Set allowedProtocols
private final java.util.Set skipIfEmpty
private final java.util.Map textContainers
private boolean requireRelNofollowOnLinks
private static final java.util.Set URL_ATTRIBUTE_NAMES
private transient com.google.common.collect.ImmutableMap compiledPolicies
public void ()
public transient org.owasp.html.HtmlPolicyBuilder allowElements (java.lang.String[])
String[] elementNames
public transient org.owasp.html.HtmlPolicyBuilder disallowElements (java.lang.String[])
String[] elementNames
public transient org.owasp.html.HtmlPolicyBuilder allowElements (org.owasp.html.ElementPolicy, java.lang.String[])
org.owasp.html.ElementPolicy newPolicy
String elementName
String[] arr$
int len$
int i$
org.owasp.html.ElementPolicy policy
String[] elementNames
public org.owasp.html.HtmlPolicyBuilder allowCommonInlineFormattingElements ()
public org.owasp.html.HtmlPolicyBuilder allowCommonBlockElements ()
public transient org.owasp.html.HtmlPolicyBuilder allowTextIn (java.lang.String[])
String elementName
String[] arr$
int len$
int i$
String[] elementNames
public transient org.owasp.html.HtmlPolicyBuilder disallowTextIn (java.lang.String[])
String elementName
String[] arr$
int len$
int i$
String[] elementNames
public transient org.owasp.html.HtmlPolicyBuilder allowWithoutAttributes (java.lang.String[])
String elementName
String[] arr$
int len$
int i$
String[] elementNames
public transient org.owasp.html.HtmlPolicyBuilder disallowWithoutAttributes (java.lang.String[])
String elementName
String[] arr$
int len$
int i$
String[] elementNames
public transient org.owasp.html.HtmlPolicyBuilder$AttributeBuilder allowAttributes (java.lang.String[])
String attributeName
String[] arr$
int len$
int i$
String[] attributeNames
com.google.common.collect.ImmutableList$Builder b
public transient org.owasp.html.HtmlPolicyBuilder$AttributeBuilder disallowAttributes (java.lang.String[])
String[] attributeNames
private org.owasp.html.HtmlPolicyBuilder allowAttributesGlobally (org.owasp.html.AttributePolicy, java.util.List)
org.owasp.html.AttributePolicy oldPolicy
String attributeName
java.util.Iterator i$
org.owasp.html.AttributePolicy policy
java.util.List attributeNames
private org.owasp.html.HtmlPolicyBuilder allowAttributesOnElements (org.owasp.html.AttributePolicy, java.util.List, java.util.List)
org.owasp.html.AttributePolicy oldPolicy
String attributeName
java.util.Iterator i$
java.util.Map policies
String elementName
java.util.Iterator i$
org.owasp.html.AttributePolicy policy
java.util.List attributeNames
java.util.List elementNames
public org.owasp.html.HtmlPolicyBuilder requireRelNofollowOnLinks ()
public transient org.owasp.html.HtmlPolicyBuilder allowUrlProtocols (java.lang.String[])
String protocol
String[] arr$
int len$
int i$
String[] protocols
public transient org.owasp.html.HtmlPolicyBuilder disallowUrlProtocols (java.lang.String[])
String protocol
String[] arr$
int len$
int i$
String[] protocols
public org.owasp.html.HtmlPolicyBuilder allowStandardUrlProtocols ()
public org.owasp.html.HtmlPolicyBuilder allowStyling ()
public org.owasp.html.HtmlPolicyBuilder allowStyling (org.owasp.html.CssSchema)
org.owasp.html.CssSchema whitelist
public org.owasp.html.HtmlSanitizer$Policy build (org.owasp.html.HtmlStreamEventReceiver)
org.owasp.html.HtmlStreamEventReceiver out
public org.owasp.html.HtmlSanitizer$Policy build (org.owasp.html.HtmlStreamEventReceiver, org.owasp.html.HtmlChangeListener, java.lang.Object)
org.owasp.html.HtmlStreamEventReceiver out
org.owasp.html.HtmlChangeListener listener
Object context
public org.owasp.html.PolicyFactory toFactory ()
java.util.Map$Entry textContainer
java.util.Iterator i$
com.google.common.collect.ImmutableSet$Builder textContainers
private void invalidateCompiledState ()
private com.google.common.collect.ImmutableMap compilePolicies ()
java.util.Map$Entry e
java.util.Iterator i$
org.owasp.html.ElementPolicy linkPolicy
org.owasp.html.AttributePolicy urlAttributePolicy
String urlAttributeName
java.util.Iterator i$
String urlAttributeName
java.util.Iterator i$
java.util.Map policies
java.util.Map$Entry e
java.util.Iterator i$
org.owasp.html.AttributePolicy urlAttributePolicy
java.util.Set toGuard
String attributeName
org.owasp.html.AttributePolicy policy
java.util.Map$Entry ape
java.util.Iterator i$
String attributeName
org.owasp.html.AttributePolicy policy
java.util.Map$Entry ape
java.util.Iterator i$
String elementName
org.owasp.html.ElementPolicy elPolicy
java.util.Map elAttrPolicies
com.google.common.collect.ImmutableMap$Builder attrs
java.util.Map$Entry e
java.util.Iterator i$
java.util.Map elPolicies
java.util.Map attrPolicies
java.util.Map globalAttrPolicies
java.util.Set allowedProtocols
com.google.common.collect.ImmutableMap$Builder policiesBuilder
static org.owasp.html.HtmlPolicyBuilder access$000 (org.owasp.html.HtmlPolicyBuilder, org.owasp.html.AttributePolicy, java.util.List)
org.owasp.html.HtmlPolicyBuilder x0
org.owasp.html.AttributePolicy x1
java.util.List x2
static org.owasp.html.HtmlPolicyBuilder access$100 (org.owasp.html.HtmlPolicyBuilder, org.owasp.html.AttributePolicy, java.util.List, java.util.List)
org.owasp.html.HtmlPolicyBuilder x0
org.owasp.html.AttributePolicy x1
java.util.List x2
java.util.List x3
static void ()
}
org/owasp/html/HtmlSanitizer$1.classHtmlSanitizer.java
package org.owasp.html
org.owasp.html.HtmlSanitizer$1 extends java.lang.Object {
static final int[] $SwitchMap$org$owasp$html$HtmlTokenType
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
org/owasp/html/HtmlSanitizer$Policy.classHtmlSanitizer.java
package org.owasp.html
public abstract org.owasp.html.HtmlSanitizer$Policy extends java.lang.Object implements org.owasp.html.HtmlStreamEventReceiver {
public abstract void openTag (java.lang.String, java.util.List)
public abstract void closeTag (java.lang.String)
public abstract void text (java.lang.String)
}
org/owasp/html/HtmlSanitizer.classHtmlSanitizer.java
package org.owasp.html
public final org.owasp.html.HtmlSanitizer extends java.lang.Object {
public void ()
public static void sanitize (java.lang.String, org.owasp.html.HtmlSanitizer$Policy)
org.owasp.html.HtmlToken tagBodyToken
boolean attrsReadyForName
org.owasp.html.HtmlToken token
String html
org.owasp.html.HtmlSanitizer$Policy policy
org.owasp.html.TagBalancingHtmlStreamEventReceiver balancer
org.owasp.html.HtmlLexer lexer
java.util.LinkedList attrs
private static java.lang.String stripQuotes (java.lang.String)
int start
char last
String encodedAttributeValue
int n
}
org/owasp/html/HtmlStreamEventReceiver.classHtmlStreamEventReceiver.java
package org.owasp.html
public abstract org.owasp.html.HtmlStreamEventReceiver extends java.lang.Object {
public abstract void openDocument ()
public abstract void closeDocument ()
public abstract void openTag (java.lang.String, java.util.List)
public abstract void closeTag (java.lang.String)
public abstract void text (java.lang.String)
}
org/owasp/html/HtmlStreamRenderer$1.classHtmlStreamRenderer.java
package org.owasp.html
org.owasp.html.HtmlStreamRenderer$1 extends java.lang.Object {
static final int[] $SwitchMap$org$owasp$html$HtmlTextEscapingMode
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
org/owasp/html/HtmlStreamRenderer$CloseableHtmlStreamRenderer.classHtmlStreamRenderer.java
package org.owasp.html
org.owasp.html.HtmlStreamRenderer$CloseableHtmlStreamRenderer extends org.owasp.html.HtmlStreamRenderer implements java.io.Closeable {
private final java.io.Closeable closeable
void (java.lang.Appendable, org.owasp.html.Handler, org.owasp.html.Handler)
Appendable output
org.owasp.html.Handler errorHandler
org.owasp.html.Handler badHtmlHandler
public void close () throws java.io.IOException
}
org/owasp/html/HtmlStreamRenderer.classHtmlStreamRenderer.java
package org.owasp.html
public org.owasp.html.HtmlStreamRenderer extends java.lang.Object implements org.owasp.html.HtmlStreamEventReceiver {
private final Appendable output
private final org.owasp.html.Handler ioExHandler
private final org.owasp.html.Handler badHtmlHandler
private String lastTagOpened
private StringBuilder pendingUnescaped
private boolean open
public static org.owasp.html.HtmlStreamRenderer create (java.lang.Appendable, org.owasp.html.Handler, org.owasp.html.Handler)
Appendable output
org.owasp.html.Handler ioExHandler
org.owasp.html.Handler badHtmlHandler
public static org.owasp.html.HtmlStreamRenderer create (java.lang.StringBuilder, org.owasp.html.Handler)
StringBuilder output
org.owasp.html.Handler badHtmlHandler
private void (java.lang.Appendable, org.owasp.html.Handler, org.owasp.html.Handler)
Appendable output
org.owasp.html.Handler ioExHandler
org.owasp.html.Handler badHtmlHandler
private final void error (java.lang.String, java.lang.CharSequence)
String message
CharSequence identifier
public final void openDocument () throws java.lang.IllegalStateException
public final void closeDocument () throws java.lang.IllegalStateException
java.io.IOException ex
public final boolean isDocumentOpen ()
public final void openTag (java.lang.String, java.util.List)
java.io.IOException ex
String elementName
java.util.List attrs
private void writeOpenTag (java.lang.String, java.util.List) throws java.io.IOException
String name
String value
java.util.Iterator attrIt
String elementName
java.util.List attrs
public final void closeTag (java.lang.String)
java.io.IOException ex
String elementName
private final void writeCloseTag (java.lang.String) throws java.io.IOException
StringBuilder cdataContent
int problemIndex
String elementName
public final void text (java.lang.String)
java.io.IOException ex
String text
private final void writeText (java.lang.String) throws java.io.IOException
String text
private static int checkHtmlCdataCloseable (java.lang.String, java.lang.StringBuilder)
char ch
int i
int n
String localName
StringBuilder sb
int escapingTextSpanStart
static boolean isValidHtmlName (java.lang.String)
char ch
int i
String name
int n
boolean isNamespaced
static java.lang.String safeName (java.lang.String)
String elementName
void (java.lang.Appendable, org.owasp.html.Handler, org.owasp.html.Handler, org.owasp.html.HtmlStreamRenderer$1)
Appendable x0
org.owasp.html.Handler x1
org.owasp.html.Handler x2
org.owasp.html.HtmlStreamRenderer$1 x3
}
org/owasp/html/HtmlTextEscapingMode.classHtmlTextEscapingMode.java
package org.owasp.html
public final org.owasp.html.HtmlTextEscapingMode extends java.lang.Enum {
public static final org.owasp.html.HtmlTextEscapingMode PCDATA
public static final org.owasp.html.HtmlTextEscapingMode CDATA
public static final org.owasp.html.HtmlTextEscapingMode CDATA_SOMETIMES
public static final org.owasp.html.HtmlTextEscapingMode RCDATA
public static final org.owasp.html.HtmlTextEscapingMode PLAIN_TEXT
public static final org.owasp.html.HtmlTextEscapingMode VOID
private static final com.google.common.collect.ImmutableMap ESCAPING_MODES
private static final org.owasp.html.HtmlTextEscapingMode[] $VALUES
public static org.owasp.html.HtmlTextEscapingMode[] values ()
public static org.owasp.html.HtmlTextEscapingMode valueOf (java.lang.String)
String name
private void (java.lang.String, int)
public static org.owasp.html.HtmlTextEscapingMode getModeForTag (java.lang.String)
String canonTagName
org.owasp.html.HtmlTextEscapingMode mode
public static boolean allowsEscapingTextSpan (java.lang.String)
String canonTagName
public static boolean isTagFollowedByLiteralContent (java.lang.String)
String canonTagName
org.owasp.html.HtmlTextEscapingMode mode
public static boolean isVoidElement (java.lang.String)
String canonTagName
static void ()
}
org/owasp/html/HtmlToken.classHtmlToken.java
package org.owasp.html
final org.owasp.html.HtmlToken extends java.lang.Object {
final int start
final int end
final org.owasp.html.HtmlTokenType type
static org.owasp.html.HtmlToken instance (int, int, org.owasp.html.HtmlTokenType)
int start
int end
org.owasp.html.HtmlTokenType type
boolean tokenInContextMatches (java.lang.String, java.lang.String)
String context
String match
int n
private void (int, int, org.owasp.html.HtmlTokenType)
int start
int end
org.owasp.html.HtmlTokenType type
}
org/owasp/html/HtmlTokenType.classHtmlTokenType.java
package org.owasp.html
final org.owasp.html.HtmlTokenType extends java.lang.Enum {
public static final org.owasp.html.HtmlTokenType ATTRNAME
public static final org.owasp.html.HtmlTokenType ATTRVALUE
public static final org.owasp.html.HtmlTokenType QMARKMETA
public static final org.owasp.html.HtmlTokenType COMMENT
public static final org.owasp.html.HtmlTokenType DIRECTIVE
public static final org.owasp.html.HtmlTokenType UNESCAPED
public static final org.owasp.html.HtmlTokenType QSTRING
public static final org.owasp.html.HtmlTokenType TAGBEGIN
public static final org.owasp.html.HtmlTokenType TAGEND
public static final org.owasp.html.HtmlTokenType TEXT
public static final org.owasp.html.HtmlTokenType IGNORABLE
public static final org.owasp.html.HtmlTokenType SERVERCODE
private static final org.owasp.html.HtmlTokenType[] $VALUES
public static org.owasp.html.HtmlTokenType[] values ()
public static org.owasp.html.HtmlTokenType valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/owasp/html/JoinedAttributePolicy.classAttributePolicy.java
package org.owasp.html
final org.owasp.html.JoinedAttributePolicy extends java.lang.Object implements org.owasp.html.AttributePolicy {
final com.google.common.collect.ImmutableList policies
void (java.util.Collection)
java.util.Collection policies
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
org.owasp.html.AttributePolicy p
java.util.Iterator i$
String elementName
String attributeName
String value
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
}
org/owasp/html/JoinedElementPolicy.classElementPolicy.java
package org.owasp.html
final org.owasp.html.JoinedElementPolicy extends java.lang.Object implements org.owasp.html.ElementPolicy {
final org.owasp.html.ElementPolicy first
final org.owasp.html.ElementPolicy second
void (org.owasp.html.ElementPolicy, org.owasp.html.ElementPolicy)
org.owasp.html.ElementPolicy first
org.owasp.html.ElementPolicy second
public java.lang.String apply (java.lang.String, java.util.List)
String elementName
java.util.List attrs
}
org/owasp/html/package-info.classpackage-info.java
package org.owasp.html
abstract org.owasp.html.package-info extends java.lang.Object {
}
org/owasp/html/PolicyFactory.classPolicyFactory.java
package org.owasp.html
public final org.owasp.html.PolicyFactory extends java.lang.Object implements com.google.common.base.Function {
private final com.google.common.collect.ImmutableMap policies
private final com.google.common.collect.ImmutableMap globalAttrPolicies
private final com.google.common.collect.ImmutableSet textContainers
void (com.google.common.collect.ImmutableMap, com.google.common.collect.ImmutableSet, com.google.common.collect.ImmutableMap)
com.google.common.collect.ImmutableMap policies
com.google.common.collect.ImmutableSet textContainers
com.google.common.collect.ImmutableMap globalAttrPolicies
public org.owasp.html.HtmlSanitizer$Policy apply (org.owasp.html.HtmlStreamEventReceiver)
org.owasp.html.HtmlStreamEventReceiver out
public org.owasp.html.HtmlSanitizer$Policy apply (org.owasp.html.HtmlStreamEventReceiver, org.owasp.html.HtmlChangeListener, java.lang.Object)
org.owasp.html.HtmlChangeReporter r
org.owasp.html.HtmlStreamEventReceiver out
org.owasp.html.HtmlChangeListener listener
Object context
public java.lang.String sanitize (java.lang.String)
String html
public java.lang.String sanitize (java.lang.String, org.owasp.html.HtmlChangeListener, java.lang.Object)
String html
org.owasp.html.HtmlChangeListener listener
Object context
StringBuilder out
public org.owasp.html.PolicyFactory and (org.owasp.html.PolicyFactory)
String elName
org.owasp.html.ElementAndAttributePolicies p
org.owasp.html.ElementAndAttributePolicies q
java.util.Map$Entry e
java.util.Iterator i$
org.owasp.html.ElementAndAttributePolicies p
String elName
java.util.Map$Entry e
java.util.Iterator i$
com.google.common.collect.ImmutableSet textContainers
com.google.common.collect.ImmutableSet textContainers
com.google.common.collect.ImmutableMap allGlobalAttrPolicies
com.google.common.collect.ImmutableMap allGlobalAttrPolicies
String attrName
java.util.Map$Entry e
java.util.Iterator i$
String attrName
java.util.Map$Entry e
java.util.Iterator i$
com.google.common.collect.ImmutableMap$Builder ab
org.owasp.html.PolicyFactory f
com.google.common.collect.ImmutableMap$Builder b
com.google.common.collect.ImmutableSet textContainers
com.google.common.collect.ImmutableMap allGlobalAttrPolicies
public volatile java.lang.Object apply (java.lang.Object)
Object x0
}
org/owasp/html/Sanitizers$1.classSanitizers.java
package org.owasp.html
final org.owasp.html.Sanitizers$1 extends java.lang.Object implements org.owasp.html.AttributePolicy {
void ()
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
char ch
int i
String elementName
String attributeName
String value
int n
}
org/owasp/html/Sanitizers.classSanitizers.java
package org.owasp.html
public final org.owasp.html.Sanitizers extends java.lang.Object {
public static final org.owasp.html.PolicyFactory FORMATTING
public static final org.owasp.html.PolicyFactory BLOCKS
public static final org.owasp.html.PolicyFactory STYLES
public static final org.owasp.html.PolicyFactory LINKS
private static final org.owasp.html.AttributePolicy INTEGER
public static final org.owasp.html.PolicyFactory IMAGES
private void ()
static void ()
}
org/owasp/html/StandardUrlAttributePolicy.classStandardUrlAttributePolicy.java
package org.owasp.html
final org.owasp.html.StandardUrlAttributePolicy extends java.lang.Object implements org.owasp.html.AttributePolicy {
static final org.owasp.html.StandardUrlAttributePolicy INSTANCE
private void ()
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
int i
int n
String elementName
String attributeName
String s
static void ()
}
org/owasp/html/Strings.classStrings.java
package org.owasp.html
final org.owasp.html.Strings extends java.lang.Object {
private static final char[] LCASE_CHARS
private static final char[] UCASE_CHARS
public static boolean equalsIgnoreCase (java.lang.String, java.lang.String)
char c
char d
int i
String a
String b
int length
public static boolean regionMatchesIgnoreCase (java.lang.CharSequence, int, java.lang.CharSequence, int, int)
char c
char d
int i
CharSequence a
int aoffset
CharSequence b
int boffset
int n
public static boolean isLowerCase (java.lang.CharSequence)
char c
int i
CharSequence s
public static java.lang.String toLowerCase (java.lang.String)
char[] chars
char c
int i
String s
public static java.lang.String toUpperCase (java.lang.String)
char[] chars
char c
int i
String s
private void ()
static void ()
int i
int i
int i
int i
}
org/owasp/html/StylingPolicy$1.classStylingPolicy.java
package org.owasp.html
org.owasp.html.StylingPolicy$1 extends java.lang.Object implements org.owasp.html.CssGrammar$PropertyHandler {
org.owasp.html.CssSchema$Property cssProperty
java.util.List cssProperties
int propertyStart
boolean hasTokens
boolean inQuotedIdents
private static final int IDENT_TO_STRING
final StringBuilder val$sanitizedCss
final org.owasp.html.StylingPolicy this$0
void (org.owasp.html.StylingPolicy, java.lang.StringBuilder)
private void emitToken (java.lang.String)
String token
private void closeQuotedIdents ()
public void url (java.lang.String)
String token
public void startProperty (java.lang.String)
String propertyName
public void startFunction (java.lang.String)
String token
String key
public void quotedString (java.lang.String)
String token
int meaning
public void quantity (java.lang.String)
String token
int test
public void punctuation (java.lang.String)
String token
public void identifier (java.lang.String)
String token
public void hash (java.lang.String)
String token
public void endProperty ()
public void endFunction (java.lang.String)
String token
}
org/owasp/html/StylingPolicy.classStylingPolicy.java
package org.owasp.html
final org.owasp.html.StylingPolicy extends java.lang.Object implements org.owasp.html.AttributePolicy {
private final org.owasp.html.CssSchema cssSchema
void (org.owasp.html.CssSchema)
org.owasp.html.CssSchema cssSchema
public java.lang.String apply (java.lang.String, java.lang.String, java.lang.String)
String elementName
String attributeName
String value
java.lang.String sanitizeCssProperties (java.lang.String)
String style
StringBuilder sanitizedCss
private static boolean isAlphanumericOrSpace (java.lang.String, int, int)
int chLower
char ch
int i
String token
int start
int end
public boolean equals (java.lang.Object)
Object o
public int hashCode ()
static org.owasp.html.CssSchema access$000 (org.owasp.html.StylingPolicy)
org.owasp.html.StylingPolicy x0
static boolean access$100 (java.lang.String, int, int)
String x0
int x1
int x2
}
org/owasp/html/TagBalancingHtmlStreamEventReceiver$1.classTagBalancingHtmlStreamEventReceiver.java
package org.owasp.html
org.owasp.html.TagBalancingHtmlStreamEventReceiver$1 extends java.lang.Object {
static final int[] $SwitchMap$org$owasp$html$HtmlTextEscapingMode
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
org/owasp/html/TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo.classTagBalancingHtmlStreamEventReceiver.java
package org.owasp.html
final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo extends java.lang.Object {
final String elementName
final boolean resumable
final int types
final int contents
final boolean isVoid
final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo blockContainerChild
final int blockedByScopes
final int inScopes
void (java.lang.String, boolean, int, int, org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo, int)
String elementName
boolean resumable
int types
int contents
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo blockContainerChild
int inScopes
public java.lang.String toString ()
}
org/owasp/html/TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope.classTagBalancingHtmlStreamEventReceiver.java
package org.owasp.html
final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope extends java.lang.Enum {
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope COMMON
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope BUTTON
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope LIST_ITEM
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope TABLE
static final int ALL
private static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope[] $VALUES
public static org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope[] values ()
public static org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/owasp/html/TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup.classTagBalancingHtmlStreamEventReceiver.java
package org.owasp.html
final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup extends java.lang.Enum {
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup BLOCK
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup INLINE
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup INLINE_MINUS_A
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup MIXED
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup TABLE_CONTENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup HEAD_CONTENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup TOP_CONTENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup AREA_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup FORM_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup LEGEND_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup LI_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup DL_PART
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup P_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup OPTIONS_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup OPTION_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup PARAM_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup TABLE_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup TR_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup TD_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup COL_ELEMENT
public static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup CHARACTER_DATA
private static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup[] $VALUES
public static org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup[] values ()
public static org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/owasp/html/TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships.classTagBalancingHtmlStreamEventReceiver.java
package org.owasp.html
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships extends java.lang.Object {
private com.google.common.collect.ImmutableMap$Builder definitions
private static final org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo CHARACTER_DATA_ONLY
private void ()
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo DD
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo LI
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo TD
private static int elementGroupBits (org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup a
private static int elementGroupBits (org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup, org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup a
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup b
private static int elementGroupBits (org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup, org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup, org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup a
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup b
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup c
private static transient int elementGroupBits (org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup[])
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup bit
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup[] arr$
int len$
int i$
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$ElementGroup[] bits
int bitField
private static int scopeBits (org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope a
private static int scopeBits (org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope, org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope, org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope a
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope b
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships$CloseTagScope c
private org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo defineElement (java.lang.String, boolean, int, int)
String elementName
boolean resumable
int types
int contentTypes
private org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo defineElement (java.lang.String, boolean, int, int, int)
String elementName
boolean resumable
int types
int contentTypes
int inScopes
private org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo defineElement (java.lang.String, boolean, int, int, org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo)
String elementName
boolean resumable
int types
int contentTypes
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo blockContainer
private org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo defineElement (java.lang.String, boolean, int, int, org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo, int)
String elementName
boolean resumable
int types
int contentTypes
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo blockContainer
int inScopes
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo info
private com.google.common.collect.ImmutableMap toMap ()
static org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo access$000 ()
void (org.owasp.html.TagBalancingHtmlStreamEventReceiver$1)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$1 x0
static com.google.common.collect.ImmutableMap access$200 (org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentRelationships x0
static void ()
}
org/owasp/html/TagBalancingHtmlStreamEventReceiver.classTagBalancingHtmlStreamEventReceiver.java
package org.owasp.html
public org.owasp.html.TagBalancingHtmlStreamEventReceiver extends java.lang.Object implements org.owasp.html.HtmlStreamEventReceiver {
private final org.owasp.html.HtmlStreamEventReceiver underlying
private int nestingLimit
private final java.util.List openElements
private static final long HTML_SPACE_CHAR_BITMASK
static final com.google.common.collect.ImmutableMap ELEMENT_CONTAINMENT_RELATIONSHIPS
public void (org.owasp.html.HtmlStreamEventReceiver)
org.owasp.html.HtmlStreamEventReceiver underlying
public void setNestingLimit (int)
int limit
public void openDocument ()
public void closeDocument ()
int i
public void openTag (java.lang.String, java.util.List)
String elementName
java.util.List attrs
String canonElementName
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo elInfo
private void prepareForContent (org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo blockContainerChild
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo top
java.util.List toResumeInReverse
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo elInfo
int nOpen
public void closeTag (java.lang.String)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo openEl
int i
int limit
int i
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo unclosed
String elementName
String canonElementName
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo elInfo
int index
int blockingScopes
int last
java.util.List toResumeInReverse
private void resume (java.util.List)
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo toResume
java.util.Iterator i$
java.util.List toResumeInReverse
public static boolean isInterElementWhitespace (java.lang.String)
int ch
int i
String text
int n
public void text (java.lang.String)
String text
private static boolean isHeaderElementName (java.lang.String)
String canonElementName
static boolean allowsPlainTextualContent (java.lang.String)
String canonElementName
org.owasp.html.TagBalancingHtmlStreamEventReceiver$ElementContainmentInfo info
static void ()
}
org/owasp/html/TCB.classTCB.java
package org.owasp.html
public abstract org.owasp.html.TCB extends java.lang.Object implements java.lang.annotation.Annotation {
}
org/owasp/html/TokenStream.classTokenStream.java
package org.owasp.html
abstract org.owasp.html.TokenStream extends java.lang.Object {
public abstract org.owasp.html.HtmlToken next ()
public abstract boolean hasNext ()
}
org/owasp/html/Trie.classTrie.java
package org.owasp.html
final org.owasp.html.Trie extends java.lang.Object {
private final char[] childMap
private final org.owasp.html.Trie[] children
private final boolean terminal
private final int value
private static final char[] ZERO_CHARS
private static final org.owasp.html.Trie[] ZERO_TRIES
public void (java.util.Map)
java.util.Map elements
private void (java.util.List, int)
java.util.List elements
int depth
private void (java.util.List, int, int, int)
char ch
int i
int last
char ch
int i
java.util.List elements
int depth
int start
int end
int childCount
int childStart
int childIndex
char lastCh
public boolean isTerminal ()
public int getValue ()
public org.owasp.html.Trie lookup (char)
char ch
int i
public org.owasp.html.Trie lookup (java.lang.CharSequence)
int i
int n
CharSequence s
org.owasp.html.Trie t
public boolean contains (char)
char ch
private static java.util.List sortedUniqEntries (java.util.Map)
java.util.Map m
public void toStringList (java.util.List)
java.util.List strings
private void toStringList (java.lang.String, java.util.List)
int i
int n
String prefix
java.util.List strings
public java.lang.String toString ()
StringBuilder sb
private void toStringBuilder (int, java.lang.StringBuilder)
int d
int i
int depth
StringBuilder sb
static void ()
}