public class EmptyMetadata extends java.lang.Object implements Metadata
| Constructor and Description |
|---|
EmptyMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MetadataVisitor visitor,
int depth) |
java.util.List<Metadata> |
children()
Returns the direct children of this node in a flat list.
|
java.util.List<Element> |
flatten()
Returns the tree of elements under this node in a flat list.
|
Metadata |
message(Context context)
Returns the failure message from the given context.
|
java.lang.String |
readable(java.util.Locale locale)
Returns the human readable version of this object.
|
MetadataType |
type()
Returns the metadata type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarkdown, markdown, readablepublic java.lang.String readable(java.util.Locale locale)
SyntaxTreereadable in interface SyntaxTreelocale - the locale to useSyntaxTree.readable()public void accept(MetadataVisitor visitor, int depth)
accept in interface SyntaxTreepublic java.util.List<Metadata> children()
Metadatapublic MetadataType type()
Metadatapublic Metadata message(Context context)
Metadata