public abstract class SourceImpl extends Object implements Source
Constructor and Description |
---|
SourceImpl() |
Modifier and Type | Method and Description |
---|---|
protected abstract SourceElement |
createRootElement()
Reads the root element and the whole untransformed source tree.
|
SourceElement |
getRootElement()
Returns the root element of the source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentChecksum, getDescription, getLastModified, getSourceFile
protected abstract SourceElement createRootElement() throws SourceException
SourceException
- if the SourceElement cannot be created.public SourceElement getRootElement() throws SourceException
Source
getRootElement
in interface Source
SourceException
- if the source cannot be constructed.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.