Skip navigation links
A C D E F G I J L M N P R S T U V W X 

A

AbstractProcessScheduler - Class in au.gov.nehta.common.utils
This class facilitates the java process to run periodically for the specified time interval.
AbstractProcessScheduler(int) - Constructor for class au.gov.nehta.common.utils.AbstractProcessScheduler
Default constructor with accepts the time interval as an argument.
addAttribute(Element, String, String) - Static method in class au.gov.nehta.common.utils.DomUtils
Adds an attribute to the element.
ArgumentUtils - Class in au.gov.nehta.common.utils
Utility class to perform validation on method arguments.
au.gov.nehta.common.utils - package au.gov.nehta.common.utils
 

C

checkElement(Element, String, String) - Static method in class au.gov.nehta.common.utils.DomUtils
Returns true if the element matches the name and namespace.
checkMaxLength(String, int, String) - Static method in class au.gov.nehta.common.utils.ArgumentUtils
Check that the length of a string does not exceed a max length.
checkNotNull(Object, String) - Static method in class au.gov.nehta.common.utils.ArgumentUtils
Throws an exception if an argument value is null.
checkNotNullNorBlank(String, String) - Static method in class au.gov.nehta.common.utils.ArgumentUtils
Throws an exception if a string argument is null, is an empty string or is made of whitespace characters only.
checkNotNullNorEmpty(Collection, String) - Static method in class au.gov.nehta.common.utils.ArgumentUtils
Throws an exception if a collection argument is null or has no items.
checkNotNullOrEmpty(Document, String) - Static method in class au.gov.nehta.common.utils.DomUtils
Throws an exception if the document is null or contains no nodes.
checkNullOrBlank(String, String) - Static method in class au.gov.nehta.common.utils.ArgumentUtils
Check that an argument is blank (null or empty string).

D

DomUtils - Class in au.gov.nehta.common.utils
Utility class to manipulate DOM objects.

E

evaluate(String, Node, Map<String, String>, Class<T>) - Static method in class au.gov.nehta.common.utils.XPathUtils
Evaluates an XPath expression over a DOM node and casts the result to a Java type.
evaluate(String, Node, Map<String, String>, QName) - Static method in class au.gov.nehta.common.utils.XPathUtils
Evaluates an XPath expression over a DOM node.

F

find(String) - Method in class au.gov.nehta.common.utils.ResourceLocator
Looks for a resource first file system, then the classpath.
find(String, Class) - Method in class au.gov.nehta.common.utils.ResourceLocator
Looks for a resource first file system, then the classpath.
find(String, List<ResourceLocator.SearchOrderItem>) - Method in class au.gov.nehta.common.utils.ResourceLocator
Looks for a resource from the classpath, file system or as a remote URL.
find(String, Class, List<ResourceLocator.SearchOrderItem>) - Method in class au.gov.nehta.common.utils.ResourceLocator
Looks for a resource from the classpath, file system or as a remote URL.
formatDateTime(long) - Method in class au.gov.nehta.common.utils.StandardFormatter
Formats a date-time, e.g.
formatDateTime(Date) - Method in class au.gov.nehta.common.utils.StandardFormatter
Formats a date-time, e.g.
formatLocation(String, String) - Method in class au.gov.nehta.common.utils.StandardFormatter
Formats a code location.

G

getBooleanProperty(Properties, String, boolean) - Static method in class au.gov.nehta.common.utils.PropertyUtils
Retrieves a property value as a boolean.
getChildElement(Element, String, String) - Static method in class au.gov.nehta.common.utils.DomUtils
Get the child Element of the Element with the namespace and tagName.
getChildElements(Node) - Static method in class au.gov.nehta.common.utils.DomUtils
Extract all child DOM Elements from the DOM Node.
getChildElements(Element, String, String) - Static method in class au.gov.nehta.common.utils.DomUtils
Get the child Elements of the Element with the namespace and tagName.
getCount(String, Node, Map<String, String>) - Static method in class au.gov.nehta.common.utils.XPathUtils
Evaluates an XPath expression over a DOM node and returns the count of DOM nodes that the expression evaluated to.
getElementList(String, Node, Map<String, String>) - Static method in class au.gov.nehta.common.utils.XPathUtils
Evaluates an XPath expression to a list of Elements.
getFirstChildElement(Node) - Static method in class au.gov.nehta.common.utils.DomUtils
Returns the first element from a nodes child nodes.
getInstance() - Static method in class au.gov.nehta.common.utils.ResourceLocator
Returns an instance of ResourceLocator.
getInstance() - Static method in class au.gov.nehta.common.utils.StandardFormatter
Returns an instance of StandardFormatter.
getStreamFromClasspath(String) - Method in class au.gov.nehta.common.utils.ResourceLocator
Returns the byte stream to a resource from the classpath using the system class loader to find the resource.
getStreamFromClasspath(String, Class) - Method in class au.gov.nehta.common.utils.ResourceLocator
Returns the byte stream to a resource from the classpath using a particular class's class loader to find the resource.
getSystemProperty(String) - Static method in class au.gov.nehta.common.utils.PropertyUtils
Gets the value of the system property with the given name, throwing an exception if the system property is not set.
getSystemProperty(String, String) - Static method in class au.gov.nehta.common.utils.PropertyUtils
Gets the value of the system property with the given name, returning a default value if the system property is not set.
getUrlFromClasspath(String) - Method in class au.gov.nehta.common.utils.ResourceLocator
Returns the URL to a resource from the classpath using the system class loader to find the resource.
getUrlFromClasspath(String, Class) - Method in class au.gov.nehta.common.utils.ResourceLocator
Returns the URL to a resource from the classpath using a particular class's class loader to find the resource.

I

IOUtils - Class in au.gov.nehta.common.utils
Utility class that common I/O functions.
isDocumentEmpty(Document) - Static method in class au.gov.nehta.common.utils.DomUtils
Returns 'true' if the XML document contains no nodes, otherwise 'false'.
isEqual(Object, Object) - Static method in class au.gov.nehta.common.utils.ArgumentUtils
Checks two arguments for equality, handling nulls.
isNullOrBlank(String) - Static method in class au.gov.nehta.common.utils.ArgumentUtils
Checks if a string argument is null or has no non-whitespace characters.
isNullOrEmpty(Collection) - Static method in class au.gov.nehta.common.utils.ArgumentUtils
Checks if a collection argument is null or has no items.
isThreadRunning() - Method in class au.gov.nehta.common.utils.AbstractProcessScheduler
This method returns true if the timer thread is running.

J

JaxbUtils - Class in au.gov.nehta.common.utils
Utility class containing JAXB-related functions.
JaxbUtils() - Constructor for class au.gov.nehta.common.utils.JaxbUtils
 

L

loadProperties(File) - Static method in class au.gov.nehta.common.utils.PropertyUtils
Load the properties from the given file.
loadProperties(Reader) - Static method in class au.gov.nehta.common.utils.PropertyUtils
Load the properties from a character stream.
loadProperties(InputStream) - Static method in class au.gov.nehta.common.utils.PropertyUtils
Load the properties from a byte stream.

M

marshal(JAXBElement, Writer) - Static method in class au.gov.nehta.common.utils.JaxbUtils
Marshals a JAXBElement object into XML data to write to a character stream.
marshalToDom(JAXBElement) - Static method in class au.gov.nehta.common.utils.JaxbUtils
Marshals a JAXBElement object into a DOM document.
marshalToString(JAXBElement) - Static method in class au.gov.nehta.common.utils.JaxbUtils
Marshals a JAXBElement object into a XML data string.

N

newDocument() - Static method in class au.gov.nehta.common.utils.DomUtils
Creates a new empty XML document.
newDocument(Node) - Static method in class au.gov.nehta.common.utils.DomUtils
Creates a new XML document using the node as the root.

P

parse(File) - Static method in class au.gov.nehta.common.utils.DomUtils
Loads an XML document from file.
parse(Reader) - Static method in class au.gov.nehta.common.utils.DomUtils
Loads an XML document from a reader.
parse(Reader, ErrorHandler) - Static method in class au.gov.nehta.common.utils.DomUtils
Loads an XML document from a reader.
performThreadTask() - Method in class au.gov.nehta.common.utils.AbstractProcessScheduler
Implement the piece of code to be executed for the scheduled time interval.
PropertyUtils - Class in au.gov.nehta.common.utils
Static class used to manage access to System properties.

R

randomUri() - Static method in class au.gov.nehta.common.utils.UriUtils
Generate a random URI.
read(File) - Static method in class au.gov.nehta.common.utils.IOUtils
Reads the content of a file into a string.
read(InputStream) - Static method in class au.gov.nehta.common.utils.IOUtils
Reads the content of a byte stream into a string.
read(Reader) - Static method in class au.gov.nehta.common.utils.IOUtils
Reads the content of a character stream into a string.
removeFormatting(Document) - Static method in class au.gov.nehta.common.utils.DomUtils
Removes the formatting whitespaces, namely removes whitespace between child elements and removes leading and trailing whitespaces in elements with textual content.
removeFormatting(Element) - Static method in class au.gov.nehta.common.utils.DomUtils
Removes the formatting whitespaces, namely removes whitespace between child elements and removes leading and trailing whitespaces in elements with textual content.
resolve(String, String) - Method in class au.gov.nehta.common.utils.SimpleXsdResourceResolver
 
resolveResource(String, String, String, String, String) - Method in class au.gov.nehta.common.utils.SimpleXsdResourceResolver
 
ResourceLocator - Class in au.gov.nehta.common.utils
Singleton class that finds resources and provides access to them.
ResourceLocator.SearchOrderItem - Enum in au.gov.nehta.common.utils
 
run() - Method in class au.gov.nehta.common.utils.AbstractProcessScheduler
 
runPeriodically() - Method in class au.gov.nehta.common.utils.AbstractProcessScheduler
This method runs the current thread periodically for the provided interval.

S

serialise(Document, File) - Static method in class au.gov.nehta.common.utils.DomUtils
Serialises an XML Document to a file.
serialise(Document, Writer) - Static method in class au.gov.nehta.common.utils.DomUtils
Serialises an XML Document to a character stream.
serialiseToString(Element) - Static method in class au.gov.nehta.common.utils.DomUtils
Returns a serialised XML representation of the XML Document.
serialiseToString(Document) - Static method in class au.gov.nehta.common.utils.DomUtils
Returns a serialised XML representation of the XML Document.
setSystemProperty(String, String) - Static method in class au.gov.nehta.common.utils.PropertyUtils
Sets a system property with a given name.
SimpleXsdResourceResolver - Class in au.gov.nehta.common.utils
 
SimpleXsdResourceResolver() - Constructor for class au.gov.nehta.common.utils.SimpleXsdResourceResolver
 
StandardFormatter - Class in au.gov.nehta.common.utils
Singleton class that formats information in a standard and consistent way.
startThread() - Method in class au.gov.nehta.common.utils.AbstractProcessScheduler
This method starts the scheduler thread.
stopTimerThread() - Method in class au.gov.nehta.common.utils.AbstractProcessScheduler
This method stops the scheduled thread.

T

transform(Node, Node, Writer) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation writing the results out to a character stream.
transform(Node, Node, Writer, Map<String, String>) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation writing the results out to a character stream.
transform(Node, Node, Writer, Map<String, String>, URIResolver) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation writing the results out to a character stream.
transform(Source, Source, Result, Map<String, String>, URIResolver) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs XSLT transformation that takes in XSLT Source and Result objects as parameters.
transformToDom(Node, Node) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation returning the result as a DOM document.
transformToDom(Node, Node, Map<String, String>) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation returning the result as a DOM document.
transformToDom(Node, Node, Map<String, String>, URIResolver) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation returning the result as a DOM document.
transformToString(Node, Node) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation returning the result as a DOM document.
transformToString(Node, Node, Map<String, String>) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation returning the result as a DOM document.
transformToString(Node, Node, Map<String, String>, URIResolver) - Static method in class au.gov.nehta.common.utils.XsltUtils
Runs an XSLT transformation returning the result as a DOM document.

U

unmarshal(Node, Class<T>) - Static method in class au.gov.nehta.common.utils.JaxbUtils
Unmarshals the XML data in a DOM node into a Java object using JAXB.
unmarshal(Reader, Class<T>) - Static method in class au.gov.nehta.common.utils.JaxbUtils
Unmarshals the XML data from a character stream into a Java object using JAXB.
UriUtils - Class in au.gov.nehta.common.utils
Utility class to manage URIs.
UriUtils() - Constructor for class au.gov.nehta.common.utils.UriUtils
 

V

validate(File, File) - Static method in class au.gov.nehta.common.utils.XsdUtils
Validates a data node against a schema.
validate(Node, Node) - Static method in class au.gov.nehta.common.utils.XsdUtils
Validates a data node against a schema.
validate(Node, Node, LSResourceResolver) - Static method in class au.gov.nehta.common.utils.XsdUtils
Validates a data node against a schema.
valueOf(String) - Static method in enum au.gov.nehta.common.utils.ResourceLocator.SearchOrderItem
Returns the enum constant of this type with the specified name.
values() - Static method in enum au.gov.nehta.common.utils.ResourceLocator.SearchOrderItem
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(File, String) - Static method in class au.gov.nehta.common.utils.IOUtils
Writes text content to a file.
write(OutputStream, String) - Static method in class au.gov.nehta.common.utils.IOUtils
Writes text content to a character stream.
write(Writer, String) - Static method in class au.gov.nehta.common.utils.IOUtils
Writes text content to a byte stream.

X

XPathUtils - Class in au.gov.nehta.common.utils
Utility class containing XPath-related functions.
XsdUtils - Class in au.gov.nehta.common.utils
Utility class containing XML Schema-related functions.
XsltUtils - Class in au.gov.nehta.common.utils
 
A C D E F G I J L M N P R S T U V W X 
Skip navigation links

Copyright © 2021. All rights reserved.