Does jdk1.4 come with an inbuilt DOM parser?

Hello,
I would just like to know if jdk1.4 comes with an inbuilt DOM parser? i.e. are there any API's, for parsing an xml document, inbuilt within jdk1.4??If yes, can anyone tell me how am i supposed to parse an input xml file and what are the API's present??? thnx in advance

This works with JDK 1.4:
import org.w3c.dom.Document;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory ;
import org.xml.sax.InputSource;
import java.io.InputStream;
public class a {
    public Document doit(InputStream is)
    throws java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException
        javax.xml.parsers.DocumentBuilderFactory dbf=javax.xml.parsers.DocumentBuilderFactory.newInstance();
        DocumentBuilder db = dbf.newDocumentBuilder();
        InputSource isrc = new InputSource( is );
        Document document = db.parse(isrc);
        return document;
}

Similar Messages

  • Probably a stupid question . . . does the iPad come with iTunes preinstalled?

    I'm in need ot a portable way to listen to podcasts and type some notes. Due to low vision I cannot use an ipod or iphone.  I have an imac at home.  Does the ipad come with itunes preinstalled, or would I haave to buy it separately.  I know I'd have to purchase another copy if pages, which I have on my imac.

    Yes - but the iTunes that comes installed on the iPad is the iTunes Store where you purchase your media. The iPad comes with a preinstalled iPod App and that is where your music library resides and plays on the iPad - not in iTunes.
    You don't have to buy either apps for the iPad.
    Message was edited by: Demo

  • Does CUCM 9 come with CUP's 9 free

    Does CUCM 9 come with CUP 9 free ? if so is they any documentation - which says this

    Yes although the Jabber for Everyone promotion is also available in the 8.6 release as well. Essentially the server software is given away as long as the customer purchases the minimum 50 UCL/UWL users for CUCM and covers CUCM with ESW/UCSS. Everyone in the organization is entitled to IM&P functionality but any softphone/video functionality still requires a license. Example: your company has 100 employees but you buy 50 UCL/UWL licenses. 50 people can have softphone but everyone can chat.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Does Oracle OLAP comes with Oracle Database 10g ?

    1.Does Oracle OLAP comes with Oracle Database 10g or do we need seperate software to have this ?.
    2.If I create a Cube with Analytic work space manager the cube is going to be stored in the Database ( meaning the in the table space where OLAP is Stored).
    3. What is the difference between Analtyic work space manager and discoverer For Olap.
    Help is higly appreciated ..
    Thanks, Prasad

    One thing to point out : The OLAP option is a costed database option, so while this is automatically installed and part of your database you do have to purchase additional licenses to use this feature. You will need to check with your Oracle account manager to see if you are actually licensed to use this feature.
    If you have existing 9i OLAP cubes these can be quickly and easily migrated to 10g OLAP and the documentation explains how to do this. However, there are many new features that are part of 10g OLAP that will improve the performance of your data model that will not be enabled as part of a migration process. Based on my experiences it would be quicker and easier (depending on the size of your existing 9i OLAP cubes) to consider rebuilding your data model using these new 10g features. You should be able to export all the dimensions to XML templates from 9i OLAP and import the templates into the 10g schema and reload your dimensions.
    For the cubes you will probably want to consider using partitioning, composites and compression to provide maximum flexibility and performance for your new data model. There is more information on these features within the OLAP documentation and in the many whitepapers and presentations on the OLAP home page on OTN.
    For moving data from SQL Server to 10g OLAP much depends on the nature of the data transfer. If it is a one-off bulk data load then you could consider using the normal MS command line tools to dump the data out and transfer it to Oracle. Alternatively, you could consider using Oracle Data Integrator to manage the extraction of the SQL Server data and the data load process into Oracle 10g relational tables. If you decide to use Data Integrator this will require additional licenses.
    If you can extract the data from SQL Server to flat files you can use Oracle Warehouse Builder (basic ETL is free as part of the 10g database license) to load that flat file data via external tables. Warehouse Builder can also be used to define your OLAP data model (think of Warehouse Builder as a more powerful version of Analytic Workspace Manager) and provides tools to load the data directly into your OLAP dimensions and cubes. You can get more information on managing OLAP data models with Warehouse Builder the Warehouse Builder home page on OTN.
    There are no facilities to modify Discoverer Viewer to add customisations. You can add company logos, modify certain colors and/or hide certain features but it is not possible to add additional features. You may want to consider using BI Beans to provide this type of environment. BI Beans is the development framework used to create Discoverer Viewer. You can create customised JSP pages that look identical to Discoverer Viewer pages with the added benefit of providing your own specific features. You can get more information on the BI Beans home page on OTN.
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Does Materialize Views comes with Standard One?

    Hi
    Does Materialize Views comes with Oracle 10g Standard One?
    Regards,
    Néstor Boscán

    Read this discussion: https://discussions.apple.com/message/16215112#16215112

  • Does the iPad2 come with a flash drive? I have the iPad first one and it won't let me play games on facebook, Does the iPad2 come with a flash drive? I have the iPad first one and it won't let me play games on facebook

    Does the ipad2 come with a flash drive? I have the first iPad and can't play games on facebook because apple doesn't support a flash drive

    You are talking about Flash Player, not Flash Drive.
    5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
     Cheers, Tom

  • Does Droid 2 comes with Antivirus Protection?

    Does Droid 2 comes with Antivirus Protection standard or do you have to install an app for it... If it does not come standard, does anyone have recommendations for the best antivirus app?
    Thanks!

    pool_shark wrote:
    Has anyone ever actually known of anyone getting a virus on a smartphone?
    This is my 3rd smartphone and I have never gotten a virus. I use it for surfing the web, email, watching movies, word docs, etc.
    I know plenty of people with smartphones and none of them have ever gotten a virus either.
    Coming from experience here....I got a text from a friend that prompted to download something. I thought my friend was sending me a picture or sound. I downloaded it, but then the download disappeared. I never found it. Called my friend later to ask what she sent. She said she sent me nothing at all. Later on down the road I got Lookout Security. That app found a harmful thing in my phone. I believe it was from that thing I downloaded from my friend.
    Safe is better then having troubles later on.

  • Does iPhone 5s come with international warranty?

    does iphone 5s come with international warranty??

    As already provided:
    No.
    iPhone warranty/support is limited to country of original purchase, except for the EU, where warranty/support is EU wide.

  • Does APEX license comes with DB license or separate license?

    Hello Sir/Madam,
    Does APEX license comes with DB license or separate license? Thanks.

    On the Toshiba Recovery CD you can find the Toshiba image. Toshiba image contains the OS (Vista in your case), Toshiba drivers, tools and additional software.
    The recovery CD is not the same like a original Microsoft OS CD and the Vista on the Toshiba recovery CD is already activated.
    By the way; The OEM key (which activated the Vista on the Toshima image) cannot be used with other, different Vista OS. This will not function.

  • Does RS480M2 mobo come with CPU backplate?

    Hi
    I am just waiting for delivery of a new RS480M2 motherboard which I am planning to use with an Athlon 64 3200, OEM version.  I've bought a separate CPU cooler which does not include a backplate.  Does the motherboard come with its own CPU backplate for this purpose?  I've tried looking through some previous forum topics but can't find a specific answer.
    Thanks
    Steven Thompson

    yes! i believe so! this mobo comes with a CPU backplate that must be installed. mine came pre-installed by the computer shop. it is basically the heatsink retention base that you need to install your CPU heatsink fan. all you have to do is to install it by locking its clips to the retention base!
    good luck with your new mobo! hope you will not have as many problems as i did. i also have AMD64 3200+ (Venice) processor together with this RS480M2 mobo. it's been running rock solid!!! so far.... i just have c few BIOS issues and a CPU temperature problem. everything else is superb!! with this mobo. (no overclockability though).  i prefer ATI rather than nvidia chipset.   

  • How many seats does after effects come with on the $20/month plan? anyone?

    How many seats does after effects come with on the $20/month plan?

    Just wanted to add that seats can be added in Creative Cloud for Team.
    Creative Cloud Help | Creative Cloud for teams
    License management and budget benefits | Creative Cloud for teams
    Regards
    Rajshree

  • Does DV7 - 1245dx come with Bluetooth hardware?

    Ive had this computer for 2 years-ish and never really cared about bluetooth until now. I have a wireless printer, am setup on a wireless network, have a usb plug for my wireless mouse, and recently bought a dongel(?) for bluetooth to work. It works fine when the dongel(?) is in the usb slot but Id like to free up that slot if possible. So the question is, does this computer come with bluetooth hardwae inside?
    This question was solved.
    View Solution.

    Hi
    you has not internal bluetooth. you can see some information for your pc at below link
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01631353&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US...
    B.R
    C A
    **Click the KUDOS star on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Does Oracle Portal come with preceeded OC4J (with PDK)

    Hi,
    I had installed the preceeded OC4J extension (with PDK in it) from http://download.oracle.com/otndocs/tech/ias/portal/files/pdk101202_oc4j_extended.zip.
    What I dont understand are the following:
    1) Does Oracle Portal come with this download?
    2) If so how do I verify whether it is installed or not... I tried accessing http://localhost:7778/pls/portal and http://localhost:8888/pls/portal but in vain, am I missing some configurations?
    3) How do I view the Oracle Portal if it has been installed?
    Regards,
    Nithya

    "Download the pre-seeded OC4J. This download contains the portlet standards, JPDK, OmniPortlet, and Web Clipping already deployed and ready to use within OC4J 10.1.2.0.2. Simply download, extract, and start OC4J."
    You only downloaded the deployed portlets.
    If you want Portal up and running, you still need the have some midtier installed

  • Does Forms Central come with Acrobat XI Pro for Educators or must it be purchased separately?

    I keep getting conflicting messages.
    Does Forms Central come with Acrobat XI Pro for Educators or must it be purchased separately?

    FormsCentral is an online subscription service.
    It is not a built-in feature of Acrobat XI.
    With that said Acrobat XI Pro does have a built-in "link" to FormsCentral and this provides an Acrobat centric user interface.
    The actual "real deal" is online (the "web" / "cloud" - whatever).
    For that you'd visit:
    https://www.acrobat.com/en_us/products/formscentral.html 
    About the subscription:
    "The FormsCentral 30 Day Opt-Out trial gives you the option to try the Basic plan features for USD $0.99.
    Simply add to cart and enter a credit card to set up your account.
    After you place your order you will have 30 days to use FormsCentral.
    At the end of the 30 day trial period your card will automatically be charged the standard monthly subscription rate of $14.99 so that you can continue to create, distribute, and manage your online forms and surveys.
    Subscriptions cancelled within the first 30 days will be refunded in full.
    To change or cancel your subscriptions, visit the My Subscriptions page on Adobe.com."
    Be well...

  • HT1338 I just bought a new macBook Pro....and does it not come with any kind of word processor?

    I just bought a new Mac Book Pro and I am looking....does it not come with any kind of word processor?  I am used to pages from my iMac.

    Here are some free programs you can try.
    LibreOffice
    OpenOffice
    Office Alternatives - Free

Maybe you are looking for

  • Transport Error RC 12

    Hi all, I have request collected of 5 Queries which I can able to Transport form DEV to QA without any issues (RC = 0), But the same request getting error while transporting form QA to PRD. Error saying  Ended with return code:  ===> 12 <=== Can anyo

  • Mulitple Photo Editing with PS Elements as iPhoto 6 Editor

    Currently I am using PS Elements 4 as my iPhoto editor. When I 'select all' within an Album and select 'Edit' PS Elements only opens 4 photos regardless of how many I selected within iPhoto. Even if a manually select more than 4 photos in iPhoto, PS

  • Send price conditions to external system

    Hello, I would like to send the price conditions to a non SAP system. The IDOC COND_A02 seems to be the solution for sending the price conditions modifications to this system but is there a programm to send an initial set of idocs with all conditions

  • Info tab in ITunes 11.1.4 (62)?

    Where is the info tab in ITunes 11.1.4 (62)? I need to synch my contacts and I can't work out how to. I think I am missing something completely. THANK YOU

  • I recorded 24 bit audio. need to change settings to 24 bitrate

    I recorded 24 bit and it sounds terrible.  I'm assuming I need to change the bitrate to 24 in FCP.  How do I do that.  Footage is from Red One Camera but I'm not importing footage yet. I'm just checking the sound files and they sound terrible.