Uses of Class
com.norconex.commons.lang.xml.XML
Packages that use XML
Package
Description
Classes making it easier to deal with configuration files.
Encryption-related classes.
Enhanced and/or useful features related to Map.
Utility classes related to text.
XML-related classes.
Classes offering basic flow-processing to XML.
Various XML flow element implementations.
-
Uses of XML in com.norconex.commons.lang.config
Methods in com.norconex.commons.lang.config that return XMLModifier and TypeMethodDescriptionLoads an XML configuration file.ConfigurationLoader.loadXML(Path configFile, ErrorHandler errorHandler) Loads an XML configuration file.Methods in com.norconex.commons.lang.config with parameters of type XMLModifier and TypeMethodDescriptiondefault voidIXMLConfigurable.loadFromXML(XML xml) Deprecated.Load XML configuration values and initialized this object with them.default voidDeprecated.Saves this object as XML. -
Uses of XML in com.norconex.commons.lang.encrypt
Methods in com.norconex.commons.lang.encrypt with parameters of type XMLModifier and TypeMethodDescriptionstatic EncryptionKeyEncryptionKey.loadFromXML(XML xml, EncryptionKey defaultKey) Gets an encryption key from an existing XML.static EncryptionKeyEncryptionXMLUtil.loadFromXML(XML xml, String tagPrefix, EncryptionKey defaultKey) Deprecated.Convenience method for loading an encryption key from anXML.static voidEncryptionKey.saveToXML(XML xml, EncryptionKey key) Adds an encryption key to an existing XML. -
Uses of XML in com.norconex.commons.lang.map
Methods in com.norconex.commons.lang.map with parameters of type XMLModifier and TypeMethodDescriptionstatic PropertySetterPropertySetter.fromXML(XML xml, PropertySetter defaultValue) static PropertyMatcherPropertyMatcher.loadFromXML(XML xml) static voidPropertyMatcher.saveToXML(XML xml, PropertyMatcher matcher) static voidPropertySetter.toXML(XML xml, PropertySetter setter) -
Uses of XML in com.norconex.commons.lang.net
Methods in com.norconex.commons.lang.net with parameters of type XML -
Uses of XML in com.norconex.commons.lang.security
Methods in com.norconex.commons.lang.security with parameters of type XML -
Uses of XML in com.norconex.commons.lang.text
Methods in com.norconex.commons.lang.text with parameters of type XMLModifier and TypeMethodDescriptionvoidRegex.loadFromXML(XML xml) voidRegexFieldValueExtractor.loadFromXML(XML xml) voidTextMatcher.loadFromXML(XML xml) voidvoidvoid -
Uses of XML in com.norconex.commons.lang.xml
Methods in com.norconex.commons.lang.xml that return XMLModifier and TypeMethodDescriptionXML.addDelimitedElementList(String name, String delim, List<?> values) Adds a list of values as a new element after joining them with the given delimiter.XML.addDelimitedElementList(String name, List<?> values) Adds a list of values as a new element after joining them with a comma (CSV).XML.addElement(String tagName) Adds an empty child element to this XML root element.XML.addElement(String tagName, Object value) Adds a child element to this XML root element.XML.addElementList(String parentTagName, String tagName, List<?> values) XML.addElementMap(String parentTagName, String tagName, String attributeName, Map<?, ?> map) Adds aMapas a series of elements with a parent element wrapping that group.XML.clear()Clears this XML by removing all its attributes and elements (i.e., making it an empty tag).XML.Builder.create()XMLValidationException.getXml()Gets the xml subset matching the xpath expression.XML.insertAfter(XML newXML) Inserts a new XML node after this one, as a sibling of a shared parent.XML.insertBefore(XML newXML) Inserts a new XML node before this one, as a sibling of a shared parent.XMLCursor.readAsXML()XML.remove()Removes itself from its XML parent (if any).XML.removeAttribute(String name) Removes an attribute on this XML element.XML.removeElement(String tagName) Removes an element from this XML.Rename this XML (element tag name).Replaces the current XML with the provided one.XML.setAttribute(String name, Object value) Sets an attribute on this XML element, converting the supplied object to a string (enums are also converted to lowercase).XML.setAttributes(Map<String, ?> attribs) Sets attributes on this XML element.XML.setDelimitedAttributeList(String name, String delim, List<?> values) Sets a list of values as an attribute after joining them with the given delimiter.XML.setDelimitedAttributeList(String name, List<?> values) Sets a list of values as an attribute after joining them with a comma (CSV).XML.setTextContent(Object textContent) Sets the text content of an XML element.XML.unwrap()Unwraps this XML by removing the root tag and keeping its child element (and its nested element).Wraps this XML by adding a parent element around it.Methods in com.norconex.commons.lang.xml that return types with arguments of type XMLModifier and TypeMethodDescriptionXML.addElementList(String tagName, List<?> values) XML.addElementMap(String tagName, String attributeName, Map<?, ?> map) Adds aMapas a series of elements without a parent element wrapping that group.XML.getXMLList(String xpathExpression) Gets the XML subsets matching the xpath expression.Methods in com.norconex.commons.lang.xml with parameters of type XMLModifier and TypeMethodDescriptionXML.insertAfter(XML newXML) Inserts a new XML node after this one, as a sibling of a shared parent.XML.insertBefore(XML newXML) Inserts a new XML node before this one, as a sibling of a shared parent.voidIXMLConfigurable.loadFromXML(XML xml) Load XML configuration values and initialized this object with them.Replaces the current XML with the provided one.voidSaves this object as XML.Method parameters in com.norconex.commons.lang.xml with type arguments of type XMLModifier and TypeMethodDescriptionvoidIf the given expression matches one or more elements, consume those element one by one.voidIf the given expression matches an element, consume that element.<T> T<T> T<T> List<T>XML.parseXMLList(String xpathExpression, Function<XML, T> parser) <T> List<T>XML.parseXMLList(String xpathExpression, Function<XML, T> parser, List<T> defaultValue) <K,V> Map<K, V> XML.parseXMLMap(String xpathExpression, Function<XML, Map.Entry<K, V>> parser) <K,V> Map<K, V> Constructors in com.norconex.commons.lang.xml with parameters of type XMLModifierConstructorDescriptionXMLValidationException(List<XMLValidationError> errors, XML xml) Constructor. -
Uses of XML in com.norconex.commons.lang.xml.flow
Methods in com.norconex.commons.lang.xml.flow with parameters of type XML -
Uses of XML in com.norconex.commons.lang.xml.flow.impl
Methods in com.norconex.commons.lang.xml.flow.impl with parameters of type XML