com.partnersoft.formats.xml
Class XmlFile

java.lang.Object
  extended by com.partnersoft.formats.xml.XmlFile

public class XmlFile
extends java.lang.Object

An XML-aware convenience wrapper for a VfsFile.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
XmlFile(java.lang.String filePath)
           
XmlFile(VfsFile file)
           
 
Method Summary
 XmlBuilder createBuilder()
           
 void parse(XmlActor actor)
           
 boolean validate()
           
 void validateAgainstSchema(VfsFile schema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlFile

public XmlFile(VfsFile file)

XmlFile

public XmlFile(java.lang.String filePath)
Method Detail

parse

public void parse(XmlActor actor)
           throws java.io.IOException
Throws:
java.io.IOException

createBuilder

public XmlBuilder createBuilder()
                         throws java.io.IOException
Throws:
java.io.IOException

validate

public boolean validate()
                 throws java.io.IOException
Throws:
java.io.IOException

validateAgainstSchema

public void validateAgainstSchema(VfsFile schema)
                           throws java.io.IOException
Throws:
java.io.IOException