public class XmlParserOptions
extends net.sourceforge.pmd.lang.ParserOptions
Modifier and Type | Field | Description |
---|---|---|
static net.sourceforge.pmd.properties.BooleanProperty |
COALESCING_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
EXPAND_ENTITY_REFERENCES_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
IGNORING_COMMENTS_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
LOOKUP_DESCRIPTOR_DTD |
|
static net.sourceforge.pmd.properties.BooleanProperty |
NAMESPACE_AWARE_DESCRIPTOR |
|
static org.xml.sax.EntityResolver |
SILENT_ENTITY_RESOLVER |
|
static net.sourceforge.pmd.properties.BooleanProperty |
VALIDATING_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
XINCLUDE_AWARE_DESCRIPTOR |
Constructor | Description |
---|---|
XmlParserOptions() |
|
XmlParserOptions(net.sourceforge.pmd.Rule rule) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
org.xml.sax.EntityResolver |
getEntityResolver() |
|
int |
hashCode() |
|
boolean |
isCoalescing() |
|
boolean |
isExpandEntityReferences() |
|
boolean |
isIgnoringComments() |
|
boolean |
isIgnoringElementContentWhitespace() |
|
boolean |
isLookupDescriptorDoc() |
|
boolean |
isNamespaceAware() |
|
boolean |
isValidating() |
|
boolean |
isXincludeAware() |
|
void |
setCoalescing(boolean coalescing) |
|
void |
setExpandEntityReferences(boolean expandEntityReferences) |
|
void |
setIgnoringComments(boolean ignoringComments) |
|
void |
setIgnoringElementContentWhitespace(boolean ignoringElementContentWhitespace) |
|
void |
setLookupDescriptorDoc(boolean lookupDescriptorDoc) |
|
void |
setNamespaceAware(boolean namespaceAware) |
|
void |
setValidating(boolean validating) |
|
void |
setXincludeAware(boolean xincludeAware) |
public static final net.sourceforge.pmd.properties.BooleanProperty COALESCING_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty EXPAND_ENTITY_REFERENCES_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty IGNORING_COMMENTS_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty NAMESPACE_AWARE_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty VALIDATING_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty XINCLUDE_AWARE_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty LOOKUP_DESCRIPTOR_DTD
public static final org.xml.sax.EntityResolver SILENT_ENTITY_RESOLVER
public XmlParserOptions()
public XmlParserOptions(net.sourceforge.pmd.Rule rule)
public org.xml.sax.EntityResolver getEntityResolver()
lookupDescriptorDoc
is false it would normally force the XML parser to use its own
resolverpublic boolean isLookupDescriptorDoc()
public void setLookupDescriptorDoc(boolean lookupDescriptorDoc)
public boolean isCoalescing()
public void setCoalescing(boolean coalescing)
public boolean isExpandEntityReferences()
public void setExpandEntityReferences(boolean expandEntityReferences)
public boolean isIgnoringComments()
public void setIgnoringComments(boolean ignoringComments)
public boolean isIgnoringElementContentWhitespace()
public void setIgnoringElementContentWhitespace(boolean ignoringElementContentWhitespace)
public boolean isNamespaceAware()
public void setNamespaceAware(boolean namespaceAware)
public boolean isValidating()
public void setValidating(boolean validating)
public boolean isXincludeAware()
public void setXincludeAware(boolean xincludeAware)
public int hashCode()
hashCode
in class net.sourceforge.pmd.lang.ParserOptions
public boolean equals(java.lang.Object obj)
equals
in class net.sourceforge.pmd.lang.ParserOptions
Copyright © 2002–2018 PMD. All rights reserved.