net.sourceforge.pmd.lang.xml
Class XmlParserOptions
java.lang.Object
net.sourceforge.pmd.lang.ParserOptions
net.sourceforge.pmd.lang.xml.XmlParserOptions
public class XmlParserOptions
- extends ParserOptions
COALESCING_DESCRIPTOR
public static final BooleanProperty COALESCING_DESCRIPTOR
EXPAND_ENTITY_REFERENCES_DESCRIPTOR
public static final BooleanProperty EXPAND_ENTITY_REFERENCES_DESCRIPTOR
IGNORING_COMMENTS_DESCRIPTOR
public static final BooleanProperty IGNORING_COMMENTS_DESCRIPTOR
IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
public static final BooleanProperty IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
NAMESPACE_AWARE_DESCRIPTOR
public static final BooleanProperty NAMESPACE_AWARE_DESCRIPTOR
VALIDATING_DESCRIPTOR
public static final BooleanProperty VALIDATING_DESCRIPTOR
XINCLUDE_AWARE_DESCRIPTOR
public static final BooleanProperty XINCLUDE_AWARE_DESCRIPTOR
LOOKUP_DESCRIPTOR_DTD
public static final BooleanProperty LOOKUP_DESCRIPTOR_DTD
SILENT_ENTITY_RESOLVER
public static final EntityResolver SILENT_ENTITY_RESOLVER
XmlParserOptions
public XmlParserOptions()
XmlParserOptions
public XmlParserOptions(Rule rule)
getEntityResolver
public EntityResolver getEntityResolver()
- 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()
setLookupDescriptorDoc
public void setLookupDescriptorDoc(boolean lookupDescriptorDoc)
isCoalescing
public boolean isCoalescing()
setCoalescing
public void setCoalescing(boolean coalescing)
isExpandEntityReferences
public boolean isExpandEntityReferences()
setExpandEntityReferences
public void setExpandEntityReferences(boolean expandEntityReferences)
isIgnoringComments
public boolean isIgnoringComments()
setIgnoringComments
public void setIgnoringComments(boolean ignoringComments)
isIgnoringElementContentWhitespace
public boolean isIgnoringElementContentWhitespace()
setIgnoringElementContentWhitespace
public void setIgnoringElementContentWhitespace(boolean ignoringElementContentWhitespace)
isNamespaceAware
public boolean isNamespaceAware()
setNamespaceAware
public void setNamespaceAware(boolean namespaceAware)
isValidating
public boolean isValidating()
setValidating
public void setValidating(boolean validating)
isXincludeAware
public boolean isXincludeAware()
setXincludeAware
public void setXincludeAware(boolean xincludeAware)
hashCode
public int hashCode()
- Overrides:
hashCode
in class ParserOptions
equals
public boolean equals(Object obj)
- Overrides:
equals
in class ParserOptions
Copyright © 2002-2015 InfoEther. All Rights Reserved.