Java Code Examples for com.helger.commons.string.ToStringGenerator

The following examples show how to use com.helger.commons.string.ToStringGenerator. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: ph-css   Source File: CSSWriterSettings.java    License: Apache License 2.0 6 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("version", m_eCSSVersion)
                                     .append ("optimizedOutput", m_bOptimizedOutput)
                                     .append ("removeUnnecessaryCode", m_bRemoveUnnecessaryCode)
                                     .append ("newLineMode", m_eNewLineMode)
                                     .append ("indent", m_sIndent)
                                     .append ("quoteURLs", m_bQuoteURLs)
                                     .append ("writeNamespaceRules", m_bWriteNamespaceRules)
                                     .append ("writeFontFaceRules", m_bWriteFontFaceRules)
                                     .append ("writeKeyframesRules", m_bWriteKeyframesRules)
                                     .append ("writeMediaRules", m_bWriteMediaRules)
                                     .append ("writePageRules", m_bWritePageRules)
                                     .append ("writeViewportRules", m_bWriteViewportRules)
                                     .append ("writeSupportsRules", m_bWriteSupportsRules)
                                     .append ("writeUnknownRules", m_bWriteUnknownRules)
                                     .getToString ();
}
 
Example 2
Source Project: ph-css   Source File: CSSSourceArea.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (null).append ("beginLine", m_nBeginLineNumber)
                                     .append ("beginColumn", m_nBeginColumnNumber)
                                     .append ("endLine", m_nEndLineNumber)
                                     .append ("endColumn", m_nEndColumnNumber)
                                     .getToString ();
}
 
Example 3
Source Project: ph-commons   Source File: MicroAttribute.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("QName", m_aQName)
                                     .append ("AttributeValue", m_sAttributeValue)
                                     .getToString ();
}
 
Example 4
Source Project: ph-commons   Source File: SingleElementMap.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("hasElement", m_bHasElement)
                                     .append ("key", m_aKey)
                                     .append ("value", m_aValue)
                                     .getToString ();
}
 
Example 5
Source Project: ph-commons   Source File: SingleElementEnumeration.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("hasMoreElements", m_bHasMoreElements)
                                     .append ("element", m_aElement)
                                     .getToString ();
}
 
Example 6
Source Project: ph-schematron   Source File: PSXPathBoundElement.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("element", m_aElement)
                                     .appendIfNotNull ("expression", m_sExpression)
                                     .appendIfNotNull ("boundExpression", m_aBoundExpression)
                                     .getToString ();
}
 
Example 7
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("SrcClass", m_aSrcClass)
                          .append ("InBetweenConverter", m_aInBetweenConverter)
                          .getToString ();
}
 
Example 8
Source Project: ph-css   Source File: CSSExpressionMemberMath.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (null).append ("members", m_aMembers)
                                     .appendIfNotNull ("sourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example 9
Source Project: ph-commons   Source File: CountingInputStream.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("BytesRead", m_nBytesRead)
                          .append ("Position", m_nPosition)
                          .append ("Mark", m_nMark)
                          .getToString ();
}
 
Example 10
Source Project: ph-css   Source File: CSSDataURL.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("mimeType", m_aMimeType)
                                     .append ("base64Encoded", m_bBase64Encoded)
                                     .append ("content.length", m_aContent.length)
                                     .append ("charset", m_aCharset)
                                     .append ("hasStringContent", m_sContent != null)
                                     .getToString ();
}
 
Example 11
Source Project: ph-css   Source File: AbstractCSSPropertyEnums.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("MinArgCount", m_nMinArgCount)
                          .append ("MaxArgCount", m_nMaxArgCount)
                          .getToString ();
}
 
Example 12
Source Project: ph-schematron   Source File: PSXPathBoundPattern.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("pattern", m_aPattern)
                                     .append ("boundRules", m_aBoundRules)
                                     .getToString ();
}
 
Example 13
Source Project: ph-commons   Source File: FileSystemResourceProvider.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).appendIfNotNull ("BasePath", m_aBasePath)
                                     .append ("CanReadRelativePaths", m_bCanReadRelativePaths)
                                     .getToString ();
}
 
Example 14
Source Project: ph-commons   Source File: StringScanner.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("input", m_sInput)
                                     .append ("maxIndex", m_nMaxIndex)
                                     .append ("curIndex", m_nCurIndex)
                                     .getToString ();
}
 
Example 15
Source Project: ph-commons   Source File: BasicTreeItemWithID.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("dataID", m_aDataID)
                                     .append ("data", m_aData)
                                     .append ("children", m_aChildMap)
                                     .getToString ();
}
 
Example 16
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("Prefix", m_sPrefix)
                          .append ("Suffix", m_sSuffix)
                          .getToString ();
}
 
Example 17
Source Project: ph-commons   Source File: JAXBWriterBuilder.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("EventHandler", m_aEventHandler)
                          .append ("NamespaceContext", m_aNSContext)
                          .append ("FormattedOutput", m_bFormattedOutput)
                          .append ("Charset", m_aCharset)
                          .append ("IndentString", StringHelper.getHexEncoded (m_sIndentString, StandardCharsets.ISO_8859_1))
                          .append ("SchemaLocation", m_sSchemaLocation)
                          .append ("NoNamespaceSchemaLocation", m_sNoNamespaceSchemaLocation)
                          .getToString ();
}
 
Example 18
Source Project: ph-commons   Source File: AbstractJAXBBuilder.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("DocType", m_aDocType)
                                     .appendIfNotNull ("ClassLoader", m_aClassLoader)
                                     .append ("UseJAXBContextCache", m_bUseJAXBContextCache)
                                     .append ("UseSchema", m_bUseSchema)
                                     .append ("ExceptionHandler", m_aExceptionCallbacks)
                                     .getToString ();
}
 
Example 19
Source Project: ph-css   Source File: CSSExpressionMemberLineNames.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (null).append ("members", m_aMembers)
                                     .appendIfNotNull ("sourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example 20
Source Project: ph-css   Source File: CSSURI.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("URI", m_sURI)
                                     .appendIfNotNull ("sourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example 21
Source Project: ph-schematron   Source File: PSLet.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).appendIfNotNull ("name", m_sName)
                                     .appendIfNotNull ("value", m_sValue)
                                     .getToString ();
}
 
Example 22
Source Project: ph-commons   Source File: MimeTypeInfo.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("mimeType", m_aMimeType)
                                     .appendIfNotNull ("source", m_sSource)
                                     .getToString ();
}
 
Example 23
Source Project: ph-css   Source File: CSSPropertyEnumOrNumbers.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("withPercentage", m_bWithPercentage)
                          .append ("minNumbers", m_nMinNumbers)
                          .append ("maxNumbers", m_nMaxNumbers)
                          .getToString ();
}
 
Example 24
Source Project: ph-schematron   Source File: SchematronTestFile.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("parentDirBaseName", m_sParentDirBaseName)
                                     .append ("res", m_aRes)
                                     .append ("fileBaseName", m_sFileBaseName)
                                     .getToString ();
}
 
Example 25
Source Project: ph-commons   Source File: AbstractBaseGraph.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("nodes", m_aNodes)
                          .append ("isChangingConnectedObjectsAllowed", m_bIsChangingConnectedObjectsAllowed)
                          .getToString ();
}
 
Example 26
Source Project: ph-css   Source File: CSSUnknownRule.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("declaration", m_sDeclaration)
                                     .appendIfNotNull ("parameterList", m_sParameterList)
                                     .appendIfNotNull ("body", m_sBody)
                                     .appendIfNotNull ("sourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example 27
Source Project: ph-commons   Source File: AbstractDAO.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("autoSaveStack", m_aAutoSaveStack)
                                     .append ("pendingChanges", m_bPendingChanges)
                                     .append ("autoSaveEnabled", m_bAutoSaveEnabled)
                                     .getToString ();
}
 
Example 28
Source Project: ph-commons   Source File: GraphRelation.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("node1", m_aNode1)
                          .append ("node2", m_aNode2)
                          .getToString ();
}
 
Example 29
Source Project: ph-css   Source File: CSSSelector.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("members", m_aMembers)
                                     .appendIfNotNull ("sourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example 30
Source Project: ph-commons   Source File: MimeTypeContent.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("ContentBytes", m_aContentBytes)
                                     .append ("MimeType", m_aMimeType)
                                     .getToString ();
}