public class TLDFileTagLibrary extends TagLibrary
Constructor and Description |
---|
TLDFileTagLibrary(File tldFile)
Creates a new instance of TLDFileTagLibrary
|
Modifier and Type | Method and Description |
---|---|
String |
getPathDescription()
Returns a String that the user would recognize as a location for this
tag library.
|
InputStream |
getResource(String path)
Returns an input stream for the given resource, or null if the
resource could not be found.
|
Document |
getTLDDocument(DocumentBuilder documentBuilder)
Returns a Document of the effective tag library descriptor for this
tag library.
|
public TLDFileTagLibrary(File tldFile)
public String getPathDescription()
getPathDescription
in class TagLibrary
public Document getTLDDocument(DocumentBuilder documentBuilder) throws IOException, SAXException, ParserConfigurationException, TransformerConfigurationException, TransformerException, GeneratorException
getTLDDocument
in class TagLibrary
IOException
SAXException
ParserConfigurationException
TransformerConfigurationException
TransformerException
GeneratorException
public InputStream getResource(String path) throws IOException
getResource
in class TagLibrary
IOException
Copyright © 2003–2013 sun. All rights reserved.