Documentation ¶
Index ¶
- Constants
- type Property
- type XMLConfiguration
- func (x *XMLConfiguration) AddPropertiesWithMap(properties map[string]string)
- func (x *XMLConfiguration) AddProperty(p Property)
- func (x *XMLConfiguration) AddPropertyWithString(name, value, description string)
- func (x *XMLConfiguration) DeleteProperties(names ...string)
- func (x *XMLConfiguration) GetProperty(name string) (Property, bool)
- func (x *XMLConfiguration) Marshal() (string, error)
Constants ¶
View Source
const (
XMLStylesheet = `<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>` + "\n"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XMLConfiguration ¶
type XMLConfiguration struct { Configuration *configuration Header string }
func NewXMLConfiguration ¶
func NewXMLConfiguration() *XMLConfiguration
func NewXMLConfigurationFromMap ¶
func NewXMLConfigurationFromMap(properties map[string]string) *XMLConfiguration
func NewXMLConfigurationFromString ¶
func NewXMLConfigurationFromString(xmlData string) (*XMLConfiguration, error)
func (*XMLConfiguration) AddPropertiesWithMap ¶
func (x *XMLConfiguration) AddPropertiesWithMap(properties map[string]string)
func (*XMLConfiguration) AddProperty ¶
func (x *XMLConfiguration) AddProperty(p Property)
func (*XMLConfiguration) AddPropertyWithString ¶
func (x *XMLConfiguration) AddPropertyWithString(name, value, description string)
func (*XMLConfiguration) DeleteProperties ¶
func (x *XMLConfiguration) DeleteProperties(names ...string)
func (*XMLConfiguration) GetProperty ¶
func (x *XMLConfiguration) GetProperty(name string) (Property, bool)
func (*XMLConfiguration) Marshal ¶
func (x *XMLConfiguration) Marshal() (string, error)
Click to show internal directories.
Click to hide internal directories.