Package net.sourceforge.pmd.lang.xml
Class XmlParserOptions
- java.lang.Object
-
- net.sourceforge.pmd.lang.ParserOptions
-
- net.sourceforge.pmd.lang.xml.XmlParserOptions
-
@Deprecated public class XmlParserOptions extends ParserOptions
Deprecated.Parser options will be removed with 7.0, these options will assume their default values then.
-
-
Field Summary
Fields Modifier and Type Field Description static BooleanProperty
COALESCING_DESCRIPTOR
Deprecated.static BooleanProperty
EXPAND_ENTITY_REFERENCES_DESCRIPTOR
Deprecated.static BooleanProperty
IGNORING_COMMENTS_DESCRIPTOR
Deprecated.static BooleanProperty
IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
Deprecated.static BooleanProperty
LOOKUP_DESCRIPTOR_DTD
Deprecated.static BooleanProperty
NAMESPACE_AWARE_DESCRIPTOR
Deprecated.static EntityResolver
SILENT_ENTITY_RESOLVER
Deprecated.static BooleanProperty
VALIDATING_DESCRIPTOR
Deprecated.static BooleanProperty
XINCLUDE_AWARE_DESCRIPTOR
Deprecated.-
Fields inherited from class net.sourceforge.pmd.lang.ParserOptions
suppressMarker
-
-
Constructor Summary
Constructors Constructor Description XmlParserOptions()
Deprecated.XmlParserOptions(Rule rule)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.EntityResolver
getEntityResolver()
Deprecated.int
hashCode()
Deprecated.boolean
isCoalescing()
Deprecated.boolean
isExpandEntityReferences()
Deprecated.boolean
isIgnoringComments()
Deprecated.boolean
isIgnoringElementContentWhitespace()
Deprecated.boolean
isLookupDescriptorDoc()
Deprecated.boolean
isNamespaceAware()
Deprecated.boolean
isValidating()
Deprecated.boolean
isXincludeAware()
Deprecated.void
setCoalescing(boolean coalescing)
Deprecated.void
setExpandEntityReferences(boolean expandEntityReferences)
Deprecated.void
setIgnoringComments(boolean ignoringComments)
Deprecated.void
setIgnoringElementContentWhitespace(boolean ignoringElementContentWhitespace)
Deprecated.void
setLookupDescriptorDoc(boolean lookupDescriptorDoc)
Deprecated.void
setNamespaceAware(boolean namespaceAware)
Deprecated.void
setValidating(boolean validating)
Deprecated.void
setXincludeAware(boolean xincludeAware)
Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.ParserOptions
defineProperty, defineProperty, getProperty, getSuppressMarker, overridePropertiesFromEnv, setProperty, setSuppressMarker
-
-
-
-
Field Detail
-
COALESCING_DESCRIPTOR
public static final BooleanProperty COALESCING_DESCRIPTOR
Deprecated.
-
EXPAND_ENTITY_REFERENCES_DESCRIPTOR
public static final BooleanProperty EXPAND_ENTITY_REFERENCES_DESCRIPTOR
Deprecated.
-
IGNORING_COMMENTS_DESCRIPTOR
public static final BooleanProperty IGNORING_COMMENTS_DESCRIPTOR
Deprecated.
-
IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
public static final BooleanProperty IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
Deprecated.
-
NAMESPACE_AWARE_DESCRIPTOR
public static final BooleanProperty NAMESPACE_AWARE_DESCRIPTOR
Deprecated.
-
VALIDATING_DESCRIPTOR
public static final BooleanProperty VALIDATING_DESCRIPTOR
Deprecated.
-
XINCLUDE_AWARE_DESCRIPTOR
public static final BooleanProperty XINCLUDE_AWARE_DESCRIPTOR
Deprecated.
-
LOOKUP_DESCRIPTOR_DTD
public static final BooleanProperty LOOKUP_DESCRIPTOR_DTD
Deprecated.
-
SILENT_ENTITY_RESOLVER
public static final EntityResolver SILENT_ENTITY_RESOLVER
Deprecated.
-
-
Constructor Detail
-
XmlParserOptions
public XmlParserOptions()
Deprecated.
-
XmlParserOptions
public XmlParserOptions(Rule rule)
Deprecated.
-
-
Method Detail
-
getEntityResolver
public EntityResolver getEntityResolver()
Deprecated.- Returns:
- the configured entity resolver. If
lookupDescriptorDoc
is false it would normally force the XML parser to use its own resolver
-
isLookupDescriptorDoc
public boolean isLookupDescriptorDoc()
Deprecated.
-
setLookupDescriptorDoc
public void setLookupDescriptorDoc(boolean lookupDescriptorDoc)
Deprecated.
-
isCoalescing
public boolean isCoalescing()
Deprecated.
-
setCoalescing
public void setCoalescing(boolean coalescing)
Deprecated.
-
isExpandEntityReferences
public boolean isExpandEntityReferences()
Deprecated.
-
setExpandEntityReferences
public void setExpandEntityReferences(boolean expandEntityReferences)
Deprecated.
-
isIgnoringComments
public boolean isIgnoringComments()
Deprecated.
-
setIgnoringComments
public void setIgnoringComments(boolean ignoringComments)
Deprecated.
-
isIgnoringElementContentWhitespace
public boolean isIgnoringElementContentWhitespace()
Deprecated.
-
setIgnoringElementContentWhitespace
public void setIgnoringElementContentWhitespace(boolean ignoringElementContentWhitespace)
Deprecated.
-
isNamespaceAware
public boolean isNamespaceAware()
Deprecated.
-
setNamespaceAware
public void setNamespaceAware(boolean namespaceAware)
Deprecated.
-
isValidating
public boolean isValidating()
Deprecated.
-
setValidating
public void setValidating(boolean validating)
Deprecated.
-
isXincludeAware
public boolean isXincludeAware()
Deprecated.
-
setXincludeAware
public void setXincludeAware(boolean xincludeAware)
Deprecated.
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classParserOptions
-
equals
public boolean equals(Object obj)
Deprecated.- Overrides:
equals
in classParserOptions
-
-