|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface XmlLoader.SourceLocation
Abstraction for the notion of source location. This is useful for logging and records collection when a origin of an xml declaration is needed.
Method Summary | |
---|---|
java.lang.String |
print(boolean shortFormat)
print this source location in a human and machine readable format. |
org.w3c.dom.Node |
toXml(org.w3c.dom.Document document)
Persist a location to an xml node. |
Method Detail |
---|
java.lang.String print(boolean shortFormat)
shortFormat
- whether or not to use the short format. For instance, for a file, a
short format is the file name while the long format is its path.
org.w3c.dom.Node toXml(org.w3c.dom.Document document)
document
- the document in which the node will exist.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |