org.jboss.jdocbook.util
Class XIncludeHelper

java.lang.Object
  extended by org.jboss.jdocbook.util.XIncludeHelper

public class XIncludeHelper
extends java.lang.Object

A helper for dealing with XIncludes.

Author:
Steve Ebersole

Constructor Summary
XIncludeHelper()
           
 
Method Summary
static java.util.Set<java.io.File> locateInclusions(java.io.File root)
          Given a file which defining an XML document containing XInclude elements, collect all the referenced XInclude files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XIncludeHelper

public XIncludeHelper()
Method Detail

locateInclusions

public static java.util.Set<java.io.File> locateInclusions(java.io.File root)
Given a file which defining an XML document containing XInclude elements, collect all the referenced XInclude files.

Parameters:
root - The file which (potentially) contains XIncludes.
Returns:
The set of files references via XIncludes.


Copyright © 2007-2008 JBoss, a division of Red Hat, Inc. All Rights Reserved.