public interface XMLResource extends FileResource<XMLResource>
Resource
that represents a XML Node
.Modifier and Type | Method and Description |
---|---|
org.jboss.forge.parser.xml.Node |
getXmlSource()
Attempt to determine and return the
XMLSource type of the underlying Class . |
XMLResource |
setContents(org.jboss.forge.parser.xml.Node source)
Set the content of this
Resource to the value of the given XMLSource . |
createNewFile, createTempResource, deleteOnExit, getLastModified, getParent, getSize, isDirectory, isExecutable, isReadable, isStale, isWritable, mkdir, mkdirs, monitor, monitor, refresh, renameTo, renameTo, setLastModified
getResourceOutputStream, setContents, setContents, setContents, setContents, setContents
createFrom, delete, delete, exists, getChild, getContents, getContents, getFullyQualifiedName, getName, getResourceFactory, getResourceInputStream, getUnderlyingResourceObject, listResources, listResources, reify, resolveChildren
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, supports
XMLResource setContents(org.jboss.forge.parser.xml.Node source)
Resource
to the value of the given XMLSource
.org.jboss.forge.parser.xml.Node getXmlSource() throws FileNotFoundException
XMLSource
type of the underlying Class
.FileNotFoundException
Copyright © 2014 JBoss by Red Hat. All rights reserved.