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, waitgetContentChecksum, getDescription, getLastModified, getSourceFileprotected abstract SourceElement createRootElement() throws SourceException
SourceException - if the SourceElement cannot be created.public SourceElement getRootElement() throws SourceException
SourcegetRootElement in interface SourceSourceException - if the source cannot be constructed.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.