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 BooleanPropertyCOALESCING_DESCRIPTORDeprecated.static BooleanPropertyEXPAND_ENTITY_REFERENCES_DESCRIPTORDeprecated.static BooleanPropertyIGNORING_COMMENTS_DESCRIPTORDeprecated.static BooleanPropertyIGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTORDeprecated.static BooleanPropertyLOOKUP_DESCRIPTOR_DTDDeprecated.static BooleanPropertyNAMESPACE_AWARE_DESCRIPTORDeprecated.static EntityResolverSILENT_ENTITY_RESOLVERDeprecated.static BooleanPropertyVALIDATING_DESCRIPTORDeprecated.static BooleanPropertyXINCLUDE_AWARE_DESCRIPTORDeprecated.-
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 booleanequals(Object obj)Deprecated.EntityResolvergetEntityResolver()Deprecated.inthashCode()Deprecated.booleanisCoalescing()Deprecated.booleanisExpandEntityReferences()Deprecated.booleanisIgnoringComments()Deprecated.booleanisIgnoringElementContentWhitespace()Deprecated.booleanisLookupDescriptorDoc()Deprecated.booleanisNamespaceAware()Deprecated.booleanisValidating()Deprecated.booleanisXincludeAware()Deprecated.voidsetCoalescing(boolean coalescing)Deprecated.voidsetExpandEntityReferences(boolean expandEntityReferences)Deprecated.voidsetIgnoringComments(boolean ignoringComments)Deprecated.voidsetIgnoringElementContentWhitespace(boolean ignoringElementContentWhitespace)Deprecated.voidsetLookupDescriptorDoc(boolean lookupDescriptorDoc)Deprecated.voidsetNamespaceAware(boolean namespaceAware)Deprecated.voidsetValidating(boolean validating)Deprecated.voidsetXincludeAware(boolean xincludeAware)Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.ParserOptions
getSuppressMarker, 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
lookupDescriptorDocis 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:
hashCodein classParserOptions
-
equals
public boolean equals(Object obj)
Deprecated.- Overrides:
equalsin classParserOptions
-
-