public class GrammarsInfo extends DocumentedInfo
| Constructor and Description |
|---|
GrammarsInfo()
Constructor.
|
GrammarsInfo(DocumentationInfo documentation)
Constructor with a single documentation element.
|
GrammarsInfo(List<DocumentationInfo> documentations)
Constructor with a list of documentation elements.
|
GrammarsInfo(String documentation)
Constructor with a single documentation element.
|
| Modifier and Type | Method and Description |
|---|---|
List<IncludeInfo> |
getIncludes()
Returns the list of include elements.
|
void |
setIncludes(List<IncludeInfo> includes)
Sets the list of include elements.
|
void |
updateNamespaces(Map<String,String> namespaces)
Completes the given map of namespaces with the namespaces used in the
documentation elements.
|
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer.
|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentationspublic GrammarsInfo()
public GrammarsInfo(DocumentationInfo documentation)
documentation - A single documentation element.public GrammarsInfo(List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public GrammarsInfo(String documentation)
documentation - A single documentation element.public List<IncludeInfo> getIncludes()
public void setIncludes(List<IncludeInfo> includes)
includes - The list of include elements.public void updateNamespaces(Map<String,String> namespaces)
DocumentedInfoupdateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.public void writeElement(XmlWriter writer) throws SAXException
writer - The SAX writer.SAXExceptionCopyright © 2005–2016. All rights reserved.