Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Security > Java

Java - Page 4

61-80 of 1229     Previous     Next
Use LSOutput and LSSerializer to Serialize a DOM Tree
by Leonard Anghel
This tip shows you how to use the LSOutput/LSSerializer interfaces (from the DOM Load and Save API) for serialize a DOM tree.
Validate an XML Document Only When a DTD Exists
by Leonard Anghel
Learn how to use the DOMImplementationDS and DOMConfiguration classes to validate an XML document only when a DTD document can be found.
Use an XMLReporter for Report Customizable Errors in StAX Applications
by Leonard Anghel
Find out how to customize the error reports in StAX applications.
Using StAX to Clone an XML Document
by Leonard Anghel
To clone an XML document at runtime, use the StAX XMLEventReader and XMLEventWriter classes.
Load an Image Using the JAI API
by Leonard Anghel
Find out how to use JAI API to load an image in just three lines of code.
The Easiest and Most Efficient Way to Modify XML Documents
by Jimmy Zhang
The easiest most and most efficient way to update XML documents is to use non-extractive parsers (such as VTD-XML) because they support incremental content update.
Apply an Identical Transformation to a DOM Tree Using TrAX
by Leonard Anghel
The code in this tip is a full example that applies an identical transformation to a DOM tree.
Validating an XML Document
by Leonard Anghel
This tip shows you how to use the DOMImplementationLS and DOMConfiguration classes to validate an XML document only if an XML Schema is present.
Create a Color Using "<<" and "|" Operators
by Leonard Anghel
This tip shows you how to create the RED color using the "<<" and "|" operators. After that, the color is used to fill a rectangle.
Generate a Stub/Proxy Client from a WSDL File
by Elayaraja David
Follow these simple steps to generate a stub/proxy client from a WSDL file.
Create Your Own Exception
by Leonard Anghel
Learn how to create your own exception.
Passing SAX Events to a FOP Processor
by Leonard Anghel
This tip shows a Java application that can be used to pass SAX events to a FOP processor. It uses the javax.xml.parsers.SAXParser class.
Use Xerces-J to Obtain a Serialized DOM Tree
by Leonard Anghel
Suppose you need to serialize a DOM tree, with the result being an XML document. Xerces-J allows you to specify a maximum line length of a line and an indent value.
Put an XPath Expression into a Java Application
by Leonard Anghel
Inserting an XPath Expression into a Java Application can be very useful if you need to develop a Java application that evaluates a simple XPath expression.
Raising Notifications from RMI
by Leonard Anghel
Ever wish you could have your RMI application notify you when it's using the distributed garbage collector? This tip will show you how.
Get the Current Date Using GregorianCalendar
by Leonard Anghel
To get the current date, your first instinct is probably to use the java.util.Date class. However, this class has so many deprecated methods that it's probably best to ignore it. A more powerful and flexible alternative is java.util.GregorianCalendar.
Easy Way to Save a Collection of POJO Java Objects
by Sharath H
To save a collection of POJO java objects to relational database table in single JPA api call using openJPA.
Grabbing Pixels from an Image
by Leonard Anghel
This tip shows you how to extract the pixels from an entire image or from a piece of an image.
Wrap the Result of an XQuery Query into an XML Document
by Leonard Anghel
Wrapping the result of an XQuery query into an XML document is very useful if you're working with atomic values.
Implement mouseDragged and mouseMove Events
by Leonard Anghel
This tip shows you how to implement mouseDragged and mouseMove events for moving components into a frame.
61-80 of 1229     Previous     Next
Sitemap