org.eclipse.xtend.typesystem.xsd
Class XMLMixedContentFormatter
java.lang.Object
org.eclipse.xtend.typesystem.xsd.XMLMixedContentFormatter
public class XMLMixedContentFormatter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_COMMENT
protected static final org.eclipse.emf.ecore.EStructuralFeature XML_COMMENT
XML_TEXT
protected static final org.eclipse.emf.ecore.EStructuralFeature XML_TEXT
formatComments
protected boolean formatComments
indetationString
protected java.lang.String indetationString
indetationWidth
protected int indetationWidth
maxLineWidth
protected int maxLineWidth
lineSeparator
protected java.lang.String lineSeparator
XMLMixedContentFormatter
public XMLMixedContentFormatter()
beautifyFeatuerMapTextEntries
protected boolean beautifyFeatuerMapTextEntries(int prefix,
org.eclipse.emf.ecore.util.FeatureMap map)
beautifyFeatureMap
protected void beautifyFeatureMap(int prefix,
org.eclipse.emf.ecore.util.FeatureMap map)
beautifyFeatureMapComments
protected void beautifyFeatureMapComments(int prefix,
org.eclipse.emf.ecore.util.FeatureMap map)
beautifyFeatureMapIndent
protected boolean beautifyFeatureMapIndent(int prefix,
org.eclipse.emf.ecore.util.FeatureMap map)
beautifyMixedContent
public void beautifyMixedContent(int prefix,
org.eclipse.emf.ecore.EObject obj)
beautifyString
protected java.lang.String beautifyString(java.lang.String str)
getIndetationString
public java.lang.String getIndetationString()
getIndetationWidth
public int getIndetationWidth()
getInWidth
protected int getInWidth()
getMaxLineWidth
public int getMaxLineWidth()
getPrefix
protected java.lang.String getPrefix(int level)
insertBefore
protected void insertBefore(org.eclipse.emf.ecore.util.FeatureMap map,
org.eclipse.emf.ecore.util.FeatureMap.Entry ent,
java.lang.String str)
isFormatComments
public boolean isFormatComments()
needsWrap
protected boolean needsWrap(int prefix,
java.lang.String str)
processFeature
protected boolean processFeature(org.eclipse.emf.ecore.EStructuralFeature feat)
setFormatComments
public void setFormatComments(boolean formatComments)
setIndetationString
public void setIndetationString(java.lang.String indetationString)
setIndetationWidth
public void setIndetationWidth(int indetationWidth)
setMaxLineWidth
public void setMaxLineWidth(int maxLineWidth)
setLineSeparator
public void setLineSeparator(java.lang.String lineSeparator)
trimRight
protected java.lang.String trimRight(java.lang.Object val)
trimLeft
protected java.lang.String trimLeft(java.lang.Object val)
wordWrap
protected java.lang.String wordWrap(int prefix,
java.lang.String str)