- getAction() - Method in class org.owasp.validator.html.model.Tag
-
- getAllowedEmptyTags() - Method in class org.owasp.validator.html.Policy
-
Return all the allowed empty tags configured in the Policy.
- getAllowedRegExp() - Method in class org.owasp.validator.html.model.Property
-
Return a List
of allowed regular expressions
- getAllowedValues() - Method in class org.owasp.validator.html.model.Property
-
Return a List
of allowed literal values
- getAttributeByName(String) - Method in class org.owasp.validator.html.model.Tag
-
Returns an Attribute
associated with a lookup name.
- getAttributeValue(Element, String) - Static method in class org.owasp.validator.html.util.XMLUtil
-
Helper function for quickly retrieving an attribute from a given
element.
- getBooleanValue(Element, String) - Static method in class org.owasp.validator.html.util.XMLUtil
-
Helper function for quickly retrieving an boolean value of a given
XML element.
- getBooleanValue(Element, String, boolean) - Static method in class org.owasp.validator.html.util.XMLUtil
-
Helper function for quickly retrieving an boolean value of a given
XML element, with a default initialization value passed in a parameter.
- getCleanHTML() - Method in class org.owasp.validator.html.CleanResults
-
Return the filtered HTML as a String.
- getCleanStylesheet() - Method in class org.owasp.validator.css.CssHandler
-
Returns the cleaned stylesheet.
- getCleanXMLDocumentFragment() - Method in class org.owasp.validator.html.CleanResults
-
Return the DOM version of the clean HTML.
- getCommonRegularExpressions(String) - Method in class org.owasp.validator.html.Policy
-
- getDirective(String) - Method in class org.owasp.validator.html.Policy
-
Return a directive value based on a lookup name.
- getDynamicAttributeByName(String) - Method in class org.owasp.validator.html.Policy
-
A method for returning one of the dynamic <global-attribute> entries by name.
- getEmbedTag() - Method in class org.owasp.validator.html.InternalPolicy
-
- getEntityRef(int) - Method in class org.owasp.validator.html.scan.ASHTMLSerializer
-
- getEntityRef(int) - Method in class org.owasp.validator.html.scan.ASXHTMLSerializer
-
- getErrorMessages() - Method in class org.owasp.validator.css.CssHandler
-
Returns the error messages generated during parsing.
- getErrorMessages() - Method in class org.owasp.validator.html.CleanResults
-
Return a list of error messages -- but an empty list returned does not mean there was no attack
present, due to the serialization and deserialization process automatically cleaning up some
attacks.
- getErrorMessages() - Method in class org.owasp.validator.html.scan.MagicSAXFilter
-
- getGlobalAttributeByName(String) - Method in class org.owasp.validator.html.Policy
-
A simple method for returning on of the <global-attribute> entries by
name.
- getHTMLSerializer(Writer, OutputFormat) - Method in class org.owasp.validator.html.scan.AbstractAntiSamyScanner
-
- getImportedStylesheetsURIList() - Method in class org.owasp.validator.css.CssHandler
-
Returns a list of imported stylesheets from the main parsed stylesheet.
- getInstance() - Static method in class org.owasp.validator.html.Policy
-
Construct a Policy using the default policy file location ("antisamy.xml").
- getInstance(String) - Static method in class org.owasp.validator.html.Policy
-
Construct a Policy based on the file whose name is passed in.
- getInstance(InputStream) - Static method in class org.owasp.validator.html.Policy
-
Construct a Policy from the InputStream object passed in.
- getInstance(File) - Static method in class org.owasp.validator.html.Policy
-
Construct a Policy from the File object passed in.
- getInstance(URL) - Static method in class org.owasp.validator.html.Policy
-
Construct a Policy from the target of the URL passed in.
- getIntValue(Element, String, int) - Static method in class org.owasp.validator.html.util.XMLUtil
-
Helper function for quickly retrieving an integer value of a given
XML element.
- getMaxInputSize() - Method in class org.owasp.validator.html.InternalPolicy
-
- getMessage(ResourceBundle, String, Object[]) - Static method in class org.owasp.validator.html.util.ErrorMessageUtil
-
- getName() - Method in class org.owasp.validator.html.model.Attribute
-
- getName() - Method in class org.owasp.validator.html.model.Property
-
Get the name of the property.
- getName() - Method in class org.owasp.validator.html.model.Tag
-
- getNumberOfErrors() - Method in class org.owasp.validator.html.CleanResults
-
Return the number of errors encountered during filtering.
- getOnInvalid() - Method in class org.owasp.validator.html.model.Attribute
-
- getOnUnknownTag() - Method in class org.owasp.validator.html.InternalPolicy
-
- getOutputFormat() - Method in class org.owasp.validator.html.scan.AbstractAntiSamyScanner
-
- getParseContext(Element, URL) - Static method in class org.owasp.validator.html.Policy
-
- getPattern() - Method in class org.owasp.validator.html.model.AntiSamyPattern
-
- getPropertyByName(String) - Method in class org.owasp.validator.html.Policy
-
Retrieves a CSS Property from the Policy.
- getRegularExpression() - Method in class org.owasp.validator.html.model.Tag
-
Returns a regular expression for validating individual tags.
- getRequiresClosingTags() - Method in class org.owasp.validator.html.Policy
-
Return all the tags that are required to be closed with an end tag, even if they have no child content.
- getResults() - Method in class org.owasp.validator.html.scan.AbstractAntiSamyScanner
-
- getResults() - Method in class org.owasp.validator.html.scan.AntiSamyDOMScanner
-
- getResults() - Method in class org.owasp.validator.html.scan.AntiSamySAXScanner
-
- getScanTime() - Method in class org.owasp.validator.html.CleanResults
-
Return the time elapsed during the scan.
- getSchemaValidation() - Static method in class org.owasp.validator.html.Policy
-
- getSelectorName() - Method in exception org.owasp.validator.css.UnknownSelectorException
-
- getShorthandRefs() - Method in class org.owasp.validator.html.model.Property
-
Return a List
of allowed shorthand references
- getSimpleParseContext(Element) - Static method in class org.owasp.validator.html.Policy
-
- getSourceFromUrl(URL) - Static method in class org.owasp.validator.html.Policy
-
- getStartOfScan() - Method in class org.owasp.validator.html.CleanResults
-
Get the time the scan started.
- getStyleTag() - Method in class org.owasp.validator.html.InternalPolicy
-
- getTagByLowercaseName(String) - Method in class org.owasp.validator.html.Policy
-
Get the Tag specified by the provided tag name.
- getTextValue(Element, String) - Static method in class org.owasp.validator.html.util.XMLUtil
-
Helper function for quickly retrieving a String value of a given
XML element.
- getTopLevelElement(URL) - Static method in class org.owasp.validator.html.Policy
-
- getTopLevelElement(InputSource, Callable<InputSource>) - Static method in class org.owasp.validator.html.Policy
-