- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 69 for StartElement (0.14 sec)
-
subprojects/core/src/main/java/org/gradle/internal/html/SimpleHtmlWriter.java
writeRaw("<!DOCTYPE html>"); } @Override public SimpleMarkupWriter startElement(String name) throws IOException { if (!isValidHtmlTag(name)) { throw new IllegalArgumentException(String.format("Invalid HTML tag: '%s'", name)); } return super.startElement(name); } // All valid tags should be in lowercase // Add more tags as necessary
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 14:02:57 UTC 2023 - 2.2K bytes - Viewed (0) -
internal/event/arn.go
} // MarshalXML - encodes to XML data. func (arn ARN) MarshalXML(e *xml.Encoder, start xml.StartElement) error { return e.EncodeElement(arn.String(), start) } // UnmarshalXML - decodes XML data. func (arn *ARN) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { var s string if err := d.DecodeElement(&s, &start); err != nil { return err } parsedARN, err := parseARN(s)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
internal/s3select/parquet/args.go
func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { // Make subtype to avoid recursive UnmarshalXML(). type subReaderArgs ReaderArgs parsedArgs := subReaderArgs{} if err := d.DecodeElement(&parsedArgs, &start); err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration.go
func (de DelMarkerExpiration) Empty() bool { return de.Days == 0 } // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error { type delMarkerExpiration DelMarkerExpiration var dexp delMarkerExpiration err := dec.DecodeElement(&dexp, &start) if err != nil { return err } if dexp.Days <= 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 2.3K bytes - Viewed (0) -
internal/s3select/json/args.go
func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { // Make subtype to avoid recursive UnmarshalXML(). type subReaderArgs ReaderArgs parsedArgs := subReaderArgs{} if err := d.DecodeElement(&parsedArgs, &start); err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.7K bytes - Viewed (0) -
src/encoding/xml/marshal.go
} // defaultStart returns the default start element to use, // given the reflect type, field info, and start template. func defaultStart(typ reflect.Type, finfo *fieldInfo, startTemplate *StartElement) StartElement { var start StartElement // Precedence for the XML element name is as above, // except that we do not look inside structs for the first field. if startTemplate != nil { start.Name = startTemplate.Name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/go/internal/vcs/discovery.go
if err != io.EOF && len(imports) == 0 { return nil, err } break } if e, ok := t.(xml.StartElement); ok && strings.EqualFold(e.Name.Local, "body") { break } if e, ok := t.(xml.EndElement); ok && strings.EqualFold(e.Name.Local, "head") { break } e, ok := t.(xml.StartElement) if !ok || !strings.EqualFold(e.Name.Local, "meta") { continue } if attrValue(e.Attr, "name") != "go-import" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 11 18:14:49 UTC 2020 - 2.6K bytes - Viewed (0) -
src/encoding/xml/read.go
func (d *Decoder) unmarshal(val reflect.Value, start *StartElement, depth int) error { if depth >= maxUnmarshalDepth || runtime.GOARCH == "wasm" && depth >= maxUnmarshalDepthWasm { return errUnmarshalDepth } // Find start element if we need it. if start == nil { for { tok, err := d.Token() if err != nil { return err } if t, ok := tok.(StartElement); ok { start = &t break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 22.4K bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config.go
type Algorithm string // UnmarshalXML - Unmarshals XML tag to valid SSE algorithm func (alg *Algorithm) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { var s string if err := d.DecodeElement(&s, &start); err != nil { return err } switch s { case string(AES256): *alg = AES256 case string(AWSKms): *alg = AWSKms default:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 4.9K bytes - Viewed (0) -
internal/bucket/replication/rule.go
if d.Status != Disabled && d.Status != Enabled { return errInvalidDeleteReplicationStatus } return nil } // UnmarshalXML - decodes XML data. func (d *DeleteReplication) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) { // Make subtype to avoid recursive UnmarshalXML(). type deleteReplication DeleteReplication drep := deleteReplication{} if err := dec.DecodeElement(&drep, &start); err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jan 24 23:22:20 UTC 2022 - 8.3K bytes - Viewed (0)