public class YamlToSaxHandler extends Object
| Constructor and Description |
|---|
YamlToSaxHandler(ContentHandler contentHandler,
String anchorAttributeName,
String aliasAttributeName,
boolean indent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContentElement(String name,
String value,
String anchorName,
boolean addAnchorAttribute) |
void |
endElementStructure(String name) |
void |
startElementStructure(String name,
String anchorName,
boolean addAnchorAttribute) |
public YamlToSaxHandler(ContentHandler contentHandler, String anchorAttributeName, String aliasAttributeName, boolean indent)
public void startElementStructure(String name, String anchorName, boolean addAnchorAttribute) throws SAXException
SAXExceptionpublic void endElementStructure(String name) throws SAXException
SAXExceptionpublic void addContentElement(String name, String value, String anchorName, boolean addAnchorAttribute) throws SAXException
SAXExceptionCopyright © 2020. All rights reserved.