Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for StartElement (0.2 sec)

  1. 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)
  2. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

            is.setSystemId("include.xml");
            parser.parse(is, new DefaultHandler() {
    
                @Override
                public void startElement(final String uri, final String localName, final String qName, final Attributes attributes)
                        throws SAXException {
                    if ("bar".equals(qName)) {
                        included = true;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/encoding/xml/xml.go

    }
    
    // A Token is an interface holding one of the token types:
    // [StartElement], [EndElement], [CharData], [Comment], [ProcInst], or [Directive].
    type Token any
    
    // A StartElement represents an XML start element.
    type StartElement struct {
    	Name Name
    	Attr []Attr
    }
    
    // Copy creates a new copy of StartElement.
    func (e StartElement) Copy() StartElement {
    	attrs := make([]Attr, len(e.Attr))
    	copy(attrs, e.Attr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  4. internal/event/name.go

    	}
    
    	return ""
    }
    
    // MarshalXML - encodes to XML data.
    func (name Name) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	return e.EncodeElement(name.String(), start)
    }
    
    // UnmarshalXML - decodes XML data.
    func (name *Name) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	var s string
    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            @Override
            public void startDocument() {
                sitemapSet = new SitemapSet();
                sitemapSet.setType(SitemapSet.URLSET);
            }
    
            @Override
            public void startElement(final String uri, final String localName, final String qName, final Attributes attributes) {
                if (URL_ELEMENT.equals(qName)) {
                    sitemapUrl = new SitemapUrl();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    		// writer is set later by Reset() before using it.
    		return bufio.NewWriter(xioutil.Discard)
    	},
    }
    
    // UnmarshalXML - decodes XML data.
    func (c *CompressionType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	var s string
    	if err := d.DecodeElement(&s, &start); err != nil {
    		return errMalformedXML(err)
    	}
    
    	parsedType := CompressionType(strings.ToUpper(s))
    	if s == "" || parsedType == "NONE" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            @Override
            public void startDocument() {
                dataMap.clear();
            }
    
            @Override
            public void startElement(final String uri, final String localName, final String qName, final Attributes attributes) {
                if ("field".equals(qName)) {
                    fieldName = attributes.getValue("name");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle.go

    			return true
    		}
    	}
    	return false
    }
    
    // UnmarshalXML - decodes XML data.
    func (lc *Lifecycle) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	switch start.Name.Local {
    	case "LifecycleConfiguration", "BucketLifecycleConfiguration":
    	default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            labelType = null;
        }
    
        @Override
        public void endDocument() throws SAXException {
            globalParams.clear();
            tagQueue.clear();
        }
    
        @Override
        public void startElement(final String uri, final String localName, final String qName, final Attributes attributes)
                throws SAXException {
            if (logger.isDebugEnabled()) {
                logger.debug("Start Element: {}", qName);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. cmd/api-response.go

    	Object
    	IsLatest  bool
    	VersionID string `xml:"VersionId"`
    
    	isDeleteMarker bool
    }
    
    // MarshalXML - marshal ObjectVersion
    func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error {
    	if o.isDeleteMarker {
    		start.Name.Local = "DeleteMarker"
    	} else {
    		start.Name.Local = "Version"
    	}
    	type objectVersionWrapper ObjectVersion
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top